Re: Pop Combo Menu

2024-06-13 Thread Craig Newman via use-livecode
"I was hoping I could do it without a click.”

Why? That works like a charm, and does not even make the slightest sound. 

Craig

> On Jun 12, 2024, at 4:23 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I was hoping I could do it without a click. 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pop Combo Menu

2024-06-12 Thread Bob Sneidar via use-livecode
BUUUTTT… It looks like that detaches the menu from the button so any subsequent 
click on the actual menu button displays the button as a popup menu. 

Bob S


> On Jun 12, 2024, at 1:25 PM, Bob Sneidar  wrote:
> 
> Hmmm looks like I can use popup button  and provide a location. 
> 
> Bob S
> 
> 
>> On Jun 12, 2024, at 1:23 PM, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Thanks I was hoping I could do it without a click. Something like pop menu 
>> . There is a popup menu command but I think that only works with 
>> popup menus. 
>> 
>> Bob S
>> 
>> 
>>> On Jun 12, 2024, at 1:01 PM, Paul Dupuis via use-livecode 
>>>  wrote:
>>> 
>>> On 6/12/2024 3:01 PM, Paul Dupuis via use-livecode wrote:
 *click*at(rightofbtn1- 5,topofbtn1+ 5)
>>> 
>>> Sorry that line of code is: (paste of formatted text messed it up)
>>> 
>>> click at (right of btn 1 - 5,top of btn 1 + 5)
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pop Combo Menu

2024-06-12 Thread Bob Sneidar via use-livecode
Hmmm looks like I can use popup button  and provide a location. 

Bob S


> On Jun 12, 2024, at 1:23 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Thanks I was hoping I could do it without a click. Something like pop menu 
> . There is a popup menu command but I think that only works with 
> popup menus. 
> 
> Bob S
> 
> 
>> On Jun 12, 2024, at 1:01 PM, Paul Dupuis via use-livecode 
>>  wrote:
>> 
>> On 6/12/2024 3:01 PM, Paul Dupuis via use-livecode wrote:
>>> *click*at(rightofbtn1- 5,topofbtn1+ 5)
>> 
>> Sorry that line of code is: (paste of formatted text messed it up)
>> 
>> click at (right of btn 1 - 5,top of btn 1 + 5)
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pop Combo Menu

2024-06-12 Thread Bob Sneidar via use-livecode
Thanks I was hoping I could do it without a click. Something like pop menu 
. There is a popup menu command but I think that only works with 
popup menus. 

Bob S


> On Jun 12, 2024, at 1:01 PM, Paul Dupuis via use-livecode 
>  wrote:
> 
> On 6/12/2024 3:01 PM, Paul Dupuis via use-livecode wrote:
>> *click*at(rightofbtn1- 5,topofbtn1+ 5)
> 
> Sorry that line of code is: (paste of formatted text messed it up)
> 
> click at (right of btn 1 - 5,top of btn 1 + 5)
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pop Combo Menu

2024-06-12 Thread Paul Dupuis via use-livecode

On 6/12/2024 3:01 PM, Paul Dupuis via use-livecode wrote:

*click*at(rightofbtn1- 5,topofbtn1+ 5)


Sorry that line of code is: (paste of formatted text messed it up)

click at (right of btn 1 - 5,top of btn 1 + 5)

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pop Combo Menu

2024-06-12 Thread Paul Dupuis via use-livecode

On 6/12/2024 2:20 PM, Bob Sneidar via use-livecode wrote:

Hi all. I have a Combo Menu button. I want to have it “pop” open and show the 
options via script, but I cannot find a command to do that.

Bob S

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


You can use:

*click*at(rightofbtn1- 5,topofbtn1+ 5)

assuming the combo button is 'btn 1' on your card or replace btn 1 with 
a reference to your combo button. The idea is to generate a "click" at 
the location of the pulldown arrow part of the combo button.


You can create a new empty stack and place a combo btn on it and try 
line of code in the message box with the browse tool selected.





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Pop Combo Menu

2024-06-12 Thread Bob Sneidar via use-livecode
Hi all. I have a Combo Menu button. I want to have it “pop” open and show the 
options via script, but I cannot find a command to do that. 

Bob S

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode