Click to See Complete Forum and Search --> : Return Values from Custom Form


Mongoose
April 17th, 2002, 02:28 PM
I'm trying to make a dialog popup for the user to enter in a machine name. I want to be able to return the MachineName from the popup. What is the CORRECT way to do this?

I've tried passing a variable by reference after the dialog is created BUT before it was shown. When the dialog changes the value it would be correct when it was finished.. I thought this was a bit sloppy though.

It's the same principle as the VB MsgBox returning vbYes, vbOK, etc.

Thanks,
Jeff