On Aug 8, 2006, at 1:42 PM, Craig Hoyt wrote:
This is something that has drove me nuts for a while and today is the day I ask. In the IDE you can drag a rectangle onto a window. You can specify size, placement, visibility, color of frame (x2), and color of fill. But you can't specify NO FILL. Many times I want to create a box to represent a special area or to group items and all I want is a box with no fill. Am I missing something? Isn't this an obvious thing? This has been like this as far back as I go in RB. Why hasn't this been caught by RS or others. I checked the archives and found nothing on this. The line class is extremely buggy too, so using it to 'build' a box is of no help. Seems to me that being able to specify fill and stroke is basic to a rectangle class. What's up with that?
The generic "box" control is the Canvas control. It will not have any color unless you write it in the Canvas.Paint() event, so if you want a solid black border around a NONE fill, just draw the border. The Canvas is used to create buttons, games, display pictures, graphs and so on... almost anything you want to draw (or not draw) can be done with a Canvas (exceptions are 3D and Movie views).
_______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
