`
ABC: Disable button if no records in browse 1998-07-12 -- Jeff Slarve Newsgroups: comp.lang.clarion
>I placed a button on a browse form and what to disable it when there are
>no records in the browse. What code will do this and what event should I
>place this in? I'm using C4 with ABC templates.
In the browse.UpdateWindow() method, priority(last):
?YourButton{PROP:Disable}=Choose(Self.Records()<>0,0,1)
Printed October 25, 2026, 12:46 am This article has been viewed/printed 36327 times. Google search has resulted in 21 hits on this article since January 25, 2004. |