Questions on using or implementing UI control elements that link a mouse click to a single action.

learn more… | top users | synonyms

5
votes
3answers
263 views

Self-referential list or table of buttons

How could one create a table or list of buttons, such that clicking on a button removes the button itself from the list?
4
votes
1answer
528 views

Emulating a button push or a mouse click with Mathematica code

I need to perform a long action with a button. I tried setting the DynamicEvaluationTimeout, but it seems it doesn't work for me. So I want to try using several ...
0
votes
1answer
164 views

How can I connect shortcut keys to Button

I want to connect a shortcut key (ctrl + c) to a Button in my application. To that purpose I wrote some code using EventHandler. ...
6
votes
2answers
242 views

How to make each node of a graph a button?

A newbie question this one - MMA help seems to suggest it would be possible to place a button on ( or have a button be ) each node of graph, labelled with the name of said node. I have no idea where ...
5
votes
3answers
337 views

Inserting button in image

Can I insert a button in an image at specified location? I have tried but it shows Button is not a graphic function.
0
votes
1answer
145 views

Why are some Buttons not working in CDFPlayer?

I have two Buttons within a single panel. My problem is that after deploying that panel, the second Button is not working in the ...
1
vote
1answer
248 views

How To Track the Cursor Position?

I have 2 InputFields and 2 Buttons. I would like that when the user clicks the Pi Button or ...
4
votes
3answers
225 views

Is it possible to make the Button execute two or more actions?

According to the help: Button[label,action] Is it possible to make the button execute two actions?
4
votes
1answer
378 views

How to perform DialogInput operation within Button

Can someone clarify how to perform a DialogInput operation within a Button? I wrote some code for that but it's not working. ...
4
votes
1answer
278 views

Evaluation inside Button stops after some seconds

I would like to trigger a long calculation inside a dynamic module with a Button. It seems that the evaluation stops without an error-message after some seconds. I made a test outside the a dynamic ...
3
votes
2answers
193 views

how to use button in place of checkbox

I am novice to Mathematica and want to ask how can I use Button in place of Checkboxes. I have used 4 ...
9
votes
2answers
448 views

How do I change the pressed button appearance?

On my system when a default button is pressed it turns light blue. This appearance can be changed using this code from the documentation: Use a second element to get the appearance of a pressed ...
17
votes
5answers
1k views

How can I create a rectangular graphic with curved edges?

I want to make some button shaped graphics that would essentially be a rectangular shape with curved edges. In the example below I have used Polygon rather than ...