i am using the following code from Erel's Slider example
Sub ChangePanel(Left As Boolean)
Select Left
Case False
If sd.currentPanel=2 Then
JumpToPanel(0)
Else
SlidingPanels.ChangePanel(sd, Left)
End If
Case = True
If sd.currentPanel=0 Then
JumpToPanel(2)
Else
SlidingPanels.ChangePanel(sd, Left)
End If
End Select
However I am getting an error at the Select Left Line as follows
Error description: Missing parameter.
Occurred on line: 85
Select Left
Word: select
I have read the docs and the syntax looks correct to me
if i put an open bracket "(" after the word Select i can see the menu item so all looks ok.
Is there a problem with my code or compiler?
Thanks
Joe
If i put a brac
Sub ChangePanel(Left As Boolean)
Select Left
Case False
If sd.currentPanel=2 Then
JumpToPanel(0)
Else
SlidingPanels.ChangePanel(sd, Left)
End If
Case = True
If sd.currentPanel=0 Then
JumpToPanel(2)
Else
SlidingPanels.ChangePanel(sd, Left)
End If
End Select
However I am getting an error at the Select Left Line as follows
Error description: Missing parameter.
Occurred on line: 85
Select Left
Word: select
I have read the docs and the syntax looks correct to me
if i put an open bracket "(" after the word Select i can see the menu item so all looks ok.
Is there a problem with my code or compiler?
Thanks
Joe
If i put a brac