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.
ADAdministrator Syncfusion Team November 7, 2002 02:00 PM
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.