FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to Get and Set Cursorposition in MultiGet ?
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
How to Get and Set Cursorposition in MultiGet ?
Posted: Fri Feb 06, 2009 03:21 AM

Hello Mr.Antonio

I have a tipical problem. I have a miltiget with several rows. And I am calling a popup menu from it,
to select some value and paste it at a place where the cursor is originally postioned before calling the
popup menu.

When I quit the popup menu, the cursor is not positioned back to its original place. And the value is
getting pasted at correct column but not at the correct row. It is always pasted on the first row only.

Please help me.

Regards,

  • Ramesh Babu P
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
Re: How to Get and Set Cursorposition in MultiGet ?
Posted: Fri Feb 06, 2009 12:23 PM
Hello Mr.Antonio

I could achive it in a different way.

I was trying to save the row and col positions before I call the POPUP menu and once the POPUP is closed I wanted
to stuff a value exactly at position where the cursor was there. As I have explained in my above posting, the value
was getting stuffed always in the first row of required coloum.

Instead of finding row, col, I have used paste(cValue) method to paste the value automatically at the required row,
and column.

Here the oMGet:Paste(cValue) has automatically taken care of the cursor location and stuffed the data correctly.

Regards,

- Ramesh Babu P

Continue the discussion