I'm using Borland C++Builder 6.
TOpenDialog disappears while running my program.
What can be the reason?
Which property on the form\open dialog is responsible for this behavior?
I'm using Borland C++Builder 6.
TOpenDialog disappears while running my program.
What can be the reason?
Which property on the form\open dialog is responsible for this behavior?
Dialogs do not just disappear. Either it was intentionally closed, or it is probably hidden behind your main window. Unfortunately the VCL in BCB6 suffers from z-order issues, which were fixed in later versions. Try calling
GetOpenFileName()directly so you can provide an owner window to avoid any z-order problems.