On Sunday 11 February 2007 19:59, johnf wrote:
> On Sunday 11 February 2007 19:33, Nate Lowrie wrote:
> > dlg.Size = (width, height)
>
> Tried that it does not work.  Something is re-sizing the dialog within the
> dDialog.
> def onHit(self, evt):
>       dlg = MyClasses.dynamicDialog(self.Form)
>       dlg.TableName = "apvendor"
>       dlg.FieldName = "string"
>       dlg.Size = (300, 400)
>       dlg.show()
>       dlg.release()

Setting the size in the afterinit works.  But I'm Multiplying the width of the 
grid by 2.5 to get a normal look.
I have already populated the grid with data so I would think the grid would 
know the size it should be.
-- 
John Fabiani

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to