>One question now, if I got over 20 textboxs in the form, would this abit slow and troublesome?
>
>Is there any way to go about it?
Nothing. Just insert all textboxes within the WITH..ENDWITH statements. It is better if you create a procedure and just pass a parameters into it (.T. or .F.).
PROCEDURE editproc
PARAMETERS lFlag
WITH myformname
.TextBox1.ReadOnly = lFlag
.TextBox2.ReadOnly = lFlag
.TextBox3.ReadOnly = lFlag
etc.
WITH
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."