Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Unicode-EnabledTElFileNameEdit

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.



Tagged:

Comments

  • 3 Comments sorted by Votes Date Added
  • 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.