We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Event calling sequence

Thread ID:

Created:

Updated:

Platform:

Replies:

1513 Nov 7,2002 03:42 AM UTC Nov 7,2002 07:00 PM UTC WinForms 1
loading
Tags: Tools
Alex Brunner
Asked On November 7, 2002 03:42 AM UTC

Can anybody tell me the event sequence of the syncfusion controls? If I have a control like the xpmenu and would like to apply my logic on a fully loaded menu (eg. enabling or disabling items, translating items etc.). Which would be the right event to do so. By now we are using the OnPaint together with a flag that remembers the execution of our logic. When using the applications under W2K we get some problems with the painting of the controls. All the Syncfusion-Controls and all forms containing some of them, are sometimes not painted correctly. Various parts of the controls are randomly invisible. I guess that the paint is not really the proper event to do such stuff. Regards, Alex

Administrator [Syncfusion]
Replied On November 7, 2002 07:00 PM UTC

Alex, Translating items (for different languages?) should be done within your Form's constructor, since I suppose this will be done only once every app instantiation. Updating the menu item's properties (like Enabled, etc), can be done whenever an event occurs (except the Paint event, which is really a bad idea as it might cause recursive paints). You could also listen to the Application.Idle event and update the menu items, if necessary. Regards, Praveen Ramesh

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;