|Navigation: Language Reference > 9 - Window and Report Attributes > Window and Report Attributes >====== SKIP (set Tab key skip or conditional print control) ======|
The SKIP attribute (PROP:SKIP) on a window control specifies user access to the control is only with the mouse or an accelerator key, not the TAB key. This attribute is valid in Clarion Win32 Windows, and also for REPORT structures in both Clarion Win32 and Clarion#. Data entry controls receive input focus only during data entry and the control does not retain focus, while non-data entry controls do not receive or retain input focus (the same behavior demonstrated by controls in a toolbar or toolbox).
When the mouse is over a control with the SKIP attribute, the control's MSG attribute displays in the status bar.
The SKIP attribute on a report control specifies the STRING or TEXT control prints only if its USE variable contains data. If the USE variable does not contain data, the STRING or TEXT control does not print and all controls following in the band “move up” to fill in the space. This is most useful for label printing to prevent extra blank lines in addresses.The SKIP attribute for a STRING or TEXT control is ignored by the print engine if the top or bottom edge of control's position overlaps another control not using the SKIP attribute (or using the SKIP attribute but containing some printed data).
Detail DETAIL,AT(0,0,2000,1000) !Fixed height detail
STRING(@s35),AT(250,450,500,),USE(Pre:Address2),SKIP !don't print if blank
STRING(@s35),AT(250,550,500,),USE(CityStateZip) ! and move this up