I have reviewed the sample xBrprogb.prg and am trying to adapt a progress bar to xBrowse. I can not seem to adapt the object code for the new column:
- Code: Select all Expand view
WITH OBJECT oBrw:Age
:cHeader := 'Percent'
:SetProgBar( 100, 104, { || { nProgClr, CLR_WHITE } } )
:nDataStrAlign := AL_RIGHT
END
I want to be able to add a new column 10 using the syntax
- Code: Select all Expand view
ADD oCol TO oBrw AT 10 ...
Also .. I do not seem to understand the SetProgBar( 100, 104 ... What do these values represent ?
The progress bar will actually be the value between a "Start Date", "End Date" and the percentage complete by Date()
Thanks
Rick Lipkin