Versions Compared

Key

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

...

These fields are "None" by default, which indicates that the table should render them using the standard sytem themes. These fields have been added primarily to allow you to keep your cell buttons consistent with your header cell's.

Example

Code Block
 /////////////////////////////////// 
// TEXT 

 // Set a text cell 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Text") 

 /////////////////////////////////// 
// OPTION 

 // Set an option cell using the default drop-down image 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Option") 

 // Set an option cell using an image from the ImageList property 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Option":@FM:1) 

 /////////////////////////////////// 
// HYPERLINK 

 // Set a hyperlink cell 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Hyperlink") 

 // Set a hyperlink cell with custom font 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Hyperlink":@FM:"Ariel":@SVM:"10") 

 // Set a hyperlink cell with custom font and color 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Hyperlink":@FM:"Ariel":@SVM:"10":@VM:"{255, 0, 255}") 

 /////////////////////////////////// 
// CHECKBOX 

 // Set a checkbox cell 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Check Box") 

 // Set a flat checkbox cell 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Check Box":@FM:1) 

 // Set a normal checkbox cell treating the check box state as data 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Check Box":@FM:0:@VM:1) 

 /////////////////////////////////// 
// PUSH BUTTON 

 // Set a push button cell with text and image 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Push Button") 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellText[1; 1]", "Push Me!") 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellImage[1; 1]", 1) 

 // Set a push button cell whose text/image are NOT copied in new records 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Push Button":@FM:0) 

 // Set a push button cell that can be pressed by hitting the ENTER key 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Push Button":@FM:1:@VM:1) 

 /////////////////////////////////// 
// FLASHING 

 // Set a flashing text cell 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Flashing") 

 // Set a flashing text cell with custom color 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Flashing":@FM:"{255, 0, 255}") 

 // Set a flashing text cell with custom color and delay 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Flashing":@FM:"{255, 0, 255}":@VM:1000) 

 // Set a flashing text cell with custom color, delay, and with smoothing effect 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; 1]", "Flashing":@FM:"{255, 0, 255}":@VM:1000:@VM:1) 

 /////////////////////////////////// 
// COMBO 

FirstNames = "Don"  :@STM:"Paul"    :@STM:"Frank":@STM:"Bob"      :@STM:"Kevin" 
LastNames  = "Bakke":@STM:"Simonsen":@STM:"Tomeo":@STM:"Fernandes":@STM:"Fournier" 
TypeData = "" 
TypeData<1>    = "Combo" 
TypeData<2, 1> = "First Name":@TM:"Last Name" 
TypeData<2, 2> = "L":@STM:100:@TM:"L" 
TypeData<2, 3> = FirstNames:@TM:LastNames 
TypeData<2, 4> = 2                          ;// column 2 contains the values we care about 
TypeData<2, 5> = 1                          ;// auto fill on 
TypeData<2, 6> = 0                          ;// case sensitive off 
TypeData<2, 7> = 10                         ;// 10 visible rows max 
TypeData<2, 8> = 0                          ;// Don't fire the OnOptionClick 
TypeData<2, 9> = 1                          ;// Reduce the list to partial matches 
TypeData<2, 10> = 0                         ;// Only show the drop down when the user types 
TypeData<2, 11> = 0                         ;// Do not use LIST Format 
TypeData<2, 12> = 1                         ;// Autofill on first names 
TypeData<2, 13> = 1                         ;// Hide dropdown when user clears cell 
TypeData<2, 14> = 0                         ;// Let navigation keys show the drop down 
TypeData<2, 15> = 0                         ;// Show the drop down regardless of the cell's contents 
TypeData<2, 16> = 0                         ;// Show the drop down during autofill 
TypeData<2, 17> = 1                         ;// Remove selection when user backspaces/deletes 
TypeData<2, 18> = 0                         ;// Show Popup while in read only mode 
TypeData<2, 19> = 1                         ;// Show Popup When Navigating 
TypeData<2, 20> = 1                         ;// Always Tab Out on Enter 
TypeData<2, 21> = -1                        ;// Always show the dropdown above when close to the screen bottom 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellType[1; All]", TypeData)

...