Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit cursor position in EDITBOX control in a Grid (VFP5)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00159968
Message ID:
00159980
Vues:
24
>Hi Edward and John,
>
>I had tried the AfterRowColChange method of modifying the SelStart
>property, but that does not work either.
>
>Any other suggestions ?
>
>Edward, I am interested in your suggestion to use two Edit Boxes.
>How would that work exactly ?
>
>Thanks.
>Michel.
>

You add two editboxes to the column and issue:
***Grid.Init event
This.MyColumn.DynamicCurrentControl= ;  "IIF(thisform.gridRecno=RECNO("gridcursor"),'editbox1','editbox2')"
Thisform.Gridrecno is custom property which is reset in both Gird.Before/AfterRowColumnChange events. 'Gridcursor' is grid recordsource
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform