Problems with PyGridTableBase

Mario Lacunza mario.lacunza at gmail.com
Sat Sep 9 01:03:06 EDT 2006


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!!


-- 
Mario Lacunza <mario.lacunza at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: frmClientes.py
Type: text/x-python
Size: 15425 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20060909/fe31458c/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: frmClientesNE.py
Type: text/x-python
Size: 16271 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20060909/fe31458c/attachment-0001.py>


More information about the Python-list mailing list