New answers tagged

3 votes

How to generate two random points when a button is pressed

Here is basic implementation. My advice, always start simple and when it is working, you can add more features. ...
  • 115k
0 votes

A strange error occurs when using First, Last, and Take to pick out list elements for dynamically styling a button

Thank you to Lukas Lang who suggested a few good tips but especially to MarcoB for providing an answer. both were correct and both helped. Below is how i modified ...
  • 1,977
3 votes
Accepted

A strange error occurs when using First, Last, and Take to pick out list elements for dynamically styling a button

It is often safer to declare module variables first, and then assign them values separately within the Module's code. For instance, this is a small modification of ...
  • 63k
1 vote
Accepted

Dynamic 2-state toggle button difficulty returning to original state

You forget to reset the variable "state": ...
  • 29.2k
11 votes
Accepted

Using graphics primitives as buttons

It might be easier to build your own button using EventHandler and CurrentValue: ...
  • 26.9k

Top 50 recent answers are included