08-31-2008, 10:48 PM
Hi,
1. Is there an global way to display a dialog in a read-only mode (e.g. all Edit controls disabled) or do I have to create a 2nd version (or page) of the dialog using read-only Edit controls? This is in reference to an INI user settings dialog that loads the existing key values and rewrites the data back to the INI.
Alternatively - and perhaps better - is there a method where all Edit controls are initially read-only, and then provide some per-control method (checkbox, button, ctl-click, whatever) to enable editing a control?
2. Also having trouble getting wrap to display long strings in Edit box (mailto email lists) - it still displays on one line, only with [] added. When written back to the INI the formatting is screwed up so that it won't read the lists properly next time.
Thanks,
S
If you want to take a look, I've attached the files.
1. Is there an global way to display a dialog in a read-only mode (e.g. all Edit controls disabled) or do I have to create a 2nd version (or page) of the dialog using read-only Edit controls? This is in reference to an INI user settings dialog that loads the existing key values and rewrites the data back to the INI.
Alternatively - and perhaps better - is there a method where all Edit controls are initially read-only, and then provide some per-control method (checkbox, button, ctl-click, whatever) to enable editing a control?
2. Also having trouble getting wrap to display long strings in Edit box (mailto email lists) - it still displays on one line, only with [] added. When written back to the INI the formatting is screwed up so that it won't read the lists properly next time.
Thanks,
S
If you want to take a look, I've attached the files.