By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,040 Members | 1,815 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,040 IT Pros & Developers. It's quick & easy.

using an array of shapes parameter in vb6

P: n/a
I am using VB6 and have set up a procedure with the parameter LCDLine()
which is an array of shapes. Well something is adrift because it will not
compile on line ....LcdLine(I).Visible = False

Any help will be greatly received
Geoff

Private Sub LCD(ByVal No As Integer, ByRef LcdLine() As Shape)
Dim I As Integer

For I = 1 To 7
LcdLine(I).Visible = False
Next I

Select Case No
Case 0
LcdLine(1).Visible = True
LcdLine(2).Visible = True
LcdLine(3).Visible = True
LcdLine(4).Visible = True
LcdLine(5).Visible = True
LcdLine(6).Visible = True
Case 1
LcdLine(2).Visible = True
LcdLine(3).Visible = True

etc..
Jan 9 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Geoff wrote:
I am using VB6 and have set up a procedure with the parameter LCDLine()
which is an array of shapes. Well something is adrift because it will not
compile on line ....LcdLine(I).Visible = False
Why not?

--
Dean Earley (de*********@icode.co.uk)
i-Catcher Development Team

iCode Systems
Jan 10 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.