View Issue Details

IDProjectCategoryView StatusLast Update
0004940MMW v4Framework: Scripts/Extensionspublic2008-11-23 18:33
Reporterpeke Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version3.1 
Summary0004940: SDBUIEdit.Common PaswordChar property Feature
DescriptionSomething Like SDBUIPasswordEdit that will have ability to add PasswordChar Property to created TNTEdit (TTntEdit) or add |PasswordChar|property Let| to
http://www.mediamonkey.com/wiki/index.php/SDBUICommon with only one limit that
"chr(0)"/empty can't be set once |PasswordChar|property Let| is set to char that is different to "chr(0)"/Empty which is default and which shows http://www.mediamonkey.com/wiki/index.php/SDBUIEdit as plain text
Additional InformationExample when using in Option Sheets:

Adding PasswordChar:
Dim LogLabel4 : Set LogLabel4 = UI.NewLabel(Sheet)
LogLabel4.Common.Password = "*"

Removing PasswordChar:
Dim LogLabel4 : Set LogLabel4 = UI.NewLabel(Sheet)
LogLabel4.Common.Password = ""

TagsNo tags attached.
Fixed in build1194

Relationships

related to 0003844 closedpeke Last.fm plugin Last.FM Native Support 

Activities

peke

2008-11-19 02:36

developer   ~0014972

this should not break current Scripting functionality, but will add additional options.

Adding proposed limit will increase Security but it is not needed for functionality especially if it add additional coding.

peke

2008-11-19 02:37

developer   ~0014973

Reminder sent to: jiri, rusty

rusty

2008-11-19 14:18

administrator   ~0014979

Assigned to Jiri for Triage.

jiri

2008-11-21 13:05

administrator   ~0015055

I suppose that it shouldn't be hard to add.

petr

2008-11-22 18:00

developer   ~0015069

Last edited: 2008-11-22 18:04

I'm not sure why Label should have this property ? PasswordChar makes sense for Edit box only, because it's the control you need to type 'encrypted' password.
Label can only show texts so you can set caption to '****' directly.

peke

2008-11-22 19:59

developer   ~0015071

You are right, I thought that due to easier implementation Edit should react to field and others should ignore it. I thought that this way we can evade making duplicate explanations in Scripting Help.

One more thing to watch out is that PasswordChar is truncated to String(1) or Char as AV could rise if multiple chars are used?

petr

2008-11-22 22:04

developer   ~0015072

Implemented as SDBUIEdit.PasswordChar property.
Will be in 1194.

peke

2008-11-23 18:33

developer   ~0015075

Verified 1194