Author: John
Posted: 2009-08-10 at 00:10:56
On Sunday 09 August 2009 07:39:10 pm Manoharan Durga wrote:
> I have a form in which there is a button. During data entry, I don't
> want the focus shifting automatically to this button, but if it is
> clicked with mouse, then the function given in its onHit event should
> occur. So, I have made the button visible and enabled, but how to stop
> it getting the focus.
>
> From the wiki, I could figure out that it is the TabStop property of
> the button. And, probably, we need to set this in the afterInitAll()
> property of the Form. "myButton.TabStop = False" did not work.
>
> Can someone help?
>
> Manoharan
Hmmm it works for me when I set the property at the time of creation. But I
did notice it's not a property in the ClassDesigner.
Johnf