Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

Remove CellPrompt Property

Is there a way to remove the prompt put into a cell using the CellPrompt Property? I can set the CellPrompt property and change the CellPrompt property to different text, font, color, etc. It isn't documented how to clear the prompt from a cell completely. I would expect if I set the CellPrompt property with the Prompt value to "" that is would clear the prompt, but it makes no change to the prompt.

Is there a way to set this property to make the prompt disappear?

Comments

  • Our philosophy with multi-valued properties is to treat empty values as "leave the existing value alone." This is due to our desire to change individual values without having to first read the property. This leads to conflicts of expectations in certain cases such as this one.

    In short, this is working as designed. To remove the prompt, pass a single space (" ") character rather than an empty string.
  • Okay - that makes sense. Thank you for the solution!

    Thanks Kevin.
Sign In or Register to comment.