Re: [Lazarus] TCustomControl.Caption setter needs Invalidate

2017-07-29 Thread Ondrej Pokorny via Lazarus
On 30.07.2017 0:50, Alexey via Lazarus wrote: TCustomControl.Caption setter (ie TControl.SetText) misses Invalidate call. So, my ATButtons (ATButton based on CustomControl) miss visual update, when user changes app i18n. TCustomControl doesn't paint the caption so it doesn't need the Invalidat

Re: [Lazarus] TCustomControl.Caption setter needs Invalidate

2017-07-29 Thread Vojtěch Čihák via Lazarus
Hi,   you have to override one of these methods:   procedure RealSetText; override;  //this is done in TSpeedBtn or procedure TextChanged; override;  //this is what I do in some components of ECControl   and call Invalidate; (and inherited;) there.   V. ___

Re: [Lazarus] FCL DOM [vs] laz2_DOM, and more

2017-07-29 Thread Marcos Douglas B. Santos via Lazarus
On Sat, Jul 29, 2017 at 8:39 PM, Marcos Douglas B. Santos wrote: > Hi, > > Nowadays, we have full Unicode support in FPC. > So, my question is: The units bellow... below* Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https:

[Lazarus] FCL DOM [vs] laz2_DOM, and more

2017-07-29 Thread Marcos Douglas B. Santos via Lazarus
Hi, Nowadays, we have full Unicode support in FPC. So, my question is: The units bellow is still necessary to use XML with Lazarus or we can use just the original provided by FCL? laz2_DOM laz2_XMLRead laz2_XMLWrite laz2_XMLCfg laz2_XMLUtils laz_XMLStreaming See here http://wiki.lazarus.freepasc

[Lazarus] TCustomControl.Caption setter needs Invalidate

2017-07-29 Thread Alexey via Lazarus
TCustomControl.Caption setter (ie TControl.SetText) misses Invalidate call. So, my ATButtons (ATButton based on CustomControl) miss visual update, when user changes app i18n. -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] Breaking change

2017-07-29 Thread Sven Barth via Lazarus
Am 23.07.2017 12:50 schrieb "Michael Van Canneyt via Lazarus" < lazarus@lists.lazarus-ide.org>: > > Hello, > > I have fixed bug 28760: > > https://bugs.freepascal.org/view.php?id=28760 > > This will cause compilation of win32wsdialogs.pp to fail, in particular in > > class procedure TWin32WSOpenDia

Re: [Lazarus] TStatusBar initialization problem.

2017-07-29 Thread C Western via Lazarus
On 28/07/17 19:00, Donald Ziesig via Lazarus wrote: Hi Everyone! I am writing a new app that will use a StatusBar at the bottom of the main window (just like I have done many times in the past - with both Delphi and Lazarus). Strangely enough, even though I have nothing but the gui implement