Pritpal    testCursor or TextCursor ?

I just try an using the same but

qCursor := QTextCursor():from( oEdit:textCursor() )

  nRow := qCursor:blockNumber() + 1
  nCol := qCursor:columnNumber() + 1


Works ok if I generate new lines or columns using enter

but If I am navigating an open file the number not change

Bruno


>    qCursor := QTextCursor():from( qPlainTextEdit:testCursor() )
>
>   nRow := qCursor:blockNumber() + 1
>   nCol := qCursor:columnNumber() + 1
>
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to