Użytkownik Jacek Kałucki napisał:
> Ok, right.
> But on Windows XP I can see artefacts too, e.g. disabled
> controls became garbaged after form resizing.
> After doing some tests, I have found that adding 'self.refresh(100)'
> method call
> at the end of dFormMixin.__onPaint() method does the job.
> Currently I don't have access to Vista, but I will try as soon as I can.
>    

Because onPaint() isn't the best place to do refreshing,
I just replaced your 'update()' with 'refresh()' and everything
works fine for me on both, XP and Windows 7 platform.
Although, regardless I do use update or refresh,
controls dimensions aren't restored after maximizing window
and then restoring its position and size, platform doesn't matter.
Before maximize:
http://img524.imageshack.us/img524/8444/maxin.jpg
After restore:
http://img15.imageshack.us/img15/2828/restorey.jpg

-- 
Regards
Jacek Kałucki


_______________________________________________
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/[email protected]

Reply via email to