Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello,

 

I have a class person. and this person has different poperties. I also have a form with different textboxes on it. on the change event of the textboxes I put the data also in to the properties of the person object.

 

my question is.... can i do it the other way around. when the value of properties of the person object changes. Can I then automatically fill the textboxes of the form ?

 

do i have to create an event for this?

 

thx,

 

Inter

Posted
Yes, you will need to raise events do pass property changes back to the form. You may notice that in the textbox's event list it contains events such as backcolor_changed which are providing the text box with the functionality you wish to implement for your person class.

Afraits

"The avalanche has started, it is too late for the pebbles to vote"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...