PJM_labview Posted September 22, 2007 Report Share Posted September 22, 2007 Has anyone ever use the Byte Offset from Point string method? What does it do? How does it work? NI help is quite parse on the topic, and everything I try (in LV 8.21) returns 0 for Byte Offset from Point... Thanks PJM Quote Link to comment
Mellroth Posted September 22, 2007 Report Share Posted September 22, 2007 QUOTE(PJM_labview @ Sep 21 2007, 09:45 AM) Has anyone ever use the Byte Offset from Point string method? Hi I haven't really used the property, but from what I understand, you could use this property to get the character closest to the mouse cursor. See attached example. http://lavag.org/old_files/post-5958-1190370490.vi'>Download File:post-5958-1190370490.vi Just move the mouse over the string control to invoke the ByteOffsetAtPoint, that returns closest character as well as the ByteOffset. /J Quote Link to comment
PJM_labview Posted September 22, 2007 Author Report Share Posted September 22, 2007 Thanks. I had not realized that the point32 input was an absolute coordinate and not a relative one. PJM Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.