badgerboy Posted June 12, 2003 Posted June 12, 2003 is it possible to create shaped forms that look good. Can I set areas of the form to be transparent so it creates the illusion of it being shaped or not there but its just transparent. Also how can I preview HTML in a form or RTB (Rich text box) Thanking in advanced Badgerboy Quote
*Experts* Merrion Posted June 12, 2003 *Experts* Posted June 12, 2003 Check out the RegionMaster .NET control code Quote Printer Monitor for .NET? - see Merrion Computing Ltd for details
*Experts* mutant Posted June 12, 2003 *Experts* Posted June 12, 2003 Creating forms that dont have a standard shape is very easy :) Declare a new Drawing2D.GraphicsPath. Add different shapes that you want. graphpath.AddEllipse ' or whatever you want Then set the region of your form to that. Me.Region = New Region(graphpath) Now your form will look like an ellipse :) To make things even better follow Merrion's tutorial about moving captionless forms: http://www.xtremedotnettalk.com/showthread.php?s=&threadid=72831 Quote
badgerboy Posted June 12, 2003 Author Posted June 12, 2003 i couldn't get it to work kept coming up with this error Overload resoultion failed beacause 'AddEllispe' accepts this number of arguements please help thanking in advanced Badgerboy Quote
*Experts* mutant Posted June 12, 2003 *Experts* Posted June 12, 2003 That was just an example of what you can add, you have to type in the actual values :), like: graphpath.AddEllipse(100, 100, 100, 100) 'just an example values Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.