Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement