i have two form Form1 and Form2 that are inherited from FormParent. in FormParent i have a protected variable Modified which will be set to true whenever anything has been modified.
Form1 and Form2 are docked into tabpages. what i want to do is that when i close the tabpages, i want to get the Modified values of Form1 and Form2 to validate before allowing the tabpage to be removed.
how do i go about getting these values? i tried the following but it didn't get exposed:
thanks again in advance.