Custom dialog boxes

Hi again guys.

I'm trying to create a custom dialog box, which will initially have three fields. Waypoint name, Latitude and Longitude.

I've managed to create the dialog box and the field ID#s are 200000001, 200000002 and 200000003.

How do I enter these in a current BASIC macro? At the moment, the macro asks for some text (which I enter in the text editor window), but I want this text to be retrieved from the dialog box Waypoint name field (200000001).

Any ideas how I could go about doing this?

Thanks,

Phil.