Re: [MSEide-MSEgui-talk] stringgrid / fixcols

2018-08-22 Thread Martin Schreiber
On Wednesday 22 August 2018 14:27:18 fredvs wrote:
> > I cannot figure out how to set a value into the "fixcols" data cell.
>
> I use this:
> thegrid.fixcols[-1].captions[5] := inttostr(5);
>
Numeric captions can also be achieved by setting .fixcols[-n].numstart 
and numstep.

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] stringgrid / fixcols

2018-08-22 Thread fredvs
> I cannot figure out how to set a value into the "fixcols" data cell. 

I use this:
thegrid.fixcols[-1].captions[5] := inttostr(5);

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] stringgrid / fixcols

2018-08-21 Thread Patrick Goupell

Ignore, I figured it out.


On 08/21/2018 08:05 PM, Patrick Goupell wrote:
in a stringgrid I can set datacols by coding "sgFix.datacols [i][j] := 
'some text;"


I cannot figure out how to set a value into the "fixcols" data cell.

What would be the correct pascal coding to set a text value into fixed 
column 1 at datacols row 5?


Thank you.




--
Patrick Goupell

Are you free?  Find out at http://www.sedm.org/
Income taxes?  Find out at http://www.whatistaxed.com


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] stringgrid / fixcols

2018-08-21 Thread Patrick Goupell
in a stringgrid I can set datacols by coding "sgFix.datacols [i][j] := 
'some text;"


I cannot figure out how to set a value into the "fixcols" data cell.

What would be the correct pascal coding to set a text value into fixed 
column 1 at datacols row 5?


Thank you.


--
Patrick Goupell

Are you free?  Find out at http://www.sedm.org/
Income taxes?  Find out at http://www.whatistaxed.com


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk