![]() |
AW: Opendialog bei Ok-Button nicht schliessen
Danke für die Denkhilfe.
Sendmessage ist die Lösung:
Delphi-Quellcode:
function GetFilenameFromOpenDialog (d: TOpenDialog): string;
const CDM_GETFILEPATH=1125; var h: integer; begin setlength(result,256); h:=sendmessage(getparent(d.Handle), CDM_GETFILEPATH, 256, integer(@result[1]))-1; if h<0 then h:=0; setlength(result,h); end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:34 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz