On Thursday, October 14, 2010 03:53:24 pm John Fabiani wrote: > On Thursday, October 14, 2010 03:09:04 pm John Fabiani wrote: > > On Thursday, October 14, 2010 03:01:55 pm Paul McNett wrote: > > > On 10/14/10 2:20 PM, John Fabiani wrote: > > > > On Thursday, October 14, 2010 12:29:50 pm John Fabiani wrote: > > > >> Hi, > > > >> > > > >> After updating to the latest svn I have an issue with the dGrid > > > >> working correctly on windows. > > > >> > > > >> I have a grid row and several data fields using the same datasource > > > >> and fields. On linux the data is being displayed in the text > > > >> control fields as I move through the rows of the grid. Using the > > > >> same code on windows nothing appears in the text controls. > > > >> > > > >> Using the dShell and entering self.update() the data appears in the > > > >> text controls. Move to a new row and nothing changes (keeps the old > > > >> record). Update is not working on windows. > > > >> > > > >> This is new. trying to revert but haven't found it yet. > > > >> > > > >> Johnf > > > > > > > > revision 6049 works. Revision 6050 does not. > > > > > > > > How's this for a fix > > > > > > > > def __onUpdate(self, evt): > > > > """Update any dynamic properties, and then call the update() > > > > hook.""" if isinstance(self, dabo.ui.deadObject) or not > > > > self._constructed(): #\or not > > > > > > > > self.Visible: > > > > return > > > > > > > > self.update() > > > > > > I'm unable to reproduce the problem on Windows with my code. Can you > > > try writing a small sample that shows the problem? Reverting r6050 > > > like you are doing will cause problems for me and it would be better > > > to find and fix the real cause for the problem (why does the control > > > think it isn't visible?) > > > > > > Paul > > > > Do you have any other suggestions on finding the root cause - other than > > creating a app. The issue is always recreating data. > > > > Johnf > > Below is using dabo's mysql data. Therefore requires mysql drivers. > > http://dabo.codepad.org/LrpGyh7O > > Johnf
You need the connection file <?xml version="1.0" encoding="utf-8" standalone="yes"?> <connectiondefs xmlns="http://www.dabodev.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dabodev.com conn.xsd" xsi:noNamespaceSchemaLocation = "http://dabodev.com/schema/conn.xsd"> <connection dbtype="MySQL"> <name>mysqlconn</name> <host>dabodev.com</host> <database>webtest</database> <user>webuser</user> <password>I41ABCY3DXA0K32L98R90GB0</password> <port>3306</port> </connection> </connectiondefs> Johnf _______________________________________________ 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]
