Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Positioning onto another row in a grid
Message
From
11/01/2006 11:37:58
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01085643
Message ID:
01085685
Views:
13
I don't know the function READ() (not in VFP7) so can't comment on that.
Can't see anything untoward with the majority of the code.

>...
IF READ()<>4

 SKIP
 IF EOF() OR bookinno<>BOOKINSTORESHEAD.bookinno
  GO mrecno
  this.Parent.Parent.Parent.cmdinsert.Click()
 ELSE
  GO mrecno
  skip

  thisform.pageFRAME1.page1.grdBody.Refresh()

*************** WHAT HAPPENS IF HERE PUT IN thisform.pageFRAME1.page1.grdBody.SetFocus() ?
*************** That should be enough to get you to the next row.

  *KEYBOARD "{DNARROW}" PLAIN
**************  Was this meant to select next line of grid or activate the drop-down list?
**************  If the latter then put "KEYBOARD '{F4}' PLAIN" in the GotFocus() of the combo
 ENDIF
ENDIF
>
>
HTH

Terry
- 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
Reply
Map
View

Click here to load this message in the networking platform