Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>When I add a new column to a grid, it defaults to adding the column with a header and a text control. How do I delete the text control from that column and change it to something else?
Like Brad says, you don't need to remove it, but why have so many unneeded things lying around. If you're doing this at runtime, you can use column.RemoveObject(), from the Form Designer, you shoudl navigate to teh control using the upper combo box in the properties window. Choose your textbox from that list, now, click on the titlebar of the form designer, so you don't choose any new objects, and hit delete.
The column control goes away.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement