On May 4, 2011, at 11:52 AM, John Fabiani wrote:

> I have need to create dynamic controls on a scroll panel.  But I can not 
> update the display with new controls - they are not visable.
> 
> I have tried 
> self.update()
> self.refresh()
> 
> where self = the scroll panel
> 
> If I update the form containing the scroll panel the display is not updated.  
> But this works
> self.Form.Height += 1
> self.Form.Height  -= 1
> 
> But this causes flashing!
> Even adding 
> lock() and unlock() do not prevent the flashing.
> 
> So the question is there a way to force the scroll panel to update the 
> display.  Or does anyone have a better way to update the display.


        Did you try: self.layout() ?

-- 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]

Reply via email to