hi,
i am setting the base form form variables in the child form but it doesnt seem to be reflecting. any help?
hi,
i am setting the base form form variables in the child form but it doesnt seem to be reflecting. any help?
When working with inheritance (or with objects in general) it is best practice not to change form variables/properties directly but rather implement a method to change them. That way the responsiblity for internal changes stay within the object itself and dependencies can be avoided as much as possible. Also when you define a method to change the value you have the choice of overriding the method in the child form.
Anyway to simulate your problem, I made a simple example with a parent form with a numeric form variable in it (with a default value of 0) and subclassed it. In the onLoad of frmChild I set the formvar to 1 and that worked just fine. Maybe you can elaborate on what you want to achieve?