Forum Discussion

goran_gasparini's avatar
goran_gasparini
New Contributor
14 years ago

Drag TextBox Value

Hi guys,

Is it possible to verify if a string withing a  field has been dragged or not .

Something like CTRL+A (text withinn field becomes blue) and i see some parameter = TRUE
  • sbkeenan's avatar
    sbkeenan
    Frequent Contributor
    Hi Goran



    The wSelection property will contain the selected text.  So if this property is not equal to "" then thxt is selected.



    You can also use the wSelectionStart and wSelectionEnd properties, which hold the start and end positions respectively of the highlighted text within the string.



    Hope this helps.



    Regards

    Stephen.