Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to close a Browse (programmatically)?
Message
 
 
To
23/02/2004 16:47:39
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00879763
Message ID:
00880129
Views:
16
>>For the programmer, BROWSE is a great "quick-and-dirty" solution, especially for debugging. For the end-user, BROWSE should generally be substituted by a grid, which gives you more control.
>
>If I name the Browse I can handle it as a Grid. If I used an explicit grid would I then have a way to close it programmatically (other than closing the window as Dragan suggested)? What advantages would a grid control give me?
>
>I like the BROWSE because it uses all of the available screen realestate without taking up any space when it is not in use.
>
>
>>Also, ESC to select something is quite contrary to the standard user-interface users are accustomed elsewhere. You should use ENTER to select a record (alternative: click on "Accept"), and ESC to cancel a selection (the receiving program should check for an empty value, which it will receive in this case).
>
>As I said I have been using this approach for years and none of the hundreds of users have ever complained about pressing Escape. Actually a lot of them click on the X (close button) anyway.
>
>I understand your esthetic objections but what are the practial problems?
>
>Peter

How about SendKey? See examples of this function here.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform