Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
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)
Today is November 21, 2024, 3:49 am This article has been viewed 35388 times. Google search has resulted in 21 hits on this article since January 25, 2004.
|
|