<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.100" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Arial Narrow" size=1>Hola a todos,</FONT></DIV>
<DIV><FONT face="Arial Narrow" size=2> <FONT size=1>Estoy
tratando de utilizar controles contenedores de datos tipo (Grid) usando BOA. El
problema surge en que no logro determinar como llenar con datos o imagenes el
control desde el codigo que me genera BOA. El codigo que me entrega es el
siguiente:</FONT></FONT></DIV>
<DIV><FONT face="Arial Narrow" size=1></FONT> </DIV>
<DIV><FONT face="Arial Narrow" size=1><FONT size=2>
<P><FONT size=1>#Boa:Frame:wxFrmPrincipal</FONT></P>
<P><FONT size=1>from wxPython.wx import *</FONT></P>
<P><FONT size=1>from wxPython.grid import *</FONT></P>
<P><FONT size=1>from wxPython.image import *</FONT></P>
<P><FONT size=1>def create(parent):</FONT></P>
<P><FONT size=1>return wxFrmPrincipal(parent)</FONT></P>
<P><FONT size=1>[wxID_WXFRMPRINCIPAL, wxID_WXFRMPRINCIPALGRID1, </FONT></P>
<P><FONT size=1>] = map(lambda _init_ctrls: wxNewId(), range(2))</FONT></P>
<P><FONT size=1>[wxID_WXFRMPRINCIPALMENU1ITEMS0, wxID_WXFRMPRINCIPALMENU1ITEMS1,
</FONT></P>
<P><FONT size=1>wxID_WXFRMPRINCIPALMENU1ITEMS2, </FONT></P>
<P><FONT size=1>] = map(lambda _init_coll_menu1_Items: wxNewId(),
range(3))</FONT></P>
<P><FONT size=1>class wxFrmPrincipal(wxFrame):</FONT></P>
<P><FONT size=1>def _init_utils(self):</FONT></P>
<P><FONT size=1># generated method, don't edit</FONT></P>
<P><FONT size=1>pass</FONT></P>
<P><FONT size=1>def _init_ctrls(self, prnt):</FONT></P>
<P><FONT size=1># generated method, don't edit</FONT></P>
<P><FONT size=1>wxFrame.__init__(self, id=wxID_WXFRMPRINCIPAL,
name=u'wxFrmPrincipal',</FONT></P>
<P><FONT size=1>parent=prnt, pos=wxPoint(245, 279), size=wxSize(768,
508),</FONT></P>
<P><FONT size=1>style=wxDEFAULT_FRAME_STYLE, title='wxFrame1')</FONT></P>
<P><FONT size=1>self._init_utils()</FONT></P>
<P><FONT size=1>self.SetClientSize(wxSize(760, 474))</FONT></P>
<P><STRONG><FONT size=1>self.grid1 = wxGrid(id=wxID_WXFRMPRINCIPALGRID1,
name='grid1', </FONT><FONT size=1>parent=self, pos=wxPoint(56, 152),
size=wxSize(600, 240), </FONT><FONT size=1>style=0)</FONT></STRONG></P>
<P><FONT
size=1><STRONG>self.grid1.SetCellHighlightPenWidth(2)</STRONG></FONT></P>
<P><FONT size=1>def __init__(self, parent):</FONT></P>
<P><FONT size=1>self._init_ctrls(parent)</FONT></P>
<P><FONT size=1></FONT> </P>
<P><FONT size=1>Alguien me podrķa pasar un ejemplo de como ingresar alguno
valores e imagenes tambien de ser posible a partir de este codigo.</FONT></P>
<P><FONT size=1></FONT> </P>
<P><FONT size=1>Saludos</FONT></P></FONT></FONT></DIV></BODY></HTML>