David Schwartz 430 Posted June 19, 2020 I'm working with TMS Web Core, which pretty much mirrors the VCL. I want to be able to switch between a "configuration" mode and a "run" mode. So say you click an Admin button somewhere and it flips a switch so that whenever you click on something it sends the object's instance pointer to a single handler rather than activating the normal mouse events. Then depending on the object selected, a property form will popup that lets you change certain properties. Some of the properties represent meta-data, and some are actual content. For example, if you click on a box that represents a video, then it will ask for a link to a video and a thumbnail. If you click on a text box, then it will ask you for the text you want to display. I don't need a full designer, as I don't want to move anything around. I just want to suppress the normal mouse events and route everything through a single handler. If this was just a normal Delphi VCL app, what's the best way to handle this at run-time? (No IDE is running, just the EXE.) Share this post Link to post
Guest Posted June 19, 2020 5 hours ago, David Schwartz said: If this was just a normal Delphi VCL app, what's the best way to handle this at run-time? (No IDE is running, just the EXE.) Perhaps: https://www.greatis.com/delphicb/formdes/ I have not used it myself/not affiliated. Share this post Link to post
uligerhardt 18 Posted June 19, 2020 Maybe using TApplicationEvents.OnMessage like in the attached project. RerouteMouseDown.zip 1 Share this post Link to post
Guest Posted June 19, 2020 @uligerhardt, that looks like an attachment from this forum. Could you supply a link to the original discussion as well? TIA! Share this post Link to post
uligerhardt 18 Posted June 19, 2020 3 hours ago, Dany Marmur said: @uligerhardt, that looks like an attachment from this forum. Could you supply a link to the original discussion as well? TIA! No, that's "original content" that I just created just for this thread. 😄 Share this post Link to post
David Schwartz 430 Posted June 19, 2020 7 hours ago, uligerhardt said: Maybe using TApplicationEvents.OnMessage like in the attached project. RerouteMouseDown.zip Hmmm, gotta see how that's done in Web Core. Share this post Link to post