Zum Hauptinhalt gehen

Display Form - making text fields read-only?

Kommentare

1 Kommentar

  • Permanently deleted user
    Hi Tami,   The TextBox item in Display Form is an internal implementation that does not extend a .NET TextBox. This means there is no ReadOnly property for you to set. All the available properties are listed in the Properties panel of the Form Designer.   If read only is important to you two things that may look better than an editable field are: 1. Use the Group item. Specify a Maximum Width that suits you. Use RuntimeModifications to populate the Description with your data.  For example: form.Find(Of ContainerFormItem)("Group2").Description = "Field XYZ:" + string1 2. Use the GroupBox item. Specify a Maximum Width that suits you. Pre-populate the Header with your field name. Use RuntimeModifications to populate the Description with your data. Example: form.Find(Of GroupBoxFormItem)("GroupBox1").Description = string1   Hope that helps. -Cam
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.