13 Replies Latest reply on Apr 28, 2016 1:00 AM by erolst

    Selecting a word from a text field

    ChrisSweet

      Hey guys

       

      I have a text field on screen which contains a comma separated list of ailments. I would like the user to be able to click any of the words and then have the program find a match in a table of ailments and their descriptions and display a popup.

       

      I've worked out how to grab the word using -  Middle ( YourTable::textfield ; Get ( ActiveSelectionStart ) ; Get (ActiveSelectionSize)) 

       

      but when should I trigger this and how can I prevent the user modifying the field when they click the word...

       

      Thanks in Anticipation

       

      Chris