Home General

OpenDialog with Delphi Styles

Hello,

In my Delphi application I use Delphi's own Styles.

If I place an image component in my report and try to associate an image with that component, the file selection window (OpenDialog) is not displayed.

If I disable the use of Delphi's style, the selection window appears when requested.

How could I use Delphi styles and have this feature active?

Thanks

Ueliton

Comments

  • Hi Ueliton,

    Testing with Delphi 11.3 and RB 22.02 it is working. I used the RB EndUser ReportExplorer demo for testing.

    The RB Image component uses Delphi's TOpenPictureDialog.

    Try testing TOpenPictureDialog - something like..

    lPictureDlg := TOpenPictureDialog.Create(Self);

    if lPictureDlg.Execute then
    ......




    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • Hi Nard,

    I'm sorry, in some styles it really works. Not in dark styles.

    Can I send you an image?
  • Other information. I open my application and it calls Report Explorer.
  • I updated Delphi and RB to the same version as yours and the problem no longer happens. Thank you and I'm sorry.
Sign In or Register to comment.