2009-06-06 10:54 UTC
wow, it has been almost a year since i wrote something with OpenDCL... but it sure looks great. hats off to all those involved in the development, particularly Owen.
the image below is a little program i'm writing to search for xdata from selected objects. i first tried using a modeless dialog, and it wasn't stable, probably because i did something wrong. so i decided to use a modal dialog. but within the same autocad session, same drawing, i'd like to restore the dialog to its previous state when used multiple times. i mean settings such as the dialog position on the screen, the status of a check box, the current selection of a combo box, etc.. what i'm doing now is saving such settings to global variables when the dialog is closed, and restore these setting when the dialog is initialized again. it seems to be labor intensive. is this the correct way of doing it?
thanks for your comment/suggestion.
the image below is a little program i'm writing to search for xdata from selected objects. i first tried using a modeless dialog, and it wasn't stable, probably because i did something wrong. so i decided to use a modal dialog. but within the same autocad session, same drawing, i'd like to restore the dialog to its previous state when used multiple times. i mean settings such as the dialog position on the screen, the status of a check box, the current selection of a combo box, etc.. what i'm doing now is saving such settings to global variables when the dialog is closed, and restore these setting when the dialog is initialized again. it seems to be labor intensive. is this the correct way of doing it?
thanks for your comment/suggestion.
