asapltda Posted December 9, 2015 Share 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 Link to comment Share on other sites More sharing options...
Sherzod Posted December 9, 2015 Share 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. Link to comment Share on other sites More sharing options...
asapltda Posted October 26, 2018 Author Share Posted October 26, 2018 tks Link to comment Share on other sites More sharing options...
asapltda Posted December 23, 2020 Author Share 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? Link to comment Share on other sites More sharing options...
Sherzod Posted December 23, 2020 Share 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. Link to comment Share on other sites More sharing options...
asapltda Posted December 26, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts