Print Page | Close Window

Unset password item

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=9363
Printed Date: 14 May 2024 at 10:37pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Unset password item
Posted By: ngoctn
Subject: Unset password item
Date Posted: 20 January 2008 at 11:32pm
In my app, I often switch between password display & clear text display. I can use PropertyGridItem->SetPasswordMask for display an item as password field, but don't know how to reset it to normal display.

Someone can help me?



Replies:
Posted By: Oleg
Date Posted: 21 January 2008 at 2:20am
Hi,
 
You can override CXTPPropertyGridItem and add method
 
void SetPassword(BOOL bPassword)
{
 m_bPassword = bPassword
}


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: ngoctn
Date Posted: 22 January 2008 at 3:46am
Thanks Oleg.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net