On Nov 29, 2010, at 1:57 PM, Jeff Johnson wrote:

> I would like to have borders around four cells in a grid.


        Grid or grid sizer?

        It would be difficult in either case, as it would involve calculating 
the coordinates where you want the borders drawn, and then using the low-level 
drawing routines. For example, if you wanted a thin red border drawn around 
some cells in a grid, with the top left cell at (100, 100), and the 
bottom-right cell at (300, 150), you would run

border = grid.drawRectangle(xPos=100, yPos=100, width=200, height=50, 
penColor="red", penWidth=1)

        You can then manipulate the properties of 'border' when the grid 
changes.



-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to