Web 2.0 Opening/Shown

Many example projects use the Opening event.

In the Xojo documentation I still read (WebControl.Opening) :
“The Opening event handler can be used to initialize non-visual properties and settings for controls.
In most cases, you should use the Shown event to initialize controls.”

I ask what is the best choice.

thank you

We’ve fixed most of the Opening vs Shown issues. I’d say start with opening and only move to Shown if there is a problem.

2 Likes