>What do I have to do to create a form with textboxes, and a command button in the toolbar "edit".
>
>And only during clicking on the "edit" button in the toolbar, then only I can edit the records in the form.
>
>Please show me a simple example. I just need to know what need to change to the textbox properties and command button's properties.
First, you have to set the ReadOnly property of the textbox to .T.
At click event of the EDIT button of the toolbar issue:
WITH MyformName.TextBoxName
.ReadOnly = .F
.Setfocus()
ENDWITH
Make sure that the external name (.SCX/SCT) of the form is identical with the Form's Name property.
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."