Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it possible to manipulate ULC objects or fire events from another thread? Is there an equivalent of Swings invokeLater in ULC?

0
Posted

Is it possible to manipulate ULC objects or fire events from another thread? Is there an equivalent of Swings invokeLater in ULC?

0

It is not possible to perform operations on ULC objects from another thread and there is no equivalent of the Swing method SwingUtilities.invokeLater() in ULC. All the code must be executed as part of processing a client request in the widget’s event handlers. To simulate invokeLater-like behavior, use the ULCPollingTimer class. Using this class, the UI Engine can poll the ULC application at a specified polling interval. The non-ULC code can then be given access to the ULC objects in the IActionListener for the polling event. However, the appropriate fire methods should be called in the actionPerformed() method of the registered listener to initiate a server roundtrip.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123