Hi, Several times people asked for things like text in a rectangle, sizing the rectangle when text extends. I have made some object that can do it. In the sample vdraws in the menu DemoScreens, you can choose "window and widgets" or "whatever". One screen contains a2dRectWindow, which has a window like objct with a title, and an area which displays the childs of the window, being the drawing. The window is resized to the size of the children its boundingbox. The other screen contains a 2dRectMM, which is just a plain rectangle, with child objects,. Again the rectnagle is sized to those children.
With the tools->edit menu, you can edit the child objects directly in both those object. Dragging them will resize the parent object automatically. The window like object can be closed, releasing it from the document. This only the beginning for this type of widget like objects, the idea is to have all sorts. Like listbox etc. I don't know yet what the use will be, but something like this is the idea. http://wireless.agilent.com/Videos/VEE/Webnew/intro/index.htm http://www.home.agilent.com/upload/cmc_upload/All/DataAnalysis.swf Far away :-) Klaas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev