Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Aug 30th, 2004, 4:10 PM   #1
big_k105
PFO Founder

 
big_k105's Avatar
 
Join Date: Mar 2004
Location: Fargo, ND
Posts: 1,650
Rep Power: 10 big_k105 is on a distinguished road
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
ok here is the code i have:
    frmPartNum.lblUse1.Caption = strOWArray(1)
    frmPartNum.lblUse2.Caption = strOWArray(2)
    frmPartNum.lblUse3.Caption = strOWArray(3)
    frmPartNum.lblUse4.Caption = strOWArray(4)
    frmPartNum.lblUse5.Caption = strOWArray(5)
    frmPartNum.lblUse6.Caption = strOWArray(6)
    frmPartNum.lblUse7.Caption = strOWArray(7)
    frmPartNum.lblUse8.Caption = strOWArray(8)
    frmPartNum.lblUse9.Caption = strOWArray(9)
    frmPartNum.lblUse10.Caption = strOWArray(10)
    frmPartNum.lblUse11.Caption = strOWArray(11)
    frmPartNum.lblUse12.Caption = strOWArray(12)
    frmPartNum.lblUse13.Caption = strOWArray(13)
    frmPartNum.lblUse14.Caption = strOWArray(14)
    frmPartNum.lblUse15.Caption = strOWArray(15)
    frmPartNum.lblUse16.Caption = strOWArray(16)

now this would be alot better if i could do a simple little loop on it that way i wouldnt have to have the code look like this even tho it works. so i was wondering if it is possible to make the lbluse* name something so that i can change where the * is?? is this even possible
__________________
BIG K aka Kyle
Programming Forums
Kyle K Online

Please do not PM or email me programming questions. Post them in the forums instead.
big_k105 is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:15 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC