Link to home
Start Free TrialLog in
Avatar of halfondj
halfondj

asked on

Did I correct my form's painting problem?

I have a form that has a webbrowser control on it.  When I double-click a row in a table, another form with another webbrowswer control displays.  When I exit the second form, some of the first form's controls do not re-paint properly even though I refresh the form; clip control property was set to false.

To correct the problem, I set the the clip controls property to true in my first form.  This seemed to correct the problem.

Did I correct the problem correctly?  In either case, please explain your answer.  I need to get a better understanding to what the clip controls property does.

Thanks.
Avatar of nffvrxqgrcfqvvc
nffvrxqgrcfqvvc

Try:
Form property Autoredraw = True

or

Try:

Form1.Refresh
Avatar of halfondj

ASKER

Thanks for your reply.  I previously tried form1.refresh and that didn't work.  I'll have to try the set the autodraw property to true.

I'll post my results later.
ASKER CERTIFIED SOLUTION
Avatar of nffvrxqgrcfqvvc
nffvrxqgrcfqvvc

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
I recoded something and the me.refresh now works, but in one case, when I minimize the second form then close it, the first form refreshes, but all the controls don't display.

Any ideas?

Thanks.
I solved my problem by adding a DoEvents after XSL transformnode methods.
hi halfondj, Hows everyting coming along? got it working OK?
All worked out after I added the DoEvents (see my previous reply).  Since egl1044 recommended me to see if I used a sleep call, which I didn't, but lead me to the DoEvents, I'll grant him the points.

Thanks for the follow-up.
Thanks, Good to hear everything worked out for you. Thanks