Suggestion for buttonbar

Post Reply
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Suggestion for buttonbar

Post 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
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Post 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
Post Reply