This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

Unicode-EnabledTElFileNameEdit

edited April 2012 in LMD ElPack
Hi,

please make TElFileNameEdit Unicode-Enabled for pre-D2009-Version.
I've changed following to get it run:

Change String -> TLMDString
TElFileNameDialog = class(TLMDSaveDialog)
and disable TaskModualDialog-Methode of TElFileNameDialog.


The best think would to move to TLMDFileOpenDialog, but this could cause problem because of OnBeforeDialogExecute-Event.



Comments

  • Hi,

    there is still the problem that wenn a filename with unicode-character is in the edit-dialog and you want to open the dialog, the filename is "de-unicoded".

    The cause is that the none-unicode ExtractFilePath/ExtractFileName/...-function are used with pre-D2009 Version.

    You should add some LMDExtractFilePath/LMDExtractFileName-Function to your library which are unicode-enabled. For D2009 and new you can call the normal functions and use some inline on function declaration.
Sign In or Register to comment.