On Apr 26, 2012, at 8:56 AM, RUSSELL Thomas wrote:

> I did not but I could try it. Is there something special I should do in order 
> to do that since I am using the code generated from the AppWizard. I am not 
> sure how to load that into the class designer.

        Oh, sorry - I thought you had said you were using the Class Designer. 
AppWizard code isn't designed to be run through any of the tools once it is 
generated - you edit it with a text editor. 

        Find the file named 'Grd<your table>.py' in the app's 'ui' directory, 
and in that file look for the line that adds the column for the value whose 
precision you want to set. Add the argument for precision as follows:

self.addColumn(dabo.ui.dColumn(self, DataField="foo", Caption="Foo",
        Sortable=True, Searchable=True, Editable=False, Precision=4))


-- Ed Leafe



_______________________________________________
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]

Reply via email to