Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range?
Go Back  Xtreme Visual Basic Talk > > > Power Pack Shape Container Bounds/Range?


Reply
 
Thread Tools Display Modes
  #1  
Old 04-29-2014, 11:07 PM
Under Study Under Study is offline
Regular
 
Join Date: Jul 2008
Posts: 83
Default Power Pack Shape Container Bounds/Range?


Ok, so im wanted to have 3 Shape containers on the same form, each about 600X600 pixels ( true detentions based about screen size). I want the user to be able to create a new shape when clicking on the specific shape container, but if the user does not click withing the bounds of the container, the shape should not show up; yet it does. Ive set the bounds of each container to be only in specified areas, yet a clicking anywhere on the form promps the shape to be created where ever clicked, even outside the shape container.

I realize this can be done by first making sure the click e.x / e.y are within the container bounds first, but i figured there should be a way to set this within the properties of the shape container, but i cant figure it out.

Thanks in advance!
Reply With Quote
  #2  
Old 04-30-2014, 09:48 AM
passel's Avatar
passelPower Pack Shape Container Bounds/Range? passel is offline
Sinecure Expert

Super Moderator
* Guru *
 
Join Date: Jun 2003
Location: Upstate New York, usa
Posts: 8,026
Default

Is this a VB6 (1998) question?
When I hear Power Pack, I think VB.Net, i.e Visual Studio 2008 or later.

I think I'll assume this is a VB.Net question and move this to the .Net side of the forum.

Three shape containers? Perhaps you didn't read the Note in the msdn documentation.
Quote:
Be careful that you do not create more than one ShapeContainer for each form or container; doing this may introduce unexpected behavior. If you add a design-time line or shape control to a form or container after you write code to create one programmatically, you should modify that code to use the ShapeContainer created by the designer.
__________________
There Is An Island Of Opportunity In The Middle of Every Difficulty.
Miss That, Though, And You're Pretty Much Doomed.

Last edited by passel; 04-30-2014 at 09:54 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range? Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range?
 
Power Pack Shape Container Bounds/Range?
Power Pack Shape Container Bounds/Range?
 
-->