Versions Compared

Key

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

...

This flag can be used to control when the prompt should appear. The prompt is always visible by default, but if many cells use prompts, your table can begin to look cluttered. Use this field to limit when the prompt should appear. Set this field to "Row", "Col", "Both", or "None". Setting this field to "Row" will show the prompt only when the cell's row is selected. Setting this field to "Col" will show the prompt only when the cell's column is selected. Setting it to "Both" will show the prompt only when the cell itself is selected. The default setting is "None", which means the prompt will appear all the time for that cell.

Example

Code Block
 // Add a prompt that will appear in the top left corner of a field 
Prompt = "" 
Prompt<1> = "Name" 
Prompt<2> = "Arial":@SVM:7:@SVM:700:@SVM:0  ;// Smaller Bold Font 
Prompt<3> = "GrayText"                      ;// Lighten the prompt 
Prompt<7> = "Row"                           ;// Only appear when the row is selected 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellPrompt[1;All]", Prompt)

...