Xbrowse best way to change browse cols realtime

Re: Xbrowse best way to change browse cols realtime

Postby nageswaragunupudi » Tue Aug 01, 2017 3: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
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Xbrowse best way to change browse cols realtime

Postby Marc Venken » Tue Aug 01, 2017 3: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.04 with Harbour
User avatar
Marc Venken
 
Posts: 1425
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Xbrowse best way to change browse cols realtime

Postby Marc Venken » Tue Aug 01, 2017 3: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 :oops: . 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.04 with Harbour
User avatar
Marc Venken
 
Posts: 1425
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Xbrowse best way to change browse cols realtime

Postby ukoenig » Tue Aug 01, 2017 4: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 )

Image

regards
Uwe :D
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Xbrowse best way to change browse cols realtime

Postby nageswaragunupudi » Tue Aug 01, 2017 5: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 :oops: . 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
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 39 guests