Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to close a Browse (programmatically)?
Message
De
23/02/2004 16:47:39
 
 
À
23/02/2004 10:31:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00879763
Message ID:
00880084
Vues:
28
>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
Peter Robinson ** Rodes Design ** Virginia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform