Ed Leafe wrote:
> On Oct 11, 2007, at 4:49 PM, Paul McNett wrote:
> 
>> Yes, I tried all combinations of commenting/uncommenting those three
>> calls, and the flickering hinges completely on the form.update() call.
> 
>       Just for kicks, I modified dForm.py so that its update() method had  
> 'return' as its first line, and ran SimpBiz. I still got flickering  
> when either using the keyboard or the next/prev buttons to change rows.

That is indeed unexpected. I wonder if it is being called many times?

>       I then opened up a command window and typed:
> 
> f, g = dabo.ui.browse(self.PrimaryBizobj)
> 
> ...to get a non-datanav grid with the exact same data. Navigating  
> through this grid I did not see any flickering at all. Calling f.next 
> () likewise did not show flicker. The key must be in the interaction  
> between the form, bizobj and grid under Windows.

You were inadvertently avoiding form mediation, because PrimaryBizobj is 
a reference to a biz, not a DataSource string.

>       I also tried doing some event logging, and I see multiple  
> GridRangeSelected events. I'll look into that aspect, too.

Cool.

-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to