Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 - Grid Column readonly?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00137488
Message ID:
00137492
Vues:
17
>1) Create a table with 4 fields.
>2) add 4-5 records
>3) Create a new form using vfp6 base form.
>4) Add a grid
> a) columncount = 4
> b) recordsourceType = 0 (table)
> c) recordsource = 'your new table from above'
>5) Set grid1.column4.text1.readonly = .t.
>6) Save and run the form
>7) Click into column 4
>8) Change the record? Shouldn't this be readonly?
>
>What gives? Am I missing something here?
>
>Robert

If you set Grid.ReadOnly=.F. (in form designer) and want to have Column.Readonly=.T. then you should set it programmatically (e.g. in Grid.Init event) even if you did it already in Form Designer.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform