Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

robolink.Robolink.ShowMessage() Persistence

#1
Is there a way to make messages shown by a call to `robolink.Robolink.ShowMessage(message='test_message', popup=False)` persist until the next time `.ShowMessage` is called, or will they only show in the bottom left corner of RoboDK for a limited time?
#2
The ShowMessage function provided by the RoboDK API is a blocking popup by default. Therefore, it is not possible to show it and continue executing other operations in RoboDK.

If you use the non blocking flag it will be displayed as a status message at the bottom for 10 seconds. One way would be to trigger another non blocking ShowMessage function every 5 seconds to keep your message visible for as long as you need.

Another option is to use Tkinter or PySide to customize the behavior of a message box and having a non-blocking custom message popup.
#3
I figured that might be the case. Thanks, Albert.
  




Users browsing this thread:
1 Guest(s)