General information
Category:
Forms & Form designer
>>Thanks for all the good advise. My ISP blew up and so I have been off line for the last 3 hours...
>>
>>Anyway, I checked one of my old apps, and found that the ENTER performed as expected:
>> - as the TAB key when the current focus is in a field, and;
>> - press the button when the current focus is on a button
>>
>>After much 'playing' I discovered what I think is a bug. In my INIT, I have a:
>> THISFORM.BTNWHATEVER.SETFOCUS
>>As expected when the screen is initially displayed the specified button has the 'dots' around the word that makes up its label and the button itself has a slight shadow. When I click on a field with the mouse (or use the TAB) the 'dots' go away (as anticipated) but the shadow stays (i.e. the button still has some type of focus).
>
>To clarify "some type of focus", it sounds to me like VFP is (incorrectly) setting that button's Default property to .T.
>
>FWIW.
All of the buttons on my test form have DEFAULT .F. set (by me). If I set one of the buttons to .T. the problem is not resolved. Therefore, it appears as though your assessment is correct.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only