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 _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
