Page History
...
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Type | Option | The header cell's type. (See Remarks) | Header |
<2> | Parameters | Multivalue | Parameters specific to the Type, (See Remark) | N/A |
...
Pos | Name | Type | Description |
---|---|---|---|
<2, 1> | FlashColor | Color | The flashing color of the caption white |
<2, 2> | Delay | Integer | The time in milliseconds to delay flashing |
<2, 3> | Smooth | Boolean | If true, the caption fades in and out of its flash color; if false, it simply alternates flash and text colors |
The Flashing header cell type can be used to alert the user to important events or changes in status. A flashing header cell alternates between its foreground color and the provided FlashColor parameter. The flash frequency is determined by the Delay parameter, which takes a number representing milliseconds. Finally, the Smooth parameter determines if the caption fades to and from the flash color or if it simply toggles directly between the two. Experiment with different settings to get the desired effect.
Example
Code Block |
---|
/////////////////////////////////// // HEADER // Set a normal header cell Set_Property(@Window:".OLE_EDITTABLE", "OLE.HeaderType[1; 1]", "Caption") /////////////////////////////////// // HYPERLINK // Set a hyperlink header cell Set_Property(@Window:".OLE_EDITTABLE", "OLE.HeaderType[1; 1]", "Hyperlink") // Set a hyperlink header cell with custom font Set_Property(@Window:".OLE_EDITTABLE", "OLE.HeaderType[1; 1]", "Hyperlink":@FM:"Ariel":@SVM:"10") // Set a hyperlink header cell with custom font and color Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Hyperlink":@FM:"Ariel":@SVM:"10":@VM:"{255, 0, 255}") /////////////////////////////////// // FLASHING // Set a flashing header cell Set_Property(@Window:".OLE_EDITTABLE", "OLE.HeaderType[1; 1]", "Flashing") // Set a flashing header cell with custom color Set_Property(@Window:".OLE_EDITTABLE", "OLE.HeaderType[1; 1]", "Flashing":@FM:"{255, 0, 255}") // Set a flashing header cell with custom color and delay Set_Property(@Window:".OLE_EDITTABLE", "OLE.HeaderType[1; 1]", "Flashing":@FM:"{255, 0, 255}":@VM:1000) // Set a flashing header cell with custom color, delay, and with smoothing effect Set_Property(@Window:".OLE_EDITTABLE", "OLE.HeaderType[1; 1]", "Flashing":@FM:"{255, 0, 255}":@VM:1000:@VM:1) |