• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
W
W
WasTabon2020-11-18 18:33:09
C++ / C#
WasTabon, 2020-11-18 18:33:09

How can I create a variable on button click?

For example, when a button is clicked, an int variable should be created, how to do this?

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Report
A
Alexander, 2020-11-18
@WasTabon

Create an array and on the button event just create a variable there

Similar questions
V
Vasya Surname2018-12-22 23:55:45
How to change the value of a global variable in callbacks? 2Reply
B
Bur Ov2016-08-07 17:31:33
How to implement automatic termination of a process that is heavily CPU intensive? 4Reply
D
Danil Kumarov2017-06-23 20:11:32
How can you get other font-weight fonts from one regular? 2Reply
L
Lyudmila Nesmachnaya2018-12-10 21:26:59
How to access structure elements in c#? 2Reply
L
Lev Ozherelyev2018-12-10 23:56:35
How to make a character enter the trigger, the player presses a button on the keyboard and this character becomes a child object of another object? 1Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners