Question about webForm object

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Question about webForm object


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.


Module Main
' 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 ?

Thank you for the answer.

Olivier Cruilles

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
Gambas-user mailing list
[hidden email]