[Lazarus] SetFocus have no effect after TCustomForm.Show
Zeljko
zeljko at holobit.net
Fri Oct 16 13:14:30 CEST 2015
On 10/16/2015 12:25 PM, Gabor Boros wrote:
> Hi All,
>
> The attached example works on Windows properly. But not with Linux Qt
> (KDE4). I want to see the green form above Form2 while Form2.Edit1
> focused. (Press btnForm2 on Form1 and press Button1 on Form2.) If focus
> Edit1 manually the green form go under Form2. I reported some problem
> earlier as bug in the tracker but revealed just lack of my knowledge.
> Now try this place first...
You can set FormStyle := fsStayOnTop for that popup form so you'll
achieve that effect.
zeljko
More information about the Lazarus
mailing list