CloseAction caFree doesn't close form
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
-
Reporter name: Zeljan Rikalo
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
- Reporter name: Zeljan Rikalo
Description:
Simple example:
Create some form inside your app like this
with MyForm.Create(NiL) do
Show;
put CloseAction := caFree in OnClose() of MyForm.
put one button on to form, assign OnClick() of button ,and
write Close; inside event.
Now start app and call your form. If we click button, it calls Close()->Release(), but nothing happens, form is still visible.
Modal forms works OK.
Mantis conversion info:
- Mantis ID: 9155
- Version: 0.9.23 (SVN)
- Monitored by: » @zeljan1 (Zeljan Rikalo)
- Target version: 1.4