How to Hide a Label of a Bound Field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nev
    Contributor
    • Oct 2007
    • 251

    How to Hide a Label of a Bound Field

    After adding a datasource, I can see my tables in the right-pane of my IDE. Some tables I placed on my form as a datagrid and others as detail view (textbox w/ labels). Hiding a column in the datagrid is fine since I can do visible = false. But for the detail view, I can hide the textboxes through code but not the labels beside them because they cannot be seen in the code. How can I hide the labels of the textboxes? What I want to accomplish is to be able to hide the label and textbox of a column.
  • nev
    Contributor
    • Oct 2007
    • 251

    #2
    I noticed that the label is created in the initializecompo nent().

    Comment

    Working...