Code: Select all
DEFINE BUTTONBAR oBar OF oWnd _3D
DEFINE BUTTON OF oBar NAME 169 ACTION oWnd:end() MESSAGE "Quit" WHEN !lMenuLock
I have tried oBtn:refresh() etc. but can't make this work.
Thanks for the help!
G
Code: Select all
DEFINE BUTTONBAR oBar OF oWnd _3D
DEFINE BUTTON OF oBar NAME 169 ACTION oWnd:end() MESSAGE "Quit" WHEN !lMenuLock
Yes, it should do that.James Bott wrote:Enrico,
oBar:AEvalWhen()
What exactly does that do? Does it reevaluate the WHEN clauses for every button on the bar?
James