Huh, that was one of the things I had tried but it did not appear to work nor does it now either.
Maybe I should just start from scratch and learn the Class Designer and all so I have a better understanding and outcome controlling things? I have to say though that the AppWizard is great and gives a nice setup to start with. Thanks, Tom ________________________________________ From: [email protected] [[email protected]] on behalf of Ed Leafe [[email protected]] Sent: Wednesday, May 16, 2012 9:58 AM To: Dabo Users list Subject: Re: [dabo-users] Precision Value in Grid Column On May 16, 2012, at 7:17 AM, RUSSELL Thomas wrote: > I cannot seem to find the right place to put this piece of code at all. > Everywhere I put it I either get an error or it just wads up my app. > > I have code that is generated from the app wiz and tried putting the code in > the Grd class stuff where the column properties are set but it does not work > there. > > Can someone give me some ideas where I would need to put this? The AppWizard-generated form does a lot of its "magic" in the datanav subframework; that's where the grid is actually created, which means you really can't change the instantiation code, which is what I gave in my example. Instead, go to the grid class (in your case, ui/GrdB1.py), and in the afterInitAll() method, add the line: self.NoneDisplay = "--zilch--" substituting the actually string you want to show. -- 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/3eb5c64f2911f841a886ac1d5ea8c356bb3...@041-db3mpn1-025.041d.mgd.msft.net
