Hey,
I would like to know if there is one event which recognize all layoutchanges on my ultragrid? The task is that I have an ultraGrid with a layout which I can save and load. The problem is that if someone closes the application, the done changes are lost without saving (save is just manual and should continue to be manual).
So it would be great if one event is fired up by changing the layout and the close-application event can request this (maybe boolean) variable and inform/ask the user about saving the changes on the grid.
Thanks and regards
Maybe I missed something but I'm not following why you can't call the UltraGridLayout.Save or UltraGridLayout.SaveAsXml method in response to the FormClosing event, after prompting the user.
ok...
Saving the layout is optional. I also use the save-method. But I want to ask the user before closing the form, if he wants to save the layout. If there are no changes on the layout, the question for saving is not necessary. It's like in Word or Excel when you open a file and you make no changes then you can save the file without a question for saving the changes - when you make no changes then there is also no question....
it's like: "You changed the layout! Save changes?" - Yes, No, Cancel
I hope the question was now correctly asked ;)
Greetings