Page 1 of 1

XbpFileDialog() problem

Posted: Thu May 15, 2025 2:24 am
by Piotr D
Hi,
one of my users reported a problem with displaying icons when selecting a file using XbpFileDialog. Some icons are blacked out. This happens on 2 computers, restarting them helps. In the program it looks like this:

FUNCTION M_PDFName()
LOCAL cName, oXbp
oXbp := XbpFileDialog():new()
oXbp:defExtension := "PDF"
oXbp:validatePath := .T.
oXbp:restoreDir := .T.
oXbp:fileFilters := aFilters := { {"Dokument PDF", "*.PDF"}}
oXbp:title := "Podaj nazwÄ™ dla tworzonego pliku PDF"
oXbp:create()
cName := oXbp:saveAs(,.F.,.T.)
IF Empty(cName)
cName := ""
ENDIF
RETURN cName

And on the screen like this:
Disp1.jpg
Disp1.jpg (68.86 KiB) Viewed 1383 times
Disp2.jpg
Disp2.jpg (95.47 KiB) Viewed 1383 times
Has anyone encountered this problem?

Regards
Piotr

Re: XbpFileDialog() problem

Posted: Thu May 15, 2025 3:38 am
by Wolfgang Ciriack
Seems to be a memory or icon cache problem on these PC.