Link to home
Start Free TrialLog in
Avatar of petershaw8
petershaw8

asked on

Refresh form and controls

I click a button, and the program does something, at meantime this button and/or other buttons disappear or deform. I use form.invalidate or form.refresh, but these do not work. How can I fix this problem?
Avatar of inthe
inthe

try application.processmessages after the code on the buttonclick..or if your program is doing something in a loop on the click then call .processmessages in the loop.
ASKER CERTIFIED SOLUTION
Avatar of kretzschmar
kretzschmar
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
oops,
sorry barry,
didn't see your comment
meikl ;-)
;-)
Avatar of petershaw8

ASKER

Some buttons are the toolbar buttons, these buttons disapear when I click the other button. I already tried the application.processmessages, but it was still not working.

Petershaw8