![]() ![]() For example, you won’t be able to repeat the same word and assign it to take different actions. ![]() The associated data could be a link or text you want to show in another control when the user clicks on the active word.įor the sake of this tutorial, the class we are creating has some limitations. The active words will be based on the use of Pairs, so one piece of information will be the active word and the other piece of information will be the associated data, which is always a String. Best of all, this project is cross-platform, so you can use it for macOS, Windows and Linux! Learn to use the Object-oriented Delegate design pattern to dynamically change how your app reacts when the user clicks on those active words. This post was originally published in 2018 and has been updated to use Xojo API 2.0.įollow this tutorial to create active, aka clickable, words in the text of a TextArea control in your Xojo projects. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |