Jump to content

how to use the component UnimSegmentedButton ?


asapltda

Recommended Posts

 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

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

  • 2 years later...
  • 2 years later...
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

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

×
×
  • Create New...