Re: [Lazarus] Dynamic Form Components - SynEdit Help Please...

2016-10-03 Thread Martin Collins via Lazarus
I understand now you've explained it and again slap my face in stupidity. Thank you very much indeed. Much appreciated. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Dynamic Form Components - SynEdit Help Please...

2016-10-03 Thread Martin Collins via Lazarus
Thanks very much. I was googling about dynamically created components and that led me down the path of RTTI, to the point I became confused. Why I didn't see your answer makes me slap my face in stupidity. Thank you very much for your help. Much appreciated. Martin -- _

Re: [Lazarus] Dynamic Form Components - SynEdit Help Please...

2016-10-03 Thread Martin Frb via Lazarus
See mail from Mattias. On 03/10/2016 22:17, Martin Collins via Lazarus wrote: If IsPublishedProp(Comp, 'Lines') then begin PropInfo := GetPropInfo(Comp, 'Lines', [tkClass]); SynEdit.Lines is TStrings, not TStringList. HTMLFile := TStringList(GetObjectProp(Comp, Pr

Re: [Lazarus] Dynamic Form Components - SynEdit Help Please...

2016-10-03 Thread Mattias Gaertner via Lazarus
On Mon, 3 Oct 2016 22:17:05 +0100 Martin Collins via Lazarus wrote: >[...] You didn't wrote, why you need RTTI. Simply access the TSynEdit: procedure TMainForm.SaveSynEdit(ThisPage: Integer); var HTMLFile: TStringList; Filename: String; Comp : TComponent; PropInfo: PPropInfo; aSy

[Lazarus] Dynamic Form Components - SynEdit Help Please...

2016-10-03 Thread Martin Collins via Lazarus
I apologise for emailing but need a little bit of help please. Creating form components dynamically is a new area of pascal programming for me and I have become stuck. My application is supposed to be an editor that can open multiple files for editing. I have a page control and when opening a

Re: [Lazarus] TPageControl OnChange calling issue

2016-10-03 Thread Bart via Lazarus
On 10/3/16, Michael W. Vogel via Lazarus wrote: OT reply: I can't see you on contributors list? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] TPageControl OnChange calling issue

2016-10-03 Thread Bart via Lazarus
On 10/3/16, Michael W. Vogel via Lazarus wrote: > If I understand Bart right, he had a fix for that bug report, Not yet ;-) Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] TPageControl OnChange calling issue

2016-10-03 Thread Michael W. Vogel via Lazarus
Am 03.10.2016 um 19:34 schrieb Ondrej Pokorny via Lazarus: Isn't TTabSheet.OnShow enough for you? Ondrej Interesting approach! I've just tested it in one of my apps and yes, it seems to work too. So this could be a obviously better solution for me. Thank you for that hint! Kind regards M

Re: [Lazarus] TPageControl OnChange calling issue

2016-10-03 Thread Ondrej Pokorny via Lazarus
On 03.10.2016 19:01, Michael W. Vogel via Lazarus wrote: Hi, we want to discuss a bug report http://bugs.freepascal.org/view.php?id=25554 here, not in Mantis (hope, I understand Bart right). Today, the TPageControl.OnChange event behave different in Lazarus than in Delphi. In Delphi it is o

[Lazarus] TPageControl OnChange calling issue

2016-10-03 Thread Michael W. Vogel via Lazarus
Hi, we want to discuss a bug report http://bugs.freepascal.org/view.php?id=25554 here, not in Mantis (hope, I understand Bart right). Today, the TPageControl.OnChange event behave different in Lazarus than in Delphi. In Delphi it is only called (so the bug report), if the user change the pa

Re: [Lazarus] Plivo API

2016-10-03 Thread Mattias Gaertner via Lazarus
On Mon, 3 Oct 2016 08:36:03 +0200 duilio foschi via Lazarus wrote: > Hi Mattias, > > your code shows what Plivo probably does :) Sorry. I misunderstood. I don't know if TFPHttpServer already supports HTTPS. Mattias -- ___ Lazarus mailing list Lazaru