>>>It would be easier to answer your question if you explain what you are trying to do, what do you need position for.
>>>
>>Ok.. pardon me... for my so summary message..
>>
>>I'd like to create a kind of VFP's command line.. And by an ENTER.. process that line(s) with exescript (depending on the use of ";")
>>
>>In a few past I've been using the available open source FOXBOX app. but I do believe with a few effort I can create something uptodate to VFP9.
>>
>>My goal is about to create a good tool To run under production environment and be used as support for users.. Data browser, Table repair, "prg" command processor, report's maintenance... Stuffs like that.
>>
>
>Wouldn't SelStart provide you with cursor location in the editbox? Why do you need a row and column?
for instance:
LIST[CR&LF]
DISP MEMO[CR&LF]
LIST ALL FOR;[CR&LF]
empty(client_id)[CR&LF]
BROWSE[CR&LF]
PACK[CR&LF]
on keypress RETURN I'd like to grab the code near to left side and process it.. Exactly as the same behavior of VFP's command line window
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20