Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to edit table inside a form?
Message
 
À
15/06/1998 04:46:55
Tan Gay Cheong
Cybercomp Computer Services
Singapore, Singapour
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00108127
Message ID:
00108129
Vues:
40
>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."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform