Flex GUI - MDI Button
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 462
- Thank you received: 196
27 Oct 2025 13:02 #337278
by MaHa
Flex GUI - MDI Button was created by MaHa
When the mdi-button is doubleclicked accidentally or just clicked multiple times in a short period,
the mdi command is executed , mostly uwanted, multiple times. Is it possible to lock the button for
0.5 second or an adjustable value?
the mdi command is executed , mostly uwanted, multiple times. Is it possible to lock the button for
0.5 second or an adjustable value?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20834
- Thank you received: 7102
27 Oct 2025 14:19 #337279
by tommylight
Replied by tommylight on topic Flex GUI - MDI Button
Attachments:
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 462
- Thank you received: 196
28 Oct 2025 08:04 #337334
by MaHa
Replied by MaHa on topic Flex GUI - MDI Button
Thanks for reply. I was testing with a value of 200 instead 400 default. Then i recognized the mdi commands are qeued, so there is no escape from executing every button press. Now i try something with a normal pushbutton and use the pythonmodul. creating a timestamp on each button press and get the difference, only execute the command if result is >=7. I am still testing
The following user(s) said Thank You: JT
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 1030
- Thank you received: 533
28 Oct 2025 12:10 #337343
by JT
Replied by JT on topic Flex GUI - MDI Button
I just updated the code so if a MDI command is running the MDI button will not execute again.
JT
JT
The following user(s) said Thank You: MaHa
Please Log in or Create an account to join the conversation.
Time to create page: 0.126 seconds