FlexGrid for WinForms
Hiding Characters Already Entered
Show AllShow All
Hide AllHide All

To hide the characters that have already been entered and do not need edited, use the OwnerDrawCell event.

  1. Add the following code for the OwnerDrawCell event. This code will hide the characters that have already been entered and do not need edited.

    To write code in Visual Basic

    To write code in C#

  2. Add the following code to the Form_Load event:

    To write code in Visual Basic

    To write code in C#

This topic illustrates the following:

Run the project again and notice the numbers are automatically loaded onto the form in the Password column as asterisks.


 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback