Versions Compared

Key

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

...

Code Block
Transfer Param1 to Cell 
Transfer Param2 to Count 
Transfer Param3 to Text 

// If the user is attempting to edit for the first time, 
// let them know that they can't (by using a spiffy 
// balloon tooltip) 
If Count EQ 1 then 
   Config = "" 
   Config<1> = "This cell cannot be edited."   ;// Message 
   Config<2> = "Cell Protected"                ;// Title 
   Config<3> = 3                               ;// "Stop" icon 
   Config<4> = 4000                            ;// 4 second timer 
   Convert ';' to @FM in Cell 
   rv = Send_Message(@Window:".OLE_EDITTABLE", "OLE.ShowBalloonTooltip")
end

See Also

CellProtection