I'm not really sure how you are relating the control arrays to sorting, but here's a function that changes the background of textboxes in a control array when you double click on the textbox: Private Sub Text1_DblClick(Index As Integer)
Select Case Index Case 0: Text1(Index).BackColor = vbYellow Case 1: Text1(Index).BackColor = vbRed Case 2: Text1(Index).BackColor = vbBlue Case Else: MsgBox "Invalid Textbox" End Select End Sub On 8/8/05, subhashini giri <[EMAIL PROTECTED]> wrote: > > Hi all, > Please help me out in sorting an issue in VB 6. > How do I create a function which takes a control array (text box or check > box or whatever.) as an argument? > How do i call the function with the actual control? > > Hoping for areply. > Thanks in advance, > Subhashini > > > > --------------------------------- > How much free photo storage do you get? Store your friends n family photos > for FREE with Yahoo! Photos. > http://in.photos.yahoo.com > > [Non-text portions of this message have been removed] > > > > > > > > '// ======================================================= > 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 > > > > > > > > -- Don Roberts - [EMAIL PROTECTED] http://www.drscripting.com http://www.robertsgenealogy.com [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h55ik7p/M=362335.6886445.7839731.1510227/D=groups/S=1705115364:TM/Y=YAHOO/EXP=1123515705/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/">In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!</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/
