Contents | Index | < Browse | Browse >
Attributes for LISTVIEWs
===================================================================
LVSTYLE StyleMask
Will set the style for the whole listview. The StyleMask is
defined as a 3 or 4 digit number, each digit meaning :
1st digit - ForeGround color (the pen number)
2nd digit - Background color (normal lines)
3rd digit - Selected Background color (selected lines)
4th digit - (optional) Color of "shadow" which will be
used to give the text a 3D effect.
ex : ATTR LVStyle 2031 ; set white on black 3D text
DIRSTYLE StyleMask
Will set the style for DIRs, VOL, ASN etc in Dir LVs
FIELDSTYLE %FieldName/StyleMask
Sets the style for each field.
ex: SETATTR MyGui.gc 1 FieldStyle %field/2031
LVLINEDIST Pixels
Will set the distance between lines in a listview.
By default this distance is 0.
LVFILTER Pattern
Will filter the files in a dir listview according to the
pattern you give - examp - make a LV hide all the icons:
> SetAttr MyGui.gc/1 LVFILTER "~(#?.info)"
Must <LVDir refresh> for the change to actually take place.
Example : Run Gui Source