|
-
Nov 8th, 2005, 12:21 AM
#8
Thread Starter
PowerPoster
Re: Condense code...
 Originally Posted by Mark Gambo
I think this is what you want:
VB Code:
Private Sub Form_Load()
Dim a as Long
Call Button_Captions
Call Label_Captions
Me.BackColor = vbBlue
With Frame
For a = .LBound to .UBound
With .Item(a)
.BackColor = vbBlue
.ForeColor = vbWhite
End With
End With
End Sub
Compile error:
end with without with. (last end with -- interesting)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|