|
-
Feb 2nd, 2015, 08:04 AM
#1
Re: How to make a variable to act on events like Textbox.TextChanged
Your request doesn't actually make sense. Variables don't act on events. A variable is just a place to store some data. You put data in and get that data out. That's it. As for events, they get raised and then any methods registered to handle them are executed. That's it. Perhaps you could provide a FULL and CLEAR explanation of the problem.
-
Feb 2nd, 2015, 08:17 AM
#2
Thread Starter
Member
Re: How to make a variable to act on events like Textbox.TextChanged
 Originally Posted by jmcilhinney
Your request doesn't actually make sense. Variables don't act on events. A variable is just a place to store some data. You put data in and get that data out. That's it. As for events, they get raised and then any methods registered to handle them are executed. That's it. Perhaps you could provide a FULL and CLEAR explanation of the problem.
Thanks for showing interest in my request! I'm sorry my request didn't make sense, and I will try to be more accurate in the future. I simply wanted a variable to act like a textbox. Like when the textbox's text was changed, an event would happen (TextChanged). I was looking for the same feature with variables. I though about this a couple of times, and why not use a textbox with no UI instead? I guess there is a reason why it works this way, and my request was probably that reason. There is no need for an event to happen when a variables content is changed, as you can use other objects, such as a textbox. Then as you said, a variable is just there to input or output stored information.
- Frek
Last edited by Frekvens1; Feb 2nd, 2015 at 08:22 AM.
Reason: Spellings
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|