How to retrieve the item selected from an SQABasic combo listbox
User Anantharam, Parasuram (PAnantharam@erac.com) posted:
Please let me know how to access which value was selected by the
user...Please see code marked >>>>>>>><<<<<<<<<<
The scripts is as follows:
Dim Result As Integer
Dim url As String
Dim urltext As String
'Initially Recorded: 7/20/01 12:03:38 PM
'Script Name: Launch Browser Application\
Dim cchoices as String
On Error Resume Next
Begin Dialog UserDialog 180, 95, "ECARS 2 Dialog Box"
Text 9, 3, 69, 13, "URL:", .Text1
ComboBox 9, 17, 111, 41, cchoices, .ComboBox1
OKButton 131, 8, 42, 13
CancelButton 131, 27, 42, 13
Dim mydialogbox As UserDialog
If Err=102 then
MsgBox "You pressed Cancel."
MsgBox "You pressed OK."
'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>HOW do I populate
Select Case urltext
Re: How to retrieve the item selected from an SQABasic combo listbox
User MArk B. (email@example.com) posted:
You've done a good job to this point. I don't have time to go into it but
after you've defined the dialog you'll need to create a function that will
work with it.
I also can't get in to Robot of Help to finish this. If you look at the
example in Help it might clear things up.
"Anantharam, Parasuram" <PAnantharam@erac.com> wrote in message