Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enable/disable push button
Message
From
21/10/1996 16:51:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Enable/disable push button
Miscellaneous
Thread ID:
00010674
Message ID:
00010674
Views:
89
I have been unable to determine where and how to enable/disable push buttons on a screen.

I have a program which has:
DO myscreen.spr

On the screen myscreen several push buttons need to be enabled depending upon whether some records exist.

I've tried this code:
SELECT TCursor
IF RECCOUNT() > 0
SHOW GET mButton ENABLE
ENDIF

in several places including,
before the DO myscreen.spr
after the DO myscreen.spr

in myscreen.spr Seup snippet,

but none works.

Kim
Next
Reply
Map
View

Click here to load this message in the networking platform