Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #443

Re: Newbie question about nested subroutines

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From "Thorsten Albers" <gudea@gmx.de>
Newsgroups comp.lang.basic.visual.misc
Subject Re: Newbie question about nested subroutines
Date Thu, 6 Oct 2011 23:16:49 +0000 (UTC)
Organization Albert-Ludwigs-Universität Freiburg
Lines 18
Message-ID <01cc847e$07167600$6d01a8c0@k8s8x> (permalink)
References <4e8df7f8$1@dnews.tpgi.com.au>
Injection-Date Thu, 6 Oct 2011 23:16:49 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="T5+68w4t6in4f9/zjMceEw"; logging-data="8289"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182sPrz2+IpqyAOHVX78JSi"
X-Newsreader Microsoft Internet News 4.70.1155
Cancel-Lock sha1:Rn805RNZ+JcyX4tw5RuzND9xk9I=
Xref x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:443

Show key headers only | View raw


Dimmer <Dimmer@Best.com> schrieb im Beitrag
<4e8df7f8$1@dnews.tpgi.com.au>...
> The above all works fine. It's just that I want to avoid typing it all
out 
> again and again with different values for the LabelNo, TextNo, and 
> PriorTextNo. 

Either use the code of Bob or use control arrays. A control array is an
array of controls of the same control type in which all controls have the
same name but a different index number. To create a control array put the
control on a form and set its index property (usually to 0). With a control
array you have only _one_ event procedure for all controls of the array.

-- 
Thorsten Albers

gudea  at  gmx.de

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 05:48 +1100
  Re: Newbie question about nested subroutines "Bob Butler" <bob_butler@cox.invalid> - 2011-10-06 13:54 -0700
    Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 10:39 +1100
      Re: Newbie question about nested subroutines "Bob Butler" <bob_butler@cox.invalid> - 2011-10-06 16:54 -0700
        Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 11:34 +1100
  Re: Newbie question about nested subroutines "Access Developer" <accdevel@gmail.com> - 2011-10-06 16:05 -0500
    Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 10:41 +1100
      Re: Newbie question about nested subroutines "Access Developer" <accdevel@gmail.com> - 2011-10-06 22:49 -0500
  Re: Newbie question about nested subroutines "Thorsten Albers" <gudea@gmx.de> - 2011-10-06 23:16 +0000
    Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 11:36 +1100
      Re: Newbie question about nested subroutines ralph <nt_consulting64@yahoo.net> - 2011-10-06 23:58 -0500
        MZ Tools "Dimmer" <Dimmer@Best.com> - 2011-10-08 19:37 +1100
          Re: MZ Tools ralph <nt_consulting64@yahoo.net> - 2011-10-08 10:53 -0500
    Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 12:15 +1100
    Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-07 12:32 +1100
      Re: Newbie question about nested subroutines "Bob Butler" <bob_butler@cox.invalid> - 2011-10-06 19:28 -0700
        Re: Newbie question about nested subroutines Deanna Earley <dee.earley@icode.co.uk> - 2011-10-07 09:17 +0100
          Re: Newbie question about nested subroutines ralph <nt_consulting64@yahoo.net> - 2011-10-07 10:26 -0500
            Re: Newbie question about nested subroutines Deanna Earley <dee.earley@icode.co.uk> - 2011-10-07 17:34 +0100
              Re: Newbie question about nested subroutines Deanna Earley <dee.earley@icode.co.uk> - 2011-10-07 17:37 +0100
              Re: Newbie question about nested subroutines ralph <nt_consulting64@yahoo.net> - 2011-10-07 12:04 -0500
            Re: Newbie question about nested subroutines "Dimmer" <Dimmer@Best.com> - 2011-10-08 05:32 +1100
              Re: Newbie question about nested subroutines ralph <nt_consulting64@yahoo.net> - 2011-10-07 14:30 -0500

csiph-web