FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Xbrowse best way to change browse cols realtime
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Xbrowse best way to change browse cols realtime
Posted: Tue Aug 01, 2017 03:11 PM

I do not have any commercial software to sell.
But FWH undertakes custom commercial projects. As FWH Team member I help development in such cases.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Xbrowse best way to change browse cols realtime
Posted: Tue Aug 01, 2017 03:28 PM

In having Xbrowse most dynamic, I need one more solution :

I can select headers by :

  :SetGroupHeader( "Voorbereiding", oBrw[4]:oCol("T1"):nCreationOrder, oBrw[4]:oCol("M4"):nCreationOrder )

But I often refer to the database fields for changing colors.

Can I also use a Xbrowse own option for that ?

oBrw[3]:aCols[1]:bClrStd := { || IF( oRs:selection , { CLR_BLACK,CLR_HGREEN } , { CLR_HRED,CLR_WHITE } ) }

the oRs:selection should become the Xbrowse col, or header, or.... so that I don't have to use the field itself.

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Xbrowse best way to change browse cols realtime
Posted: Tue Aug 01, 2017 03:35 PM
nageswaragunupudi wrote:I do not have any commercial software to sell.
But FWH undertakes custom commercial projects. As FWH Team member I help development in such cases.


Is the source included in this kind of project ?

The purpose :

I looking into converting my FW16 to FWH. This can be done, have it partial working, but what I have learned last year with the help of this Forum is
that I don't like my old code a bit :-) . Everything can be done mutch better, easier, nicer,..... So starting from scratch would be best solution.
It is a private project, since i like to create my software by myself, kindy hobby, but start all over is to much work.
Therefore a working project with code as starting point would be perfect.
Ok, there a many samples, but more is needed.
Marc Venken

Using: FWH 23.08 with Harbour
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Xbrowse best way to change browse cols realtime
Posted: Tue Aug 01, 2017 04:56 PM
Marc,

I tested and added the nice sample to the sample-collector.

Because customers can change each month, You need a extra DBF.
Even for the same customer the quantum of accomplishments can be different each month.

The test ( included in another existing sample )



regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Xbrowse best way to change browse cols realtime
Posted: Tue Aug 01, 2017 05:26 PM
Marc Venken wrote:
nageswaragunupudi wrote:I do not have any commercial software to sell.
But FWH undertakes custom commercial projects. As FWH Team member I help development in such cases.


Is the source included in this kind of project ?

The purpose :

I looking into converting my FW16 to FWH. This can be done, have it partial working, but what I have learned last year with the help of this Forum is
that I don't like my old code a bit :-) . Everything can be done mutch better, easier, nicer,..... So starting from scratch would be best solution.
It is a private project, since i like to create my software by myself, kindy hobby, but start all over is to much work.
Therefore a working project with code as starting point would be perfect.
Ok, there a many samples, but more is needed.


Yes. Full source code will be provided.
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion