TOpenDialog
executes TFileOpenDialog
when the following conditions are met:
- the program is running under Vista (and up)
UseLatestCommonDialogs
is true (which is the default)- no
OnIncludeItem
,OnClose
orOnShow
events are set
So while still using TOpenDialog
on your system you may likely end up automagically executing TFileOpenDialog
in most cases, which explains why they are looking the same for you.
Remark: TFileOpenDialog
does not fall back on older Windows systems (XP and under) – it just raises an exception. On the opposite, TOpenDialog
does some sort of “fall forward”.