Hi Subhashini,

> Thanks Don. This i know. I want to create a function in
> a class which will take a control array as an argument.
>  
> For example LoadTextBox(xTextBox() as textbox)

Use a variant parameter in your function and test for variable types
when it comes in:

Function LoadTextBox( xTextBox )
  Debug.Print VarType( xTextBox )
End Function

If it's a textbox array then enumerate the elements as you would any
object array.

Alternatively, there's some really nifty object parameterization code on
Edanmo's site:
  http://mvps.org/emorcillo/
I believe it's in the tips section.

Regards,

Shawn K. Hall
http://12PointDesign.com/
http://ReliableAnswers.com/




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hap4dmg/M=362131.6882499.7825260.1510227/D=groups/S=1705115364:TM/Y=YAHOO/EXP=1123671734/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 


'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

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

<*> 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