User Tools

Site Tools


skip_set_tab_key_skip_or_conditional_print_control_.htm
Navigation:  Language Reference > 9 -  Window and Report Attributes > Window and Report Attributes >====== SKIP (set Tab key skip or conditional print control) ====== Previous pageReturn to chapter overviewNext page

SKIP

blk2blue.jpg

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).

Example:

CustRpt REPORT,AT(1000,1000,6000,9000),THOUS

Detail   DETAIL,AT(0,0,2000,1000)                          !Fixed height detail

         STRING(@s35),AT(250,250,500,),USE(Pre:Name)

         STRING(@s35),AT(250,350,500,),USE(Pre:Address1)

         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

        END

       END

skip_set_tab_key_skip_or_conditional_print_control_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1