>I am getting old and losing my mind. Someone please help me to remember:
>
>I am converting a fpd2.6 app and want to read the prgs and build a form with labels from the @say's and textboxes from the @get's. I also want to give values to certain properties like value for the labels and datasource for the textboxes.
>
>thanks, jeffrey
Create an empty form, and paste the following sample into Form.Init().
This.AddObject("TxtClientCode", "TextBox")
with ThisForm.TxtClientCode
.Left = 10
.Top = 50
.Width = 100
.Visible = .T.
endwith
Note that the object is made visible at the end - initially, it is invisible, to avoid the object from visually jumping around when you change its properties.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)