Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting a line in a grid-display problem
Message
De
15/10/1998 23:36:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00146988
Message ID:
00147346
Vues:
25
>What is the rule of thumb for when to use a NODEFAULT? I find myself using it on a trial & error basis. Is there logic to it's use?

It's pretty confusing, because it's different for different controls and different events. The difficulty comes in determing what native behavior can be suppressed with NODEFAULT. There are a few key methods to remember that you can use NODEFAULT. I won't be able to give you a complete list, but the ones that come to mind are:
Grid.BeforeRowColChange (prevents the focus moving from one cell to another)
Control.KeyPress (prevents that controls from processing the keystroke)
Form.QueryUnload (prevents the form closing when the user clicks the 'x')

>
>Also what can you tell me about programmatically opening a combobox dropdown on entry?
>I didn't get the thing to work with a downclick in the setfocus.
>

put:

KEYBOARD '{ALT DNARROW}'

in the control's gotfocus event.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform