Hi Paul
Sorry.... caption VFP term but text property is what I was looking for.
Thanks again for your help.
regards,
Gerard
>>Hi Paul.. thanks for your reply.
>>
>>Thats exactly what I want.
>>One more question...
>>If I wanted to cycle through each of these text boxes and say assign a caption to each of them,is that possible ?
>
>I'm not sure what you mean by caption?
>
>At any rate, you can cycle through the Controls collection and set anything you need to:
>
>
>foreach(Control control in this.Controls)
>{
> TextBox txtbox = control as TextBox;
>
> if (txtbox != null)
> {
> txtbox.Text = txtbox.Text + " More Text";
> }
>
>}
>