Re: [Lazarus] Kitto2 for Rich Internet Applications

2017-09-28 Thread Michael Van Canneyt via Lazarus



On Thu, 28 Sep 2017, Marcos Douglas B. Santos via Lazarus wrote:


On Thu, Sep 28, 2017 at 10:43 AM, Michael Van Canneyt via Lazarus
 wrote:



On Thu, 28 Sep 2017, Marcos Douglas B. Santos via Lazarus wrote:


Hi,

I would like to know if anybody here has already used Kitto2
https://github.com/EtheaDev/kitto2
This project used or was based on the old ExtPascal.

My question is because this project compiles only in Delphi and maybe
somebody here has already ported to FPC or thought on it.

I opened an issue there https://github.com/EtheaDev/kitto2/issues/2 about
this.



Kitto2 is a dead end, just as ExtPascal was.


They removed ExtPascal from it... but I've never tried Kitto2.


What I meant is that I believe the architecture is simply wrong.


Nevertheless, now that Embarcadero embraced it, I doubt they will consider
porting to FPC.


The author have no objections...
But if you say that FPC already has something better (December,
right?), I'll choose fcl-web, of course.


I believe it is better, yes.

We managed to convince a major component developer of this, 
so we're not alone in this belief :)


Michael.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Kitto2 for Rich Internet Applications

2017-09-28 Thread Marcos Douglas B. Santos via Lazarus
On Thu, Sep 28, 2017 at 10:43 AM, Michael Van Canneyt via Lazarus
 wrote:
>
>
> On Thu, 28 Sep 2017, Marcos Douglas B. Santos via Lazarus wrote:
>
>> Hi,
>>
>> I would like to know if anybody here has already used Kitto2
>> https://github.com/EtheaDev/kitto2
>> This project used or was based on the old ExtPascal.
>>
>> My question is because this project compiles only in Delphi and maybe
>> somebody here has already ported to FPC or thought on it.
>>
>> I opened an issue there https://github.com/EtheaDev/kitto2/issues/2 about
>> this.
>
>
> Kitto2 is a dead end, just as ExtPascal was.

They removed ExtPascal from it... but I've never tried Kitto2.

> Nevertheless, now that Embarcadero embraced it, I doubt they will consider
> porting to FPC.

The author have no objections...
But if you say that FPC already has something better (December,
right?), I'll choose fcl-web, of course.

(and I do not saying that I will use Kitto2... was just to know)

Best regards,
Marcos Douglas
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Kitto2 for Rich Internet Applications

2017-09-28 Thread Michael Van Canneyt via Lazarus



On Thu, 28 Sep 2017, Marcos Douglas B. Santos via Lazarus wrote:


Hi,

I would like to know if anybody here has already used Kitto2
https://github.com/EtheaDev/kitto2
This project used or was based on the old ExtPascal.

My question is because this project compiles only in Delphi and maybe
somebody here has already ported to FPC or thought on it.

I opened an issue there https://github.com/EtheaDev/kitto2/issues/2 about this.


Kitto2 is a dead end, just as ExtPascal was.

Nevertheless, now that Embarcadero embraced it, I doubt they will consider
porting to FPC.

Michael.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Kitto2 for Rich Internet Applications

2017-09-28 Thread Marcos Douglas B. Santos via Lazarus
Hi,

I would like to know if anybody here has already used Kitto2
https://github.com/EtheaDev/kitto2
This project used or was based on the old ExtPascal.

My question is because this project compiles only in Delphi and maybe
somebody here has already ported to FPC or thought on it.

I opened an issue there https://github.com/EtheaDev/kitto2/issues/2 about this.

Best regards,
Marcos Douglas
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] MainMenu dropped to the left, Win bug?

2017-09-28 Thread Denis Kozlov via Lazarus

On 28/09/2017 13:35, Alexey via Lazarus wrote:

User reported this bug here:

https://github.com/Alexey-T/CudaText/issues/1101


Maybe a "handedness" setting?

https://www.top-password.com/blog/fix-windows-10-opens-right-click-context-menu-to-left-side/

Denis
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] MainMenu dropped to the left, Win bug?

2017-09-28 Thread Michael Van Canneyt via Lazarus



On Thu, 28 Sep 2017, Alexey via Lazarus wrote:


User reported this bug here:

https://github.com/Alexey-T/CudaText/issues/1101


That can happen if OS decides there is not enough room on the right ?

Michael.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] MainMenu dropped to the left, Win bug?

2017-09-28 Thread Alexey via Lazarus

User reported this bug here:

https://github.com/Alexey-T/CudaText/issues/1101

--
Regards,
Alexey

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] fpReport - can not render pagefooter

2017-09-28 Thread Michael Van Canneyt via Lazarus



On Thu, 28 Sep 2017, Andrea Mauri via Lazarus wrote:


Il 28/09/2017 12:15, Michael Van Canneyt via Lazarus ha scritto:

Normally you can, but you will need to copy some additional units from the
trunk version of the FPC source repo (in particular, fpexprpars, and
fcl-pdf)

fpReport is in production use with 2.6.4 as the compiler.


I downloaded fcl-report, fcl-pdf, fpexprpars from FPC trunk and fpreport.
When I try to compile lclfpreport package I got:
cfgfpreportimageexport.pp(24,42) Fatal: Cannot find fpreport used by 
cfgfpreportimageexport of package lclfpreport.


Sounds like a misconfigured path.
Hard to debug, because there is also the 8.3 filename support that
interferes. How I cursed that while developing fpreport !! :/

Michael.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] fpReport - can not render pagefooter

2017-09-28 Thread Andrea Mauri via Lazarus

Il 28/09/2017 12:15, Michael Van Canneyt via Lazarus ha scritto:

Normally you can, but you will need to copy some additional units from the
trunk version of the FPC source repo (in particular, fpexprpars, and
fcl-pdf)

fpReport is in production use with 2.6.4 as the compiler.


I downloaded fcl-report, fcl-pdf, fpexprpars from FPC trunk and fpreport.
When I try to compile lclfpreport package I got:
cfgfpreportimageexport.pp(24,42) Fatal: Cannot find fpreport used by 
cfgfpreportimageexport of package lclfpreport.

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Why is OnShow not executed?

2017-09-28 Thread Vojtěch Čihák via Lazarus

Hi,
just tested, it is same in Delphi7. Refresh data manually in FormShow is one of 
correct ways.
 
V.
__

Od: frans via Lazarus 
Komu: lazarus@lists.lazarus-ide.org
Datum: 28.09.2017 12:20
Předmět: [Lazarus] Why is OnShow not executed?


Hi

I'm using Lazarus 1.6.4 on Windows. I have a Form with a TPageControl 
with 5 tabsheet components.

Every tab has his own OnShow procedure to set the latest data in the fields.
Every time the Form is shown I want the first tab to become visible. 
Therefore the FormShow calls tab0.Show.
The first time the form shows it goes as I expect, the tab0 OnShow 
procedure is called and the data is set.
But when I close the form while showing the tab0, and then later opens 
it again, the FormShow is executed but tab0 OnShow is not. Apparently 
the program 'sees' that tab0 is already shown, so executing tab0.Show is 
not necessary. Is this as it should be?
To always execute the tab0 OnShow procedure I must call this directly. 
Is this the correct way?


--
mvg
Frans van Leeuwen
M 06-51695390


---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com 

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus 


-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Why is OnShow not executed?

2017-09-28 Thread frans via Lazarus

Hi

I'm using Lazarus 1.6.4 on Windows. I have a Form with a TPageControl 
with 5 tabsheet components.

Every tab has his own OnShow procedure to set the latest data in the fields.
Every time the Form is shown I want the first tab to become visible. 
Therefore the FormShow calls tab0.Show.
The first time the form shows it goes as I expect, the tab0 OnShow 
procedure is called and the data is set.
But when I close the form while showing the tab0, and then later opens 
it again, the FormShow is executed but tab0 OnShow is not. Apparently 
the program 'sees' that tab0 is already shown, so executing tab0.Show is 
not necessary. Is this as it should be?
To always execute the tab0 OnShow procedure I must call this directly. 
Is this the correct way?


--
mvg
Frans van Leeuwen
M 06-51695390


---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] fpReport - can not render pagefooter

2017-09-28 Thread Michael Van Canneyt via Lazarus



On Thu, 28 Sep 2017, Andrea Mauri via Lazarus wrote:


Il 27/09/2017 12:50, Graeme Geldenhuys via Lazarus ha scritto:

ps:
  Note that I compiled your project using the latest fpReport from
  FPC Trunk. I simply set the correct Unit Source Path in the project.
  You don't need to use FPC Trunk compiler - I used FPC 2.6.4.


What are the minimum requirements to use fpreport?
Can I use it with laz 1.6.2 and fpc 3.0.0?
I downloaded both fcl-report and fpreport.
I tried to install fpreport but I failed.


Normally you can, but you will need to copy some additional units from the
trunk version of the FPC source repo (in particular, fpexprpars, and fcl-pdf)

fpReport is in production use with 2.6.4 as the compiler.

Michael.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Converting all code to use UnicodeString

2017-09-28 Thread el es via Lazarus
On 27/09/17 09:16, Graeme Geldenhuys via Lazarus wrote:
> On 2017-09-27 03:51, Marcos Douglas B. Santos via Lazarus wrote:
>> A constant that can change...
> 
> 
> Yeah, that concept still blows my mind. [figuratively speaking] They
> should shoot the developer that came up with that idea - and the team
> leader that approved it.
> 
> Regards, Graeme
> 

comp.compilers.free-pascal.social is leaking ;)

It dates back to when, Turbo Pascal ?
Late 1980s / Early 1990s ?

Imagine this:

Developer (thinking): "The rave was great last weekend, still feeling the pain 
Thursday"
Developer: " we have this almost ready and this looks like a great idea"
Supervisor (thinking): "Ah the world's going to end next week anyway, who cares"
Supervisor: "OK, make it so"

;) 


-L.

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus