I have a similar case in one of the applications I work but instead of
referring to the name I use the Tag property of each component. (you can
subclass your components and add another property if you don't like to use
the tag property)
    On the form I have checkboxes, Radio Groups and combos, (they are not
DB). the tag properties of those components contain numerical codes (primary
keys in a table), when I launch this form I scan all the components on the
form, according to the code and I load the captions and values from the
database table and assign to the components.

    This way I have my settings form initialized.

    Names are significant to components, I rather keep them


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] Behalf
Of So Ing
Sent: Monday, December 05, 2005 10:08 AM
To: [email protected]
Subject: [delphi-en] using number as component's name ( like in VB )


can I have delphi components / object which name is number(integer) ? like a
VB?
  or I have to make another new class?
  or there is another way to trick this?

  actually I make a school project that use a lot of checkbox
  and it is very tiresome to fill each checkbox manually
  so if I have a component name that using a number then I can use an
iteracy to fill all the checkboxes

  thanks a lot


---------------------------------
Yahoo! DSL Something to write home about. Just $16.99/mo. or less

[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]



SPONSORED LINKS C programming language  Computer programming languages  Java
programming language
      The c programming language  C programming language  Concept of
programming language


----------------------------------------------------------------------------
----
YAHOO! GROUPS LINKS

  a..  Visit your group "delphi-en" on the web.

  b..  To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]

  c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


----------------------------------------------------------------------------
----





[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to