Border around SAY defined in Resource

Border around SAY defined in Resource

Postby dpaterso » Sun Feb 12, 2006 12:00 pm

Does anyone know how to draw a border around a SAY that is defined as a resource.

I am using BRW and the GETs that are defined as resources have a very neat flat blue border around them when displayed from FWH.

Is it possible to display the SAYs with the same flat blue border.

I have tried turning the border on for the resource in BRW (which translates to WS_BORDER in BRW) but when displayed from FWH there is indeed a border but it appears to be RECESSED or 3D and is not a flat blue line border (like the borders of the inputs of XHB Project Builder).

Also does anyone know the RGB colors used for the 'XP' BLUE BACKGROUND on the XHB Project Builder?

Regards,

Dale.
dpaterso
 
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa

Re: Border around SAY defined in Resource

Postby Enrico Maria Giordano » Sun Feb 12, 2006 3:44 pm

As an alternative you can use a disabled GET instead of a SAY.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby manuramos » Sun Feb 12, 2006 6:31 pm

Try to Draw lines and squares around it via oDlg:bPainted.
Use GetClientRect or something like this
Nos Gusta Programar
manuramos
 
Posts: 219
Joined: Mon Dec 26, 2005 7:25 pm
Location: Jerez de la Frontera (Spain)

Postby James Bott » Tue Feb 14, 2006 6:33 pm

Dale,

I am using BRW and the GETs that are defined as resources have a very neat flat blue border around them when displayed from FWH.

Is it possible to display the SAYs with the same flat blue border.


The problem is that if you do that, then the SAY looks just like a GET to the user. This would be confusing.

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


Return to FiveWin for Harbour/xHarbour

Who is online

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