Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Hide cell content with '*' symbol in GridCtrl
Hide cell content with '*' symbol in GridCtrl [message #43096] Tue, 06 May 2014 20:02 Go to next message
r-krat is currently offline  r-krat
Messages: 1
Registered: May 2014
Location: Belarus
Junior Member
Excuse me.

How to do something like this: |Login | ******** | Description|?

I have a three column GridCtrl and the second column (password) should be hidden (masked by '*').
When user double clicks on password cell (GridCtrl: EditMode=Cell and Editing) the data from cell must be displayed as original string without '*'.

Dmitry.
Re: Hide cell content with '*' symbol in GridCtrl [message #43108 is a reply to message #43096] Wed, 07 May 2014 08:34 Go to previous message
koldo is currently offline  koldo
Messages: 3356
Registered: August 2008
Senior Veteran
Hello r-ktrat

I suppose I would do this:

In the class defiition:

EditString editPassword;

In the class initialization:

editFile.Password(true);
grid.AddColumn("Password", 70).Edit(editPassword);


Best regards
IƱaki

[Updated on: Wed, 07 May 2014 08:40]

Report message to a moderator

Previous Topic: Redraw rows
Next Topic: GridCtrl: Repaint bug?
Goto Forum:
  


Current Time: Sat Apr 20 16:22:57 CEST 2024

Total time taken to generate the page: 0.05047 seconds