Failed to create win32 control, error: 0 when showing an alphablend form in a pagecontrol tabsheet
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
Trying to show a form that has its alphablend property set to true inside a pagecontrol tabsheet gives error message
Failed to create win32 control, error: 0 : The operation completed succesfully
Relevant code:
Form2:=TForm2.Create(self);
Form2.Parent:=PageControl1.ActivePage;
Form2.Show;
See demo project.
Occurs on trunk Lazarus (FPC trunk x86) as well as 1.2.2
- Disabling alphablend also eliminates the bug/error message.
- Bug originally occurs in Turbobird project; could reproduce that on Windows 2000, but not on Debian unstable+Wine.
- Showing the form outside the tab works ok as well.