View Single Post
Old 28 July 2021, 18:26   #7
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
Quote:
Originally Posted by Thomas Richter View Post
Window activation as IDCMP exists, so there is certainly a possibility to activate a gadget when the user activates the window. That seems to be the most straight-forwared way of doing it. Some care should be taken if there are multiple string gadgets on the same window as then the input focus could potentially change.

A good principle to follow is "principle of least surprise", i.e. don't make any changes that have not been triggered by the user explicitly.

maybe someone is able to track the last selected input gadget...
bebbo is offline  
 
Page generated in 0.04444 seconds with 11 queries