Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Asynchronous MESSAGEBOX 1

Status
Not open for further replies.
Hi Chris,

I think it would be better to provide a working example of this asynchronous messagebox. The code you have posted in the FAQ will error out as it is now.

Maybe consider changing the first few lines of the example to...
Code:
PUBLIC omessage

omessage=CREATEOBJECT("message", 4000, [This is for your information, etc], [], [], [])
omessage.Show
RETURN

Also, you could add in some parameter checking and default values so the user can just send in the first 3 parameters. With these few changes I believe it has the makings of a good FAQ. Thanks for sharing it Chris.

boyd.gif

SweetPotato Software Website
My Blog
 
Hi Craig

Thanks for your comments - the code was a straight pull from a form in an application via the Class Browser and was really there to show what was happening in the .Init() event of the form rather than run the code as is.

The FAQ has been amended, screenshot of form added, and an example form c/w bitmap(s) made available as a download.

I prefer to use object properties rather than pass parameters to forms but have demonstrated it this way for the sake of simplicity.

FAQ184-2483 - answering getting answered.​
Chris [pc2]
PDFcommandertm.net
PDFcommandertm.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top