Lokasenna_GUI Script - Textbox Notification?
How would a Lua script get notified when a Textbox is active, particularly if a mouse wasn't used to select that Textbox?
While using GUI.freq = 0, GUI.func = Main in a pseudo-defer manner, in my local function Main() I am rechecking all of the markers in a project (using reaper.EnumProjectMarkers3) and populating some Textboxes in the GUI. The problem is that when I want to use the Textbox to edit a marker's name, it won't let me because it's constantly updating the textbox from the pseudo-deferring.
Is there a way to get a notification when a Textbox is being edited?
__________________
"But be ye doers of the word, and not hearers only, deceiving your own selves."
Last edited by tXShooter; 11-18-2018 at 01:05 PM.
Reason: Syntax correction
|