[Lazarus] Prevent focus losing
Valdas Jankūnas
skroblas at erdves.lt
Mon Aug 25 21:10:05 CEST 2008
Gabor Boros rašė:
> Hi,
>
> Why not use CustomEdit1.SetFocus in CustomSpeedButton1.Click?
>
> Gabor
>
>> Hello,
>>
>> situation: I have TCustomEdit and TCustomSpeedButton; when focus is in
>> edit and I press speed button then edit loses focus.
>> How to prevent losing focus when I press speed button?
This is workaround, thanks for suggestion.
Another question: how is implemented focus grabbing in TCustomButton,
is there way to disable focus grabbing in TSpeedButton?
--
Valdas Jankūnas
More information about the Lazarus
mailing list