asapltda Posted December 9, 2015 Posted December 9, 2015 Example: I have two buttons on the component defined unimSegmentedButton , I press button 1, and executes the action , again pressing the button 1, but nothing happens, as I do so I can repeat the same button without pressing another button ? tks
Sherzod Posted December 9, 2015 Posted December 9, 2015 Hi, While, I think you can at least use the config allowDepress. For example: UnimSegmentedButton1 -> ClientEvents -> UniEvents ... function beforeInit function beforeInit(sender, config) { config.allowDepress = true } Best regards.
asapltda Posted December 23, 2020 Author Posted December 23, 2020 The solution allows you to press the button several times, but requires the button to be pressed twice to make it work, There is a solution, that prevents you from pressing the button twice to make it work?
Sherzod Posted December 23, 2020 Posted December 23, 2020 2 hours ago, asapltda said: The solution allows you to press the button several times, but requires the button to be pressed twice to make it work, There is a solution, that prevents you from pressing the button twice to make it work? Hello, Your request is not clear to me.
asapltda Posted December 26, 2020 Author Posted December 26, 2020 function beforeInit(sender, config) { config.allowDepress = true } The previous instruction allows the buttons of the unimSegmentedButton component to be pressed a second time, but for the button to work it requires a double click, in the pda they generate many problems since it is a change in the way the program works, the person who operates the pda does not know if the program does not work because it has problems or requires double click
Recommended Posts