Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using \! or \? with picture command buttons
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00031687
Message ID:
00031689
Views:
40
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform