Unregistered
December 3, 2002, 07:29:40
Support,
I note in the Files sample something I really don't like. We are accustomed to managing file open dialogs ourselves. And I note that in NET we don't have direct control over that. Instead we issue the command:
TextControl1.Load(TXTextControl.StreamType.All, LoadSettings), where LoadSettings is a TX Class.
I do note we can add the stream types we want. However, missing from the file open is one VERY important "ALL SUPPORTED TYPES". Without that the user must know in advance what the file extension is. I suspect you left that out for your Class LoadSettings is getting the file type that is actually selected from the Files Of Type on the File Open Dlg.
Instead the file type really needs to be gathered from analysing the ENDSWITH, and we need an ALL SUPPORTED TYPES.
Possibly you already have an alternate mechanism to TextControl1.Load(..., LoadSettings), but if you do, I haven't found it yet.
I know without ALL SUPPORTED TYPES as the default for the file open dlg, our users will be VERY ANGRY at us.
This message was originally posted by Vann Joe in the old TX Text Control Support Forum.
I note in the Files sample something I really don't like. We are accustomed to managing file open dialogs ourselves. And I note that in NET we don't have direct control over that. Instead we issue the command:
TextControl1.Load(TXTextControl.StreamType.All, LoadSettings), where LoadSettings is a TX Class.
I do note we can add the stream types we want. However, missing from the file open is one VERY important "ALL SUPPORTED TYPES". Without that the user must know in advance what the file extension is. I suspect you left that out for your Class LoadSettings is getting the file type that is actually selected from the Files Of Type on the File Open Dlg.
Instead the file type really needs to be gathered from analysing the ENDSWITH, and we need an ALL SUPPORTED TYPES.
Possibly you already have an alternate mechanism to TextControl1.Load(..., LoadSettings), but if you do, I haven't found it yet.
I know without ALL SUPPORTED TYPES as the default for the file open dlg, our users will be VERY ANGRY at us.
This message was originally posted by Vann Joe in the old TX Text Control Support Forum.