Lino Website

Documentation · Modules · adamo · Examples

forms3.py

A Form with a TableEditor (a wxPython Grid Control) on a Query from the demo database.

#from lino.apps.pinboard.pinboard_demo import startup
#from lino.apps.pinboard.pinboard_tables import QuotesReport
from lino.apps.contacts.contacts_demo import startup
from lino.apps.contacts.contacts_tables import ContactsReport
from lino.forms.dbforms import ReportGridForm

dbc=startup()
#rpt=QuotesReport(dbc)
rpt=ContactsReport(dbc)
ReportGridForm(rpt).main()
    
del dbc, qry

forms3.jpg

Refering articles:

Copyright 2001-2007 Luc Saffre.
http://lino.saffre-rumma.ee
Generated 2007-06-07 16:23:37