View Single Post
  #14 (permalink)  
Old 04-20-2008, 05:05 AM
WZSun WZSun is offline
Junior Member
 
Join Date: May 2007
Posts: 37
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by agraham View Post
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.
Thanks.. will check on it.

Quote:
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.
Why not? I used Scrollbar.dll to attach a panel and make it scrollable.

sb.New1("Form1",0,251,240,18,false)
sb.Maximum = 180
sb.SmallChange = 20
sb.LargeChange = 20
.
.
Sub sb_ValueChanged
Panel10.Left = -sb.Value
End Sub

Quote:
@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.
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.
Reply With Quote