Mike,

Why not use the simpler syntax:
CHOOSE vcho FROM #list 'PRINT,DELETE,SEND TO FAX' CAPTION 'Select An 
Action' LINES 3

Jim Bentley
MikeB wrote:
> Mike,
> In the Variable Image Objects RightClick EEP, insert the following Code:
> {begin code}
> SET VAR vcho TEXT = NULL
> 
> CHOOSE vcho FROM #VALUES FOR ('PRINT') FROM sys_forms3 WHERE LIMIT = 1 +
> UNION ALL SELECT ('DELETE') FROM sys_forms3 WHERE LIMIT = 1 +
> UNION ALL SELECT ('SEND TO FAX') FROM sys_forms3 WHERE LIMIT = 1 +
> CAPTION 'Select An Action' LINES 3
> 
> SWITCH (.vcho)
> 
> CASE 'PRINT'
>   SET VAR vmsg = 'You Picked "PRINT"'
>   PAUSE 2 USING .vmsg
>   BREAK
> 
> CASE 'DELETE'
>   SET VAR vmsg = 'You Picked "DELETE"'
>   PAUSE 2 USING .vmsg
> 
>   BREAK
> 
> CASE 'SEND TO FAX'
>   SET VAR vmsg = 'You Picked "SEND TO FAX"'
>   PAUSE 2 USING .vmsg
> 
>   BREAK
> 
> DEFAULT
>   SET VAR vmsg = 'You Didn''t Pick Anything'
>   PAUSE 2 USING .vmsg
> 
>   BREAK
> ENDSW
> 
> RETURN
> {end code}
> 
> ----- Original Message ----- From: "Michael J. Sinclair, MD" 
> <[email protected]>
> To: "RBASE-L Mailing List" <[email protected]>
> Sent: Saturday, March 28, 2009 7:01 PM
> Subject: [RBASE-L] - How to create a menu of options with a right click
> 
> 
>> Hi All,
>>
>> I want to be able to right click on a variable image object and have a 
>> menu of options pop up, such as PRINT, DELETE, SEND TO FAX, etc.
>>
>> What is the best control to use for that purpose?
>>
>> Mike
>>
> 
> 
> --------------------------------------------------------------------------------
>  
> 
> 
> 
>> Hi All,
>>
>> I want to be able to right click on a variable image object and have a 
>> menu of options pop up, such as PRINT, DELETE, SEND TO FAX, etc.
>>
>> What is the best control to use for that purpose?
>>
>> Mike
>>
> 
> 
> 
> 







      


Reply via email to