Change the return line from
    return(v_LayerChoose = a_LayerinMap[s_List])
to:
    return (v_LayerChoose)
or:
    return(a_LayerinMap[s_List])

Armando


> -------- Original Message --------
> Subject: [Maptitude] Return()
> From: "Chandler Coleman" <[EMAIL PROTECTED]>
> Date: Mon, June 05, 2006 12:32 pm
> To: [email protected]
> 
> Hi.  I am using the Scroll function in my dialog box and want the
> users to double click on the selection to exit the DBox, which works.  
> However, it variable that I am am trying to save goes to NULL when it
> leaves the DBox.  I used a ShowMessage and the variable equals the
> selections, but upon the return() it goes to NULL.
> Any suggestions.  Code shown below.
> 
> Thanks
> 
> Scroll List 3, 4.5, 30, 7 List: a_LayerinMap Variable: s_List, 
> v_doubleclick 
>       do
>          if v_doubleclick = 1 then do
>             v_LayerChoose = a_LayerinMap[s_List]
>               //ShowMessage(v_LayerChoose)
>             return(v_LayerChoose = a_LayerinMap[s_List])
>          end
>       EndItem
>            
>         Do
>            EnableItem("OK")
>         endItem
> 
>       Button "Cancel" 15, 13, 7, 1 Cancel
>         Do    
>             return()
>         endItem
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/C5grlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Maptitude/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to