TEXTEDITOR - focus on paste action not checked
Jump to navigation
Jump to search
Fixed in Liberty BASIC 4.5
Description
If a window contains a text editor and a text box, there is no way to paste text into the other text box, than using the context menu of the text box. Using Ctrl+V will always paste into the text editor, despite of having the text box selected.
Example code to demonstrate the bug.
nomainwin
WindowWidth = 550
WindowHeight = 410
textbox #main.textbox1, 26, 16, 152, 70
texteditor #main.textedit2, 198, 26, 208, 180
open "untitled" for window as #main
#main "trapclose [quit]"
print #main, "font ms_sans_serif 16"
[main.inputLoop] 'wait here for input event
wait
[quit]
close #main
end
Example code to work around the bug.
'code to work around the bug goes here