Loose member content in instance reference in TForm
Original Reporter info from Mantis: WDB463
-
Reporter name:
Original Reporter info from Mantis: WDB463
- Reporter name:
Description:
- One form set a reference to a instance member of a second form
- During show of the second form the instance member and there member can be uses
- During later access to the instance member the member of them are lost and make a wrong access (random values or exception)
Steps to reproduce:
- Start the project
- Click to show Form2 --> ShowMessage in Form2.FormShow works correct
- Click "ShowMessage" button in Form2 --> ShowMessage in Form2.Button1Click gives random values or exception
- Repeat last Click in case of random value
Additional information:
- Effect is at all member types of TTest
- not tested with other classes than TForm
Mantis conversion info:
- Mantis ID: 19390
- Build: 30406