robertcollins
Programmer
Hi;
I want to open a combo box after locating a perticular word in a edit box to suggest and select corrections.
Problem is it is hard to calculate precisely X and Y coordinate since the cursor is not on that perticular word. Something like following gives me very inexact location:
thisform.text1.width = len(lcOption)+12
thisform.text1.Left = col()
thisform.text1.top = row()+2
thisform.text1.visible = .t.
Thanks.
Robert
I want to open a combo box after locating a perticular word in a edit box to suggest and select corrections.
Problem is it is hard to calculate precisely X and Y coordinate since the cursor is not on that perticular word. Something like following gives me very inexact location:
thisform.text1.width = len(lcOption)+12
thisform.text1.Left = col()
thisform.text1.top = row()+2
thisform.text1.visible = .t.
Thanks.
Robert