Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit cursor position in EDITBOX control in a Grid (VFP5)
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00159968
Message ID:
00159980
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform