Hello.
I use Embarcadero XE3 c++ width alpha skin 11.21 (AC package with sources lifetime license).
put TsSkinManager1 into form
Select a skin (important)
sSkinManager1 must be active (important)
put TsButton (sButton1) into form
put TsPanel (sPanel1) into form
put TsDateEdit (or TsDirectoryEdit or TsFilenameEdit) into sPanel1
on the sButton1 OnClick event put:
void __fastcall TForm1::sButton1Click(TObject *Sender)
{
sPanel1->Parent=NULL;
sDateEdit1->Enabled=false;
sDateEdit1->Enabled=true;
}
Run the application and click the button
you get the error : 'EInvalidOperation exception'
if sSkinManager1 is inactive there is no error
bye