It's been a while since a posted a help request because I suspended work on my project, but I'm back on it and could use any suggestions that would correct the following unexpected outcome.
The code below, written for a text field containing a list of topics, with listbehavior and locktext set to true, formerly worked but now the variable tText remains empty after running the code:
Code: Select all
on mouseup
put "D:/Documents/DB/guides/" into tFolder
put the selectedtext of me into tTopic
put url ("file:"&tFolder&tTopic&".txt") into tText
set the htmltext of fld "guide" to tText
end mouseup
Monty