Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are valid names for buttons?

buttons names valid
0
Posted

What are valid names for buttons?

0

When you bring up a Button Dialog to create a new button, the “Name” field can be filled with any string of characters. If you have spaces (” “) in this name, they are converted to the dash character (“-“) internally. This has two implications. First, it means that you can allow a procedure to call a button by prepending the word “start” to the button name and stop a button by prepending the word “stop” to the button name. For example, to go myfirstbutton ;the “Name” field of this button contains the string “myfirstbutton” startmy-second-button ;the “Name” field of this button contains the string “my second button” stopmyfirstbutton end One more thing. You naming conflicts may occur in the internal code if any of your procedure names begin with “start”. Avoid naming procedures in this manner.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123