Problem with xHabour/Dbutton

Problem with xHabour/Dbutton

Postby vilian » Wed Nov 09, 2005 2:21 am

hi,

When use dbuttons with clause WHEN the figure is shown with a deep black color! The problem alone appears in buttons that it has a specified clause WHEN.

Sds,
Vilian F. Arraes
User avatar
vilian
 
Posts: 977
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Postby Antonio Linares » Fri Nov 11, 2005 10:18 am

Vilian,

If WHEN returns false, then the control is painted as disabled, that may be the reason why it looks different.

You may modify class DButton to avoid painting the control in a different way if it is disabled.
regards, saludos

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

Postby vilian » Fri Dec 02, 2005 2:30 pm

Antonio,

Already I obtained to identify that the problem is in the function hPalBitmapDraw() that in Windows XP is painting missed the figure of the button, but does not know where to find this function! You can help me?

thanks,
Vilian F. Arraes
vilian@vfatec.com.br
User avatar
vilian
 
Posts: 977
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

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