Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - PasswordChar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

PasswordChar

 Post Reply Post Reply
Author
Message
Boris View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 June 2007
Location: United Kingdom
Status: Offline
Points: 179
Post Options Post Options   Thanks (0) Thanks(0)   Quote Boris Quote  Post ReplyReply Direct Link To This Post Topic: PasswordChar
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Boris View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 June 2007
Location: United Kingdom
Status: Offline
Points: 179
Post Options Post Options   Thanks (0) Thanks(0)   Quote Boris Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 31 March 2009 at 2:45am

Hi,

You need EditStyle
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.