Hi to All,
Im trying to do a sub that implement a popup using the thedesolatesoul's library (Id) but I got an error (see the attached file).
Code :
Dim ArrRoles(1) As String
ArrRoles(0)="Cameriere"
ArrRoles(1)="Titolare"
Dim ret As Int
ret=Popup(ArrRoles,"Role")
Sub Popup (Arr, Title As String) As Int
Dim RolePop As id 'Id is a library that implement a popup
Dim lstChoice As List
Dim ret As Int
lstChoice.Initialize
lstChoice.AddAll(Arr)
ret = RolePop.InputList1(lstChoice,Title)
Return ret
End Sub
Im trying to do a sub that implement a popup using the thedesolatesoul's library (Id) but I got an error (see the attached file).
Code :
Dim ArrRoles(1) As String
ArrRoles(0)="Cameriere"
ArrRoles(1)="Titolare"
Dim ret As Int
ret=Popup(ArrRoles,"Role")
Sub Popup (Arr, Title As String) As Int
Dim RolePop As id 'Id is a library that implement a popup
Dim lstChoice As List
Dim ret As Int
lstChoice.Initialize
lstChoice.AddAll(Arr)
ret = RolePop.InputList1(lstChoice,Title)
Return ret
End Sub