Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
rebol [] view [ f: field "" button "focus" on-action [ focus f ] when [load] on-action [focus f] ]
使用focus按钮可以正确设置焦点,但我希望在面板出现时设置焦点。我原以为load触发器应该这样做,但事实并非如此。
focus
load
The correct trigger to use is the 'enter trigger
when [enter] on-action [focus f]