Ok that did it then. I saw that code before but was not sure I could add that 
parameter in or not.

Thanks,

Tom Russell
Test/Software Engineer
1025 John St.
W. Henrietta, NY 14586
O: 585-279-1744
M: 585-953-7529


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Ed Leafe
Sent: Thursday, April 26, 2012 10:04 AM
To: Dabo Users list
Subject: Re: [dabo-users] Precision Value in Grid Column

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]

________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.
_______________________________________________
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/3eb5c64f2911f841a886ac1d5ea8c356bad...@041-db3mpn1-025.041d.mgd.msft.net

Reply via email to