Information générale
Catégorie:
Code, syntaxe and commandes
Titre:
Binding Struct properties to Textboxes
To All:
I have a Winform with a Textbox bound to a Class property and a Textbox bound to a Struct property. I set both of them using Databindings.Add() and I see the underlying data values correctly.
However, I cannot update the textbox Text with the Struct-based property using Databindings[0].Readvalue() but it works for the Class-based property.
The Struct property will refresh Textbox if I reset with Databindings.Clear() and then Add() but I don't want to fully reset each time.
Any ideas, thanks.
Suivant
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