Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Copper Elite Contributor
Posts: 72
Registered: ‎04-01-2009
Accepted Solution

Open a Pick List when a button is clicked

Hi all.

 

I want to be able to have a Pick List (myPickList) open when a user clicks a button. How do I do that?

 

Thank you in advance!

 

SLX LAN v7.2.1

 

 

Highlighted
Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: Open a Pick List when a button is clicked

PicklistName.Popup

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Copper Elite Contributor
Posts: 72
Registered: ‎04-01-2009

Re: Open a Pick List when a button is clicked

[ Edited ]

Thanks for the reply!

 

I tried your suggestion but I get the following error: Variable is undefined 'myPickList'

 

 

Here's the code I used:

 

Sub btnClick(Sender)
myPickList.Popup
End Sub

 

Does the picklist have to be on the form? I don't want it displayed until the user clicks the button.

 

Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: Open a Pick List when a button is clicked

You need to put in the name of YOUR picklist control.. look at the Name properties of YOUR picklist control... and the control MUST be on the form at design time.

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Silver Contributor
Posts: 835
Registered: ‎03-24-2009

Re: Open a Pick List when a button is clicked

Smiley Happy

 

Well you did recommend picklist NAME.popup.....not picklistCONTROLName.popup.....

 

although I knew what you meant....

RJ Samp