I think the issue here is Why are you doing this?
If you just want a generic data entry form then what I would do is the following :
Do Form x With 'Enter Month/Year to print or 9/9999 to exit', l_cgetmon to lcOutputValue
In the form's load take these 2 parameters and work out the positioning of the textbox etc from there
In the form's unload you can return the value the user entered
HTH
Will
>Here is my code: I have one label and one textbox for this prg that I am using.
>
>**Define parameters for label1
>with blank.label1
> .visible = .t.
> .caption = 'Enter Month/Year to print or 99/9999 to exit'
> .left = 10
> .top = 20
> .autosize = .t.
>endwith
>
>**Define parameters for text1
>with blank.text1
> .visible = .t.
> .inputmask = '99/9999'
> .value = l_cgetmon
> .left = 250
> .top = 17
> .width = 60
> .selstart = 0
>endwith
>Read events
Will Jones