KeychainItem.Comment

From Xojo Documentation

Revision as of 14:28, 31 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As String )


aKeychainItem.Comment = newStringValue
or
StringValue = aKeychainItem.Comment

Supported for all project types and targets.

End user editable string containing comments for this Keychain item.


Example

This example sets the contents of the commment field in a TextField on the input form.

Var kc As Keychain
Var kci As KeychainItem

kc = New Keychain(Listbox1.SelectedIndex)

If kc <> Nil Then
kci = New KeychainItem
kci.ServiceName = SearchField.Value

PasswordField.Value = kc.FindPassword(kci)

ServiceNameField.Value = kci.ServiceName
AccountNameField.Value = kci.AccountName
CommentField.Value = kci.Comment
LabelField.Value = kci.Label
End If