|
-
Apr 12th, 2011, 03:09 PM
#1
Make a frame or box
I need to have box (or frame) but the center must be hollow. I do not want to use Shape as that control has no properties and it cannot be on top of other controls (Zorder 0).
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
-
Apr 12th, 2011, 06:27 PM
#2
PowerPoster
Re: Make a frame or box
You could use a Frame and make the contents invisible. But that would be far too much source code, to do that. So then your best bet, would to make a User Control. Draw a Image and then make the background invisible. Also then give it some kind of Events, like Click(), DblClick() and MouseDown() for starters...
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
-
Apr 12th, 2011, 06:40 PM
#3
Re: Make a frame or box
Does RhinoBulls contribution here help?
-
Apr 12th, 2011, 07:14 PM
#4
Re: Make a frame or box
A little more complex than what I was looking for. I made a simple makeshift frame by using four pictureboxes. It looks exactly as if one had used a Shape with a Transparent FillStyle. I couldn't use the Shape as it cannot be the topmost control. The only problem with using the Pictureboxes is that as I move the Picturebox "frame" I have to move each Picturebox one at a time. It doesn't cause any problems graphically speaking that is. I suppose I could make a borderless transparent form with user draw borders and then embedd that onto the main Form.
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
-
Apr 12th, 2011, 07:18 PM
#5
PowerPoster
Re: Make a frame or box
-- Try making a UserControl with the BorderStyle = 1, instead of using a Control, as such. It looks very much like a PictureBox with the Border, as well...
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
-
Apr 12th, 2011, 08:42 PM
#6
Re: Make a frame or box
 Originally Posted by ThEiMp
-- Try making a UserControl with the BorderStyle = 1, instead of using a Control, as such. It looks very much like a PictureBox with the Border, as well...
Nice Now that's much better than what I did. Thanks alot.
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
-
Apr 12th, 2011, 08:45 PM
#7
PowerPoster
Re: Make a frame or box
It's also very much quicker loading the contents of the control, when you have a graphic. I found out. Rather than loading four or six controls, each time...
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|