332
Views
9
Comments
Solved
disable button

Hello 

I want to disable my button after each new connection

Solution

Hi @Jad MS ,
You can also set the condition on visible field as per your requirement, but.



Thanks

Good ! I 've added a new logic in button press action to control the behavior 

Champion
Solution

Hello

Hello

I have created a Oml for you,

Also you can refer to this post

have a look at it 

sample

Hope this helps

Thanks

SampleDisableBtn (1).oml

Hello Jad, 
Enabled= false will function as disable and is the only step needed to make the button unclickable.
The image below needs to be changed from true to false.


However, if you could be more specific about your condition or your needs, or if you could send OML, that would help us assist you more quickly.


Thanks and regards,
Akshay Deshpande

Hi @Jad  MS - could you please elaborate on disable button on each new connection? If you want to disable the button you can set the enabled property to false (or assign one variable say IsButtonEnable to enabled property and make it false as per your requirement)

Hi Jad MS, 

you can use Enabled property of button to disable it and Visible to hide it, but some logic needs to apply for new connection. Can you please explain more about what you mean by new connection so we can provide you better solution.

Thank you.

Regards, 

Shubham 

Hi @Jad  MS,

You can use a Boolean type  local variables. On button click action you can change the variable values. Assign the local variable's to the buttons enabled the property. don't understand "new connection" Can you please explain more about the "new connection" . 

Thanks & Regards

Navneet

Champion
Solution

Hello

Hello

I have created a Oml for you,

Also you can refer to this post

have a look at it 

sample

Hope this helps

Thanks

SampleDisableBtn (1).oml
Solution

Hi @Jad MS ,
You can also set the condition on visible field as per your requirement, but.



Thanks

Good ! I 've added a new logic in button press action to control the behavior 

Hi @Jad  MS ,

you can create one boolean variable, make the condition as per your requirement , you can use that variable tochange the button property as enabled or disabled.


Thanks. 

Hii,

@Jad  MS , 

you can use Enabled property "False " for button disable .

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.