Jump to content
alogrep

Formpaint not triggered

Recommended Posts

HI.

My Onpaint  is never triggered in one form.

Any idea as to why this happens?

Share this post


Link to post

Are you sure your handler is actually hooked up to the event?  Double-check the event is assigned in the Object Inspector at design-time, and also double-check the event is assigned at runtime, in case the DFM streaming is failing to assign it properly.

Share this post


Link to post

Thanks Remy.

Yes and yes. I even reassign it at runtim (Formactivate, set to il then reasign).

Share this post


Link to post

Which version of RAD Studio are you using? Can you provide a test project that reproduces the problem?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×