Friday, August 16, 2002
From The Edge: Understanding Regions in R:BASE 7.0 Report Designer Section: Report Designer Chapter: Running R:BASE Your Way! Platform: R:BASE 7.0 for Windows Build: 1.855xRT03 and Higher R:BASE 7.0 for Windows Report Designer includes the option of regions to group objects together into printable units. A region serves as a parent to the objects inside it. This means that when objects are contained within a region, the "ShiftWithParent" and "StretchWithParent" properties of those objects refer to the region. Both static and stretchable objects may be contained within regions. When stretchable objects, such as Memo or DBMemo, are placed inside regions, their ShiftRelativeTo property is disabled. Only side-by-side stretching is allowed within regions. If multiple ShiftRelativeTo relationships are needed, and each stretching object has its own related static object, it is usually best to place each stretchable object (along with the corresponding static objects) in their own region, utilizing the region's ShiftRelativeTo property to dynamically position the objects. Regions can also be used to define separate graphical and textual design layers, which can be helpful when forms emulation effects are needed. Simply create a region and set the ParentHeight and ParentWidth properties to True. Then place the layout for the form in the region. Create an additional region and place DB objects, which 'fill-out' the form, inside it. Make the region Transparent. The form below should now be visible. Finally, align the DB objects over the form. You can control the 'look and feel' of a region by setting the "Fill Color" and "Line Color" properties. When regions contain stretchable objects, you can sometimes improve the results of dynamic positioning by specifying a BottomOffset for the region. Notes: Regions cannot be placed within other regions. Press the right mouse button on region to access a speed menu to set properties for the following: . Keep Together . Parent Height . Parent Width . Position... . ReprintOnOverFlow . ShiftRelativeTo... . ShiftWithParemt . Stretch . StretchWithParent . Transparent . Visible PDF version of this technical document is also available at: From The Edge: http://www.razzak.com/fte (Reports and Labels) (Powered by R:Tango) Enjoy and make sure to have fun! Very Best Regards, Razzak. ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: INTRO rbase-l ================================================ TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: UNSUBSCRIBE rbase-l ================================================ TO SEARCH ARCHIVES: http://www.mail-archive.com/rbase-l%40sonetmail.com/
