EInvalidOperation exception

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37399
    Alpha_User
    Participant

    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

    #56382
    Support
    Keymaster

    Hello!

    This error is fixed in the version 12. Can you upgrade to this version?

    #56441
    Alpha_User
    Participant

    Hello,

    Ok, I will try on next stable release.

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.