If i do as you write it works but i want do enable dbConnection when it start.

So i tried doing:
app.setup()
app.dbConnection = app.getConnectionByName('Connection_1')
app.MainFormClass = app.ui.ListinoArticoli
app.start()

but in this way i got an empty form. Why ?

Here the full code:
http://pastebin.com/m71632b25

Thanks

On Sun, Oct 4, 2009 at 2:55 PM, Ed Leafe <[email protected]> wrote:
>
>        Just set the app's MainFormClass property to the class of the form
> you want to open; by default, it's dFormMain, which explains why that
> blank form displays.
>
>        The easiest way to do this is when you instantiate the app:
>
> app = dabo.dApp(MainFormClass= ui.ListinoArticoli)
>
>        BTW, you can delete the "SourceURL=remotehost" parameter (unless you
> are actually running the app as a web application).
>
>        To get a caption on your form, you need to set its Caption property.
> It can either be set in the class itself, or after the app starts, you
> can run: app.MainForm.Caption = "something".
>
>
> -- Ed Leafe
>
>
>
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to