Your custom property get is in fact used in the events, but the value of the property is blank at the time when event is triggered so the value of the textbox is blank too. If your property get had returned prpTest= "Test" instead of prpTest = mTest you would have had results in the textbox...
@Micron: you are correct, I probably should have opened a new thread. To me it is the same issue really, but I absolutely see your point. Sorry for confusion.
Thanks to all for helpful suggestions!
It may be that I completely misinterpreted Y Wallys question.
Original question by Y Wally was...
I'm confused. We must be talking about different things??
Maybe you mean 2 forms (designtime) with same name? That for sure is not possible.
I am talking about 2 object instances (runtime) of the same 1 form (designtime).
And the Forms Collection, the collection that keeps track of (only)...
What y wally wanted to find in his orginal post was the relevant field to use (master link field) for each of his subforms. Purpose was (unless mistaken) to be able to code an Add/insert button in the subform.
But if he also had multiple instances of the Main form (so 2 or more of the same...
Hello everyone!
Bit old thread but not sure the question was fully answered. And what if the question is same as original post, but the form is used with multiple instances of the main form too? Is using the forms collection still best option in that case or is there some other way?
Seems weird...