FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Can we modify class #DEFINE
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Can we modify class #DEFINE
Posted: Tue Dec 29, 2015 08:02 PM

In the class for tget, we have the following:

define COLOR_GRAYTEXT 17

I realize this is a Windows standard. It is used when displaying a Read Only field.

Some of my clients say it is too hard to read. So normally, I take the tget.prg, modify the value to 1, and link that into the application. However, anytime there are changes to tget.prg I have to copy over the new source, modify it, and then re-link. With all of the changes that come along, that is an annoying task.

So, is there anyway I can setup the MAIN.prg to use the value I want and ignore the #define in the class ?

I've asked this in the past and there wasn't, but just in case something changed .... Thank You.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Can we modify class #DEFINE
Posted: Tue Dec 29, 2015 08:27 PM

Tim,

We can change it into a CLASSDATA.

We will implement it for FWH 15.12

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Can we modify class #DEFINE
Posted: Tue Dec 29, 2015 08:31 PM

That would be helpful. I have no problem myself but the one client ( and others will follow ) use older monitors and they are quite picky.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Can we modify class #DEFINE
Posted: Tue Dec 29, 2015 08:31 PM

done :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Can we modify class #DEFINE
Posted: Tue Dec 29, 2015 08:43 PM

The other problem, however, is the xbrowse column auto sizing issue that I found in 15.10. I had to revert that program back to 15.06 and it works perfectly. So hopefully I can find the problem for that before 15.12. Exact same code is fine with .06, but scrunches columns in 15.10. I will test it shortly in 15.11

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit

Continue the discussion