Re: [Boa Constr] Problems with PyGridTableBase
Status: Beta
Brought to you by:
riaan
From: Riaan B. <riaan@e.co.za> - 2006-09-08 17:34:10
|
Hi Mario, I didn't look at your code, but if all you need is to use your own custom grid in the Designer, please have a look at: Examples/advanced/CustomClasses/wxFrame1.py or open the Boa help and type 'Custom Classes' in the index. Cheers, Riaan. Mario Lacunza wrote: > Hello, > > I attach two files:frmClientes and frmClientesNE. > > frmClientes charge a Grid with resume Costumers data: Name, Commercial > ID, address, etc. and edition options. > > frmClientes in > Line 178 > def OnBtnNuevoButton(self, event): > > call to frmClientesNE. Its append a new record to the database and clear > all controls and when I close it, the grid in frmClientes: grClte must > be recharge with the new data, but that dont work. Only work when a > Delete some record. > > I couldnt send yours a runable .py version, because both of them files > pickup data from a Firebird's database. > I try to implement the wxPython Demo model: Grid_MegaExample, follow > that my class Grilla must be: > > Line 224: > class Grilla(Grid.Grid): > > but for the Boa Constructors controls creation I couldnt inherit from > Grid.Grid, thats my problem, I need your help I try for two days and > nothing :-( ... some ideas?? > > Thanks in advance!! |