Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enter Key
Message
 
To
02/02/1999 16:18:56
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00182988
Message ID:
00183168
Views:
18
>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.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform