Rectangle is the easiest. Attached demo tests also for circular and triangular hotspots. You can code more complicated shapes if needed but I am not sure how valuable that would be for a real application.That is a great one... for rectangle hotspot.
I'd be interested to know how you intended to get a scrollable panelDoes it work for scrollable panels?
@Erel - Could we do with a repository (thread?) somewhere for these easy but useful tricks with the Door library, like this scrollable panel and the HScrollBar on a TextBox?. People who do not have the knowledge of the underlying .NET control properties could browse there for ideas.
Rectangle is the easiest. Attached demo tests also for circular and triangular hotspots. You can code more complicated shapes if needed but I am not sure how valuable that would be for a real application.
Why not? I used Scrollbar.dll to attach a panel and make it scrollable.I'd be interested to know how you intended to get a scrollable panelas I didn't think you could do it in B4PPC. That is until now, see this new demo.
Yes, I agreed tricks and tips should be stored in a common location so that we can search for it asap, instead of 'finding the needle in a haysack' by browsing through all mails in this forum.@Erel - Could we do with a repository (thread?) somewhere for these easy but useful tricks with the Door library, like this scrollable panel and the HScrollBar on a TextBox?. People who do not have the knowledge of the underlying .NET control properties could browse there for ideas.
That's not quite the same thing. That moves the panel itself which I assume has to be wider and/or higher than the Form, rather than scrolling a large object within the panel.Why not? I used Scrollbar.dll to attach a panel and make it scrollable.
You think my demos are too complex compared to this?I searched and found this - http://www.codeproject.com/KB/buttons/hotspot.aspx
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?