Page 1 of 1

Suggestion for buttonbar

Posted: Mon Oct 08, 2007 3:58 pm
by James Bott
Antonio,

Currently TButtonbar:blClicked is undefined when the bar is defined. When you left-click on the buttonbar it depresses like a button--rather undesirable. I find that if you do this:

oBar:blClicked:={|| .t. }

It doesn't depress anymore. It works the same if you return false. It would be nice if blClicked was defined by default in the class we don't have to remember to always do it.

Regards,
James

Posted: Tue Oct 09, 2007 5:22 am
by hua
Thanks for the tip James. I've been wondering about how to get rid of this, to me, irritating behaviour. I second your suggestion