FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Border around SAY defined in Resource
Posts: 142
Joined: Tue Jan 24, 2006 09:45 AM
Border around SAY defined in Resource
Posted: 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.

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Border around SAY defined in Resource
Posted: Sun Feb 12, 2006 03:44 PM

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

EMG

Posts: 219
Joined: Mon Dec 26, 2005 07:25 PM
Border around SAY defined in Resource
Posted: Sun Feb 12, 2006 06:31 PM

Try to Draw lines and squares around it via oDlg:bPainted.
Use GetClientRect or something like this

Nos Gusta Programar
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Border around SAY defined in Resource
Posted: Tue Feb 14, 2006 06: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
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion