Thanks for the suggestion. I'll see what docs I can find give it a try.
Gary
>Gary,
>
>I don't think there is a direct equivalent for the VFP InputBox. However, there are two API functions you can use for creating dialog boxes at runtime.
>
>To create modal dialog boxes use:-
>
>DialogBoxIndirectParam
>
>
>To create modeless dialog boxes use:-
>
>CreateDialogIndirectParam
>
>You create dynamic dialog boxes at runtime by building a dialog template (DLGTEMPLATEEX + optional FONTINFOEX + DLGITEMTEMPLATEEX structures) in memory and passing it to one of the functions above.
>
>Not easy to do from VFP though ;-)
>
>Regards
>Neil