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

_______________________________________________
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