in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Prompt Character

Last post 06-26-2008 3:44 PM by C1_GregL. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-19-2008 2:30 PM

    Prompt Character

    Hey everyone,  I'm trying to find out how to make the prompt character (currently a _) a space instead while displaying data in TrueDBGrid.  I've searched the forums and help docs, but cannot find any mention of it.  I do have a slightly older version, so I do not know if this has been changed in more recent versions.  Any ideas? 

     

    Thank you,

    Chris

  • 06-23-2008 3:49 PM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 515

    Re: Prompt Character

    Hi,

    This feature is not possible with the latest version, so I don't believe it was ever possible.  Feel free to submit enhancement requests to feedback@componentone.com

     

    Regards,
    Greg L

  • 06-26-2008 3:44 PM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 515

    Re: Prompt Character

    As a workaround you can use C1TextBox as the column editor.  With C1TextBox you can assign an editmask with any prompt character.

    c1TrueDBGrid1.Columns[1].Editor = c1TextBox1; 

    c1TextBox1.MaskInfo.PromptChar = ' ';

    Regards,
    Greg L

Page 1 of 1 (3 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.