View Single Post
  #11 (permalink)  
Old 04-19-2008, 10:04 AM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,336
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Quote:
Originally Posted by WZSun View Post
That is a great one... for rectangle hotspot.
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.

Quote:
Does it work for scrollable panels?
I'd be interested to know how you intended to get a scrollable panel as I didn't think you could do it in B4PPC. That is until now, see this new demo.

@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.
Attached Files
File Type: zip HotSpots2.zip (12.3 KB, 22 views)
Reply With Quote