>> Is there a way to tell RB that it should NOT try to refresh a
>> window? When I
>> get scrollbars programmatically (for instance, when showing data
>> the user
>> has requested), RB insists on generating a paint event, and when I
>> have both
>> horizontal and vertical bars to set, I get multiple paint events...
> 
> What do you mean by "When I get scrollbars programmatically"? Did you
> mean setting their values? And do you have the ValueChanged event
> calling Refresh somewhere?

Yes, I have what looks like a spreadsheet, and depending on what users
choose to put in it, the vertical and horizontal scrollbars need to be
adjusted. I have the ValueChanged events for the scrollbars set to refresh
the spreadsheet rows accordingly, but for instance, when a user first
chooses a data category, the scrollbars all have to be set to the top and
left ends of their ranges - and when I set their value, minimum, and maximum
properties, each one of those triggers a ValueChanged event.

I've been doing it by setting a flag that says "ignore this event", but it
seems like a really crude way of dealing with it. I'd rather the event was
never raised. Is there a way of doing this?

- John


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to