Re: [DUG]: Grid Components..

1999-04-25 Thread pjones



Try

 grid.Columns.SaveToFile / LoadFromFile






"Darren Bilby" <[EMAIL PROTECTED]> on 25/04/99 01:28:41

Please respond to [EMAIL PROTECTED]

To:   Multiple recipients of list delphi <[EMAIL PROTECTED]>
cc:(bcc: Peter Jones/Logistics&Information
  Technology/Christchurch/Foodstuffs)
Subject:  [DUG]:  Grid Components..




I need a dbgrid that will allow me to save a users format, ie if they
resize
or re-organise the columns they will be that way the next time they restart
the app.

Anyone have some code, or know where I can get my hands on a decent
freeware
dbgrid component?


(UUEncoded file named: winmail.dat follows)

begin 644 winmail.dat
M>)\^(BH,`0:0"``$```!``$``0>0!@`(Y`0```#H``$(@`<`
M&$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V`!``"`@`"``$&
M@`,`#@```,\'!``9'```#P$!`Y`&`$P&```J"P`"``$+
M`",```,`)@``"P`I```+`"L```,`+@```P`V
M```>`'```0```"P```!213H@6T151UTZ("!!<'!L:6-A=&EO;B!V97)S:6]N
M(&EN9F]R;6%T:6]N``(!<0`!&P&^C\9ET)?YM1'2H"H`H,E9
MNJ0`(4JM(``"`1T,`0```!D```!33510.D1"24Q"64!#3$5!4BY.150N3EH`
M"P`!#@!```8.`,CDXTV.O@$"`0H.`0```!@`MOQB>RS4
MTA&3I`"`R.*F?&*%```+`!\.`0,`!A"/_ME#`P`'$,T>``@0`0``
M`&4```!)3D5%1$%$0D=224142$%45TE,3$%,3$]734543U-!5D5!55-%4E-&
M3U)-050L245)1E1(15E215-)6D5/4E)%+4]21T%.25-%5$A%0T],54U.4U1(
M15E724Q,0D542$%45T%9``(!"1`!80$``%T!``"T`0``3%I&=<-[
MS*L#``H`15!(!!`&(%S`W!O&^(!`!F0!;%K%3`'X'?7&B`)
M`=H",!%I4%H.QM
M%```!`0`>
M`"6`""`&``#`1@`XA0```0$`"P`H@`@@
M!@``P$8`@H4```$"`?@/`0```!"V_&)[+-32
M$9.D`(#(XJ9\`@'Z#P$0MOQB>RS4TA&3I`"`R.*F?`(!^P\!
M=0`XH;L0!>40&J&["``K*E;"``!04U104E@N1$Q,``!.
M251!^;^X`0"J`#?9;@```$,Z7$1Ahttp://www.delphi.org.nz



Re: [DUG]: Grid Components..

1999-04-24 Thread Stephen Barker

I do something like:

in the registry,
save grid width or height (depending on alignment)
save fieldname and column index position pairs.
save fieldwidths

restore settings on form show
save settings on form close

you may also want to save the form top,left,width,height properties as well
as panels or splitters etc.

It would be easy enough to descend from tdbgrid and add the column
saving/restoring stuff.


regards,

Steve.

-Original Message-
From: Darren Bilby <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Sunday, 25 April 1999 01:41
Subject: [DUG]: Grid Components..


>I need a dbgrid that will allow me to save a users format, ie if they
resize
>or re-organise the columns they will be that way the next time they restart
>the app.
>
>Anyone have some code, or know where I can get my hands on a decent
freeware
>dbgrid component?
>

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz