Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using \! or \? with picture command buttons
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00031687
Message ID:
00031689
Vues:
42
>Is there a way (within FPW2.6 or with something like GENSCRNX) to use the \! or \? options on a command button whose prompt is a .BMP? I would like the Close button to fire when the user press Esc, but when I precede the .BMP filename with \? I get an error.
>
>What can I do?
>
>TIA

Try
In Setup section
PUSH KEY CLEAR
ON KEY LABEL Esc DO closewin
where
PROCEDURE closewin
_curobj = OBJNUM(m.closebuttonvarname)
KEYBOARD "{Enter}" PLAIN

Remeber to POP KEY in the Cleanup section.
HTH,
Sorin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform