Paul McNett wrote:
> Ricardo Aráoz wrote:
>
>> big enough. Still I would like the form to resize itself (there is a
>>
>
> I think you are looking for obj.fitToSizer(), which you can call on a dialog
> or a
> form, or any control. It'll size that control to match that which the sizer
> says is
> enough.
>
> http://paul.dabodev.com/doc/api/dabodoc/dabo.ui.uiwx.dPemMixin.dPemMixin.html#Methods_fitToSizer
>
Yes, that was it. Woked like a charm.
Thanks a lot
BTW, once I have this app ready I was thinking about making this filter
form into some kind of tool, and share it with the community. You send
it a bizObj, and a list of tuples ('fieldName', 'nameOfControl'), and
you can get from it the user's choices and filter a grid, a report or
whatever. Do you think it would be worth doing it?
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]