Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enable/disable push button
Message
From
21/10/1996 20:06:20
 
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00010674
Message ID:
00010687
Views:
28
>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

Hi, Kim !
Put your code in the Read Level WHEN snippet.

Nelson
Previous
Reply
Map
View

Click here to load this message in the networking platform