ButtonBar 3D

ButtonBar 3D

Postby nageswaragunupudi » Sun Oct 14, 2007 9:45 pm

The new button bars with 2007 look great. For a while going back to the old 3d style button bars I noticed a small problem.

If we normally define a button bar as "DEFINE BUTTONBAR oBar OF oWnd SIZE 60,60 3D", it is working. But if we try the following code :
Code: Select all  Expand view  RUN
DEFINE BUTTONBAR oBar OF oWnd SIZE 60,60
oBar:l3D := .T.

I am getting this kind of appearance.

Image

I noticed this when I was writing code for conditional use of 2007 style depending on the ColorsQty(). Though right now, I am getting what I want by coding in a different way, I feel that the button bars should paint correctly even for the above code
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10643
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Sun Oct 14, 2007 11:46 pm

You can not set that property later on. It has to be specified when you create the buttonbar:

oBar:l3D := .T.

If you want to use it or not, use two different sentences:

if lWant3D
DEFINE BUTTONBAR ... 3D
else
DEFINE BUTTONBAR ...
endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42103
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 90 guests