Suggestion for buttonbar

Suggestion for buttonbar

Postby James Bott » Mon Oct 08, 2007 3:58 pm

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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby hua » Tue Oct 09, 2007 5:22 am

Thanks for the tip James. I've been wondering about how to get rid of this, to me, irritating behaviour. I second your suggestion
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 86 guests