Re: A complicated thing?
alanglloyd_at_aol.com
Date: 03/28/05
- Next message: Achu: "Delphi 2005 (Dot Net 2.0)"
- Previous message: alanglloyd_at_aol.com: "Re: Moving rectangle around StringGrid"
- In reply to: Geir Baardsen: "A complicated thing?"
- Next in thread: Geir Baardsen: "Re: A complicated thing?"
- Reply: Geir Baardsen: "Re: A complicated thing?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Mar 2005 06:48:19 -0800
Store the week number in the TRadioGroup.Items.Objects array. Each
element of the array can store any 4-byte number (the size of a TObject
which the array elements are typed as). You must typecast the
weeknumber to a TObject when storing it - ...
MyRadioGroup.Items.Objects[i] := TObject(WeekNumber);
Similarly typecast it back to an integer (or whatever type your
weeknumber is) when you retrieve the value ...
SelectWeekNumber :=
integer(MyRadioGroup.Items.Objects[MyRadioGroup.ItemIndex])
Alan Lloyd
- Next message: Achu: "Delphi 2005 (Dot Net 2.0)"
- Previous message: alanglloyd_at_aol.com: "Re: Moving rectangle around StringGrid"
- In reply to: Geir Baardsen: "A complicated thing?"
- Next in thread: Geir Baardsen: "Re: A complicated thing?"
- Reply: Geir Baardsen: "Re: A complicated thing?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|