Recent

Author Topic: TFileNameEdit, File Preview icon missing  (Read 435 times)

stephanos

  • Jr. Member
  • **
  • Posts: 81
TFileNameEdit, File Preview icon missing
« on: July 03, 2025, 11:13:17 pm »
Dear All

I have a 64 bit Windows 10 laptop.  I wrote a programme in 32 bit Lazarus (i386-win32-win32/win64, Lazarus version 2.2.4, FPC: 3.2.2).  It uses a TFileNameEdit.  When clicked it opens a file explorer menu with two icons in the top right hand corner. One to change the View and another to open or close the File Preview.   I installed 64 bit Lazarus (x86_64-win64-win32/win64, Lazarus version 4.0, FPC: 3.2.2) into a secondary installation.  I made a copy of the project files and ran the 32 bit programme in 64 bit Lazarus. 

There is only one inconsistency.  The same button opens a file explore menu, but with File Preview already active and no icon to turn it off.

Is there anything I can do to bring the icon back?

Stephanos

Bart

  • Hero Member
  • *****
  • Posts: 5744
    • Bart en Mariska's Webstek
Re: TFileNameEdit, File Preview icon missing
« Reply #1 on: July 03, 2025, 11:49:53 pm »
Make sure that ofAutoPreview is not set in the opendialog's options.

Bart

stephanos

  • Jr. Member
  • **
  • Posts: 81
Re: TFileNameEdit, File Preview icon missing
« Reply #2 on: July 04, 2025, 12:57:48 am »
Dear Bart

Perfect, thanks, sorted

 

TinyPortal © 2005-2018