CodedK
asked on
ShowMessage
Hi.
I want to show a message when a proc starts and then terminate it when the calculation end.
(form is hidden)
How can i show a message without the ok button and then kill it ?
I want to show a message when a proc starts and then terminate it when the calculation end.
(form is hidden)
How can i show a message without the ok button and then kill it ?
Another reason to go with TomasHelgi is that the ShowMessage and MessageDlg are modal, so until it is terminated, it won't execute the next line of code. So, even if you use your form to display the msg, it should be modalless.
ASKER
Hi, thanks for the replys.
If there is no other way to handle the message of course i'll have to use the form...
I was thinking if someone has a source or a customized message dialog that can accept commands.
If there is no other way to handle the message of course i'll have to use the form...
I was thinking if someone has a source or a customized message dialog that can accept commands.
MessageDlg('Welcome!', mtCustom, [], 0) ;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you GinSonic :)
My pleasure!
Why don't you create a Form displaying the message in a Label
Displaying and hiding form is easy ;)
Regards,
Tomas Helgi