Ed Leafe wrote:
> On Jun 23, 2007, at 4:42 AM, Kelie wrote:
>
>>> If you want finer control of things such as column ordering,
>>> custom captions, etc., you need to create a form, add a grid, and
>>> call the grid's buildFromDataSet() method. See the docs for that
>>> method for the details on the options available.
>> Thanks Ed. Will try what you suggested.
>
> After thinking about it, I decided to update the dabo.ui.browse()
> command to accept all the parameters that buildFromDataSet() offers,
> so that if you want to control the appearance of the grid, but don't
> want to hassle with creating the window and grid, etc., you can now
> pass in the parameters you want that will control the grid's appearance.
+1, but the other thing to keep in mind is that you get a return value
when calling dabo.ui.browse():
form, grid = dabo.ui.browse()
for column in grid.Columns:
print column.Caption, column.DataField, column.ColumnOrder
--
pkm ~ http://paulmcnett.com
_______________________________________________
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/dabo-users/[EMAIL PROTECTED]