Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

using an array of shapes parameter in vb6

Question posted by: Geoff (Guest) on January 9th, 2008 06:25 PM
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..


Dean Earley's Avatar
Dean Earley
Guest
n/a Posts
January 10th, 2008
08:05 AM
#2

Re: using an array of shapes parameter in vb6
Geoff wrote:
Quote:
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 (dean.earley@icode.co.uk)
i-Catcher Development Team

iCode Systems

 
Not the answer you were looking for? Post your question . . .
189,879 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors