M
Matt_946
Guest
Hello,
I currently have a TabControl with a couple pages. On each TabPage are several textboxes. On TabPage1, for example, I would have some textboxes like Name, Number, and a few others. TabPage2 might have Name, Number, and some other textboxes that are not shared with TabPage. Ideally, any time a textbox that is "shared" between the TabPages is edited, I'd like the edits to occur in all instances of the shared textbox.
For example, if I typed "John Doe" in the Name textbox in TabPage1, the Name textbox in TabPage2 would be automatically filled out. I know I can create some subs that will update the values of the textboxes every time another one is updated, but this method means I'll a sub for every textbox I want to be automatically filled out from other textboxes. Is there a more efficient or less cumbersome way to do this? I don't think it's possible to have the exact same control with the same name in two different TabPages, let me know if that's not true.
Continue reading...
I currently have a TabControl with a couple pages. On each TabPage are several textboxes. On TabPage1, for example, I would have some textboxes like Name, Number, and a few others. TabPage2 might have Name, Number, and some other textboxes that are not shared with TabPage. Ideally, any time a textbox that is "shared" between the TabPages is edited, I'd like the edits to occur in all instances of the shared textbox.
For example, if I typed "John Doe" in the Name textbox in TabPage1, the Name textbox in TabPage2 would be automatically filled out. I know I can create some subs that will update the values of the textboxes every time another one is updated, but this method means I'll a sub for every textbox I want to be automatically filled out from other textboxes. Is there a more efficient or less cumbersome way to do this? I don't think it's possible to have the exact same control with the same name in two different TabPages, let me know if that's not true.
Continue reading...