http://bugs.winehq.org/show_bug.cgi?id=29403
Bug #: 29403 Summary: Pagecontrol AllowChange doesn't work Product: Wine Version: 1.3.35 Platform: x86 URL: http://netikka.net/dev/allowchange.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: ocean04@suomi24.fi Classification: Unclassified
Lazarus sample: http://netikka.net/dev/allowchange.exe
It shouldn't be possible to change tabs, when checkbox is unchecked.
Code is just:
procedure TForm1.PageControl1Changing(Sender: TObject; var AllowChange: Boolean); begin AllowChange:=Checkbox1.Checked; end;
Workaround winetricks comctl32