Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default command button
Message
De
07/01/2000 15:34:54
 
 
À
07/01/2000 11:53:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00314543
Message ID:
00314706
Vues:
20
>Hi Jerry,
>
>>Should that happen? I would like nothing to happen when Enter is pressed on page1. I would think that pressing Enter would only call page2 command button when I am on page2.
>
>In the click event of the Default button try:
>
>
if this.parent.parent.activepage = 2 &&We're on Page2
>     &&Do normal sutff
>endif
>Thisform.refresh()
Better, change the .Default property of the button as appropriate - set it true in the page's Activate event, and .f. in the page's Deactivate event. this would allow each page to have its own .Default action
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform