APPX Widget Macros

APPX provides special functionality for various widgets via the use of macro commands that can be inserted in the Tooltip field on the Widget Properties screen. The following table lists some of the macros that can be used:

Macro

Applies To

Description

Details

@SDS

All Widgets

Drop Shadow

http://wiki.appx.com/wiki/bin/view/Main/WidgetDropShadows

@SLN

All Widgets

Widget Layering

http://wiki.appx.com/wiki/bin/view/Main/WidgetLayering

@SFP

Button Widgets

Control Focus Painting

Lets the designer turn on or off the painting of the
focus of buttons. @SFP=T or F. Default is T.

@SMV

Button Widgets

Make Button Movable

http://wiki.appx.com/wiki/bin/view/Main/WidgetSetMovable

@SLL

Dropdown Lists

Modify List Contents

http://wiki.appx.com/wiki/bin/view/Main/WidgetLocalLists

@SFF

File Choosers

Extension Filters

http://wiki.appx.com/wiki/bin/view/Main/WidgetFileChooser

@SLUB

Line Widgets

Line Unit Base Setting

http://wiki.appx.com/wiki/bin/view/Main/WidgetLine

@SSP

Line Widgets

Line Stroke Pattern

http://wiki.appx.com/wiki/bin/view/Main/WidgetLine

@SSPO

Line Widgets

Line Stroke Pattern Offset

http://wiki.appx.com/wiki/bin/view/Main/WidgetLine

Additionally, macros can be used to specify colors where levels of opacity (or, thought of the other way, transparency) are desired. An additional pair of bytes is appended to the RGB color value, which corresponds to the COLOR NL field in the Widget file. Values of zero (hex 00) through 255 (hex FF) are valid for opacity, but 00 and 01 retain their original purpose and values - 00 makes a widget completely transparent, while 01 or FF makes it completely opaque. For example, specifying a color as #FF0000FF or #FF000001 would be solid red, while #FF000000 would be fully transparent and therefore invisible; #FF000088 would provide 50% transparency to the widget.

To use these in Widget Properties, set the appropriate macro below to the hex value desired in the Tooltip field (e.g., @SFC=#005872A4)

Macro

Applies Color and Opacity To

@SFC or @SEFC

Enabled Foreground

@SBC or @SEBC

Enabled Background

@SDFC

Disabled Foreground

@SDBC

Border (Disabled Background is controlled by OS desktop settings)

@SRFC

Rollover Foreground

@SRBC

Rollover Background

@SWBC

Wallpaper Background

-- AlKalter - 2012-07-10

Edit | Attach | Watch | Print version | History: r18 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2012-07-10 - AlKalter
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback