Re: [Lazarus] Strange behaviour of TCustomEditButton ancesters

2016-03-12 Thread Martin Frb
On 12/03/2016 20:20, Frans wrote: I do understand what you mean, but I do not think that is th case. I send my test program, it's very simple. Did a quick test. When first time hit TForm1.TabSheet2Show FileNameEdit1.FEDIT.FBOUNDSREALIZED : record RECT { LEFT = 0, TOP = 0, RIGHT = 80,

Re: [Lazarus] Strange behaviour of TCustomEditButton ancesters

2016-03-12 Thread Martin Frb
On 12/03/2016 19:38, Frans wrote: Hi I use TFileNameEdit (but TDirectoryEdit acts the same) on the second tabsheet of a PageControl where it's the first control to receive focus. I set the focus manually in the method form.tabshow for the event OnShow. The first time I activate that tab,

[Lazarus] Strange behaviour of TCustomEditButton ancesters

2016-03-12 Thread Frans
Hi I use TFileNameEdit (but TDirectoryEdit acts the same) on the second tabsheet of a PageControl where it's the first control to receive focus. I set the focus manually in the method form.tabshow for the event OnShow. The first time I activate that tab, SetFocus has the effect as shown in