Skip to main content


 

Symptoms


Tree control cannot be filled out via 'Transfer Data' action during the 'When the View executed Initialize' event.
 

Diagnoses


Bug report logged.
 

Resolution

A workaround is as follows:

- Add a Timer control to a Form that has a Tree control. Interval = 1000, Number of Ticks = 1, Infinite tick count = Unchecked]
- After the Tree's populate action in its respective Initialize event, place a 'Execute a control's method' action targeting the Timer's 'Start' method
- Create a new event 'When a control on the Form raises an event' targeting the Timer's 'Ticked' method.
- Under the new event, add your data loading action (Transfer Data or Get List), passing values into the Tree control.

This allows enough time to pass while the populate method fires for the data to initialize in the Tree.




 
Be the first to reply!

Reply