Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid & editbox,cursor moving to the beginning of the edi
Message
From
27/01/2005 06:23:34
 
 
To
27/01/2005 01:21:02
Kari Sinivuori
Atk-Palvelu K.Sinivuori
Tuusula, Finland
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
00981104
Message ID:
00981139
Views:
33
Kari

You haven't made clear what the problem actually is! Where do you want the cursor to be at edit time? Is the grid editable or is it set to disabled? Is the underlying table set to read-only? etc.
Can you eleaborate as to :
why you've used the This.&lcPageFrame..&lcPage..Enabled notation :
are you storiing your pageframe and its page in variables?
why?
are there more than 1 pgf on the form?
do you not know what page the grid's on?
what's with the ".."

Terry

>I have grid with editboxes, sparse = .F. Gird is in a pageframe. Setting the from into edit mode moves cursor to the beginning of the active editbox.
>
>Disabling or enabling page in pageframe causes the problem. Everything works fine if I comment the next line.
>
>This.&lcPageFrame..&lcPage..Enabled = IIF(This.gcMode = cMODEVIEW, .T., .F.)
>
>This happens only when columns sparse = .F., with sparse = .t. works fine.
>
>Any suggestions, how to make this work?
>-kari
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform