pathfinder!() { /* proc-macro */ }Expand description
Creates a new pathfinder control. The format is pathfinder!("attributes") where the attributes are pairs of key-value , separated by comma, in the format key=value or key:value.
If the value is a string, use single quotes to delimit the value.
The following attributes are supported:
path- the path displayed in the pathfinderflags- the flags of the pathfinder. The following values are supported:- ReadOnly - the pathfinder is read-only
- CaseSensitive - the pathfinder is case-sensitive
- position attributes:
xandy, - size attributes:
widthorw(alias), - margin attributes:
leftorl(alias),rightorr(alias),toport(alias),bottomorb(alias) - Alignment attributes:
alignora(alias) - one of Left, Right, Top, Bottom, Center, TopLeft, TopRight, BottomLeft, BottomRightdockord(alias) - one of Left, Right, Top, Bottom, Center, TopLeft, TopRight, BottomLeft, BottomRight
- State attributes:
enabled,visible
ยงExample
pathfinder!("path='C:\\', x=10, y=10, width=20")
Alternatively, the first parameter (if the key is not specified) is consider the path:
pathfinder!("'C:\\Windows\\', x:0, y=10, w:20")