Print Page | Close Window

PasswordChar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=13840
Printed Date: 07 October 2024 at 4:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: PasswordChar
Posted By: Boris
Subject: PasswordChar
Date Posted: 28 March 2009 at 10:23am
Hi
 
Can we have a PasswordChar property for the xtpControlEdit in a command bar please
or
add another type such as xtpControlPassword that simply uses *


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013



Replies:
Posted By: Oleg
Date Posted: 30 March 2009 at 1:46am
Hi,
 
    Dim e As CommandBarEdit
    Set e = AddButton(ToolBar.Controls, xtpControlEdit, ID_FORMAT_ALIGNRIGHT)
    e.EditStyle = xtpEditStylePassword


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


Posted By: Boris
Date Posted: 30 March 2009 at 2:46pm
Hi Oleg,
 
Thanks for the tip.
 
I have a commandbar that I created with the Designer so the edit control is already there. I tried to use your tip and change it to work with the Designer at run time but get an error message.
 
My code is Me.CommandBars.FindControl(xtpControlEdit, ID_PASSWORD, True, True).Style = xtpEditStylePassword
It doesn't work.
Regards


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013


Posted By: Oleg
Date Posted: 31 March 2009 at 2:45am

Hi,

You need EditStyle

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



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