Thanks. hmmm. most of my options will be checkboxes.
But still, if you could email it to me that would be good.

Jeremy

-----Original Message-----
From: "Neven MacEwan" <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Wed, 2 Oct 2002 10:20:08 +1200
Subject: Re: [DUG]:  Checkbox

> J
> 
> if Checkbox10 is a component of a form then use the components
> collection of
> the form to find it
> and then use the RTTI (Typinfo) functions to get and set it
> 
> This is an excerpt of RTTI gets easier by By Bill Todd (I can email it
> to
> you)
> 
> "The use of most of these functions is intuitive, but there are some
> exceptions. First, although there are many Boolean properties in the
> VCL,
> there are no functions to get and set Boolean properties. You can
> handle
> Boolean properties using GetVariantProp and SetVariantProp, as shown in
> Figure 1. Another alternative is to use GetOrdinalProp and
> SetOrdinalProp
> and use 0 to represent False or -1 to represent True. "
> 
> Neven
> 
> ----- Original Message -----
> From: "vss" <[EMAIL PROTECTED]>
> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
> Sent: Wednesday, October 02, 2002 9:24 AM
> Subject: RE: [DUG]: Checkbox
> 
> 
> > Ok, but how do I access the values? i.e. How do I read say
> > checkbox10...as an example to see if its checked or not?
> >
> >
> > -----Original Message-----
> > From: "Andreas Toth" <[EMAIL PROTECTED]>
> > To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
> > Date: Wed, 2 Oct 2002 09:05:49 +1200
> > Subject: RE: [DUG]:  Checkbox
> >
> > > If this is what you want to do then why not read/write all the
> > > components to
> > > a run-time DFM file? (Where you store this is up to you, but I
> > > personally
> > > would not clutter the registry with it.) After all, this support is
> > > already
> > > there without you having to write your own -- just look at
> > > WriteComponent
> > > for more information...
> > >
> > >
> > > -Andreas
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On
> > > Behalf Of Jeremy Coulter
> > > Sent: Wednesday, 2 October 2002 08:01
> > > To: Multiple recipients of list delphi
> > > Subject: RE: [DUG]: Checkbox
> > >
> > >
> > > Well, for some reason I didn not have RX tools installed her at
> home. I
> > > don't know why, but anyway, one reason I didn't want to use the RX
> > > stuff
> > > was, this project I am working on is prob. Going to be open source,
> > > which is ok, but I am trying to limit the number of 3rd party tools
> it
> > > requires.
> > > I actually ended up writing my own component like the RX one but
> its
> > > not
> > > quite as flash as the RX one, but functional all the same.
> > > What I want it for is a properties page where the user sets up what
> > > they
> > > want the app to look like etc. so saving specific properties like
> > > IndexItem, Value, text etc. of the components based on their type,
> is
> > > the best way to go.
> > >
> > > Jeremy
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On
> > > Behalf Of [EMAIL PROTECTED]
> > > Sent: Tuesday, 1 October 2002 16:46
> > > To: Multiple recipients of list delphi
> > > Subject: Re: [DUG]: Checkbox
> > >
> > >
> > > How about RxTools FormStorage as an option?
> > >
> > > > Hi All. Does anyone know of a checkbox control that lets you
> store
> > > its
> > > > value to the registry and retreive it?
> > > >
> > > > Cheers, Jeremy
> > > >
> > > > --------------------------------------------------------------
> > > > -------------
> > > >  New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> > > >  Website: http://www.delphi.org.nz
> > > > To UnSub, send email to: [EMAIL PROTECTED]
> > > > with body of "unsubscribe delphi"
> > > > Web Archive at:
> http://www.mail-archive.com/delphi%40delphi.org.nz/
> > > >
> > >
> -----------------------------------------------------------------------
> > > -
> > > ---
> > >     New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> > >                   Website: http://www.delphi.org.nz
> > > To UnSub, send email to: [EMAIL PROTECTED]
> > > with body of "unsubscribe delphi"
> > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> > >
> > >
> -----------------------------------------------------------------------
> > > ----
> > >     New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> > >                   Website: http://www.delphi.org.nz
> > > To UnSub, send email to: [EMAIL PROTECTED]
> > > with body of "unsubscribe delphi"
> > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> > >
> > >
> -----------------------------------------------------------------------
> > > ----
> > >     New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> > >                   Website: http://www.delphi.org.nz
> > > To UnSub, send email to: [EMAIL PROTECTED]
> > > with body of "unsubscribe delphi"
> > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> >
> >
> -----------------------------------------------------------------------
> ---
> -
> >     New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> >                   Website: http://www.delphi.org.nz
> > To UnSub, send email to: [EMAIL PROTECTED]
> > with body of "unsubscribe delphi"
> > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> >
> 
> -----------------------------------------------------------------------
> ----
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED] 
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to