![]() |
Re: IBDatabase und Loginprompt
ist das eine mdi anwendung?
|
Re: IBDatabase und Loginprompt
Ja. aber das SplashForm ist kein MDIClient !
|
Problem Erledigt !!!
Hallo zusammen. nun habe ich das Problem entdeckt.
Hatte die Eigenschaft AutoSize des forms auf True. Dadurch hatte das Panel eine Höhe von 0. so nun der Code nach der Änderung :
Delphi-Quellcode:
gruss Sascha
function TstartProcess.Login_Panel : Integer;
begin StartProcess.LoginPanel.Visible := true; StartProcess.AutoSize := false; StartProcess.Height := StartProcess.Height + 100; StartProcess.LoginPanel.Height := 100; try SendMessage(handle, CM_ACTIVATE, 0, 0); ModalResult := 0; repeat Application.HandleMessage; If Application.Terminated Then ModalResult := mrCancel else if ModalResult <> 0 then LoginPanel.Visible := false; until ModalResult <> 0; Result := ModalResult; SendMessage(Handle, CM_DEACTIVATE, 0, 0); finally StartProcess.LoginPanel.Visible := false; StartProcess.AutoSize := true; end; end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:15 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