Hyderabad Jobs Book Website FREE PowerBuilder Training I Love Hyderabad Hyderabad Colleges
Home Business Emails Hyderabad Classifieds Contact Us
7 Wonders of Hyderabad Web Hosting Yellow Pages Our Network

 
Webpowerbuilder.hyderabad-colleges.com

Introduction to PowerBuilder

HomePrevious Lesson: Course 1:: Session 4 :: Page 290
Next Lesson: Selecting Multiple Controls

Drawing Objects

You can make use of drawing objects to improve the appearance of the window you paint. You can notice (from the picture below) that Drag-and-Drop properties are missing for controls that fall under the Drawing category. Make a note that Drawing controls don't have any events and moreover you can't define user-defined events (details in future sessions).

Properties dialogbox for Round Rectangle object

The only drawing control that has interesting properties is the RoundRectangle. The "Corner Height" and "Corner Width" properties allow you to specify the degree of roundness that should be applied to the corners. The "Corner Height" property defines how far from the corner on the vertical edges should the curve begin, while the "Corner Width" property affects the same, except that it affects the horizontal edges.

Given the starting points, two for each corner, PowerBuilder calculates the smoothest possible curve between the two points closest to each corner, to produce a rounded rectangle.
HomePrevious Lesson: Course 1:: Session 4 :: Page 290
Next Lesson: Selecting Multiple Controls

Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com