How to Get and Set Cursorposition in MultiGet ?

How to Get and Set Cursorposition in MultiGet ?

Postby RAMESHBABU » Fri Feb 06, 2009 3: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
User avatar
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Re: How to Get and Set Cursorposition in MultiGet ?

Postby RAMESHBABU » 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
User avatar
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 72 guests