I’m playing with webForm object for a new project and I try to render a FormWeb over a module ‘Main’ executed as startup rather than define the FormWeb as default startup object.
' Gambas module file
Public Sub Main()
‘ Some functions executed here
‘ before Render the FormWeb
‘ == > Ex: ModTrans.Creation_List_Langue()
‘ Render the FormWeb
It works using Main module but the render is not exactly the same than when the FormWeb is defined as default startup.
For example, the contraints in the web page are not applied using Main module but work fine when FormWeb start directly.
So, is it possible to render a FormWeb using .Render() property or it’s a bad idea ?