You are reading help file online using chmlib.com
|
Rave Reports Developer Reference TBaseReport. Tab method |
Top Previous Next |
Declaration procedure Tab(LeftWidth: integer; RightWidth: integer; TopWidth: integer; BottomWidth: integer; ShadeOverride: integer);
Category
Description This method sets the current tab settings to the next available tab. If the next tab is a tab box, then the lines for that tab are drawn at this time as well as any shading that might apply. The LeftWidth, RightWidth, TopWidth and BottomWidth are overrides for the width of the side of the tab box in 1/100ths of an inch, but should be passed as the constant, NA, for the default pen width. If the LeftWidth, RightWidth, TopWidth or BottomWidth parameter(s) are positive, then it is the width of the pen in printer units (dots) and if negative, it is the width on the pen in 1/100ths of an inch. ShadeOverride is a percent of shading to draw the background of the tab box in and will override TabShade or the original setting of the tab box shading.
See also TBaseReport Class, SetTab, TabShade
Example (Delphi) with RvNDRWriter1 do begin Tab(-2,NA,-2,-2,NA); Print('First tab'); Tab(NA,NA,-2,-2,NA); Print('Second tab'); end; { with }
Example (C++Builder) rp1->Tab(-2,NA,-2,-2,NA); rp1->Print("First tab"); rp1->Tab(NA,NA,-2,-2,NA); rp1->Print("Second tab");
|
You are reading help file online using chmlib.com
|