Reputation: 21124
I have tried to use the new TFileOpenDialog and now my application is not compatible with Windows XP anymore. I find out that TFileOpenDialog only works on Vista and 7. It seems that TFileOpenDialogand does not check if it is running under Win XP in order to automatically and silently downgrade to TOpenFileDialog. Instead it just shows an error message. There is something I am missing? There is a wrapper that offers this functionality or I have to switch back to the classic TOpenFileDialog?
I don't understand why Embarcadero had to toss Borland's help system and build a new one (much worst) from zero.
Upvotes: 3
Views: 4190
Reputation: 70369
Use TOpenDialog
and set UseLatestCommonDialogs
to true
. You don't get the new (Vista and up) properties (like OkButtonLabel
) but at least the look and feel will be fine from a user's POV...
Upvotes: 6