Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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)