Please I would like to know how I could leave a browse window with a ENTER Key push. I always been leaving browse window with ESCAPE, but in the application I am desingning need to leave with ENTER. Thanks
Note that if this is an updatable BROWSE, then if the current field was changed, an ESCAPE (whether actually pushed or from an OKL) will cause the value to revert.
If you do not like to use escape values
on key label ENTER keyboard "{CTRL+W}" David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644
Snowsan,
To gain heaps more control over your browses, I first create a window to display them in. (Usinging DEFINE WINDOW....)
Then, I set up a procdure, called something linke BROWSEL (for Browes with selection), just before the brows, I add an ON KEY LABEL ENTER DO BROWSEL, or ON KEY LABEL LEFTMOUSE do BROWSEL
This allows me to control the brows with double click from Left mouse, a more natural way of selecting from browses then the Enter Key.
Then, when all is said and done, when you want the BROWSE to close, simply issue:
RELEASE WINDOW <windowname>, and it all goes away! This also allows you a nice, clean way to put titles (even dynamic titles) in your browse windows.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.