Author: Manoharan Durga
Posted: 2009-08-09 at 22:39:10
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