Editing Form Elements
|
Top |
Region -- Essentially a Form within a Form, a region contains other elements that are positioned within the region, relative to the region's position. Thus an entire area of a Form can be moved by simply moving the region. Any text elements within the region are also "clipped", so they can't go outside the region. We recommend using regions for any logically similar "part" of a Form to make rearrangement easy. Regions can also be used for the purpose of minimizing condition checks (the region's condition expression only has to be checked once for the whole region, rather than each element), or to help position things in columns (use a region for each column, and text within the region can be auto-wrapped and still stay within the column).
|
|
Text / Data -- Anything shown as text characters, either static text or text generated from a Data Expression.
|
|
Bitmap / Line / Box graphic elements -- Use a bitmap to include pictures or non-text elements of any kind on the Form. Lines and boxes can also be drawn as needed.
|
|
Transaction table -- These are line regions but with specific content, which is basically a canned transaction table. The table can be in several formats. While the flexibility of the data shown in this element is somewhat limited, it's the only easy way of showing transactions on a receipt Form.
|
Absolute (in region) -- The numeric value indicates an absolute position on the page (or relative to the parent region's position).
|
|
Relative to prev. element -- The value indicates an offset from the position (top / left) of the element before it.
|
|
Percentage (of region) -- The numeric value indicates a percentage (e.g. 0 to 100) of the page or parent region's width / height.
|
|
Next avail. (+ offset) -- The numeric value indicates an offset from the "ending" position of the previous element. See notes below.
|
|
Offset from right/bottom -- The numeric value indicates an offset from the bottom or right limits of the page or parent region.
|
Transaction Tables -- The next available Left position is the right side of the table's area (not necessarily the last character printed), but the next available Top position is the actual next text line position. This is because it's common to want the next text to start just below where the transactions ended, but there's no way to know how many lines will be in the table beforehand.
|
|
Lines and Boxes -- The next available top/left position will be the exact bottom/right of the line or box (mostly useful for positioning the next line or box to be drawn).
|
|
Bitmap images -- The next available top/left position will be the exact bottom/right of the image according to the element definition. However this is not necessarily the bottom/right of the image as drawn because of the special cases for zero hight or width (see below). In other words if you specify a 0 width, then the next left position will also assume that the bitmap was 0 width even though that really meant to keep the correct aspect ratio. Also note that this may change in the future, so it's best not to use next available positioning after a bitmap at all unless you're specifying the exact size.
|
|
Regions -- At the "receiving" end, regions are considered a Form-within-a-Form so the "Next available" position coming into a region, that is for the first element inside the region, will always be zero (which of course is the starting position of the region, not the actual corner of the page). However coming out of a region it remembers the "Next available" position of the last element inside the region. Therefore the next element after the region will know where the actual printing inside the region left off. Thus it's perfectly fine to make a region larger than you expect it might need, and then after the region you can pick up where the last text inside the region actually stopped.
|
Relative (height / width) -- The value indicates an offset from the Top / Left position of this element (so it's effectively a height or width value).
|
|
Absolute (in region) -- The numeric value indicates an absolute position on the page (or relative to the parent region's position).
|
|
Percentage (of region) -- The numeric value indicates a percentage (e.g. 0 to 100) of the page or parent region's width / height.
|
|
Percentage, relative -- The numeric value indicates a percentage of the space remaining on the page or parent region, starting from the top / left of the region.
|
|
Offset from right/bottom -- The numeric value indicates an offset from the bottom or right limits of the page or parent region.
|
Standard receipt -- The basic receipt-type table used for most receipts, invoices, etc., where the charges and discounts are shown on the first section, then taxes, then any credits, and finally any payments.
|
|
Register-style statement -- In this format, the transactions are shown in their original order, with columns for Charges, Payments, and Balance after each transaction.
|
|
Credit card slip -- This is designed to just show the credit card payment -- it will only show the mos recent payment transaction on the slip with the total amount paid.
|
|
Purchase order -- This is for use only in Point of Sale purchase orders, where it uses purchase order transactions instead of customer transactions.
|