From Xojo Documentation

Revision as of 21:20, 13 February 2022 by Gperlman (talk | contribs) (Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. It will go offline as of October 2, 2023. Please visit the new Xojo documentation site! - you will be redirected shortly...

Property (As String )

aKeychainItem.Label = newStringValue
StringValue = aKeychainItem.Label

Supported for all project types and targets.

End-user editable string containing the label for this Keychain item.


This example sets the text in a TextField to the value of the Label property.

Dim kc As Keychain
Dim kci As KeychainItem

kc = New Keychain(Listbox1.SelectedIndex)

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

PasswordField.Text = kc.FindPassword(kci)

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