Problem with constructor of TacTabControlWnd

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33397
    weind
    Participant

    Hi,

    we had some problems with TacTabControlWnd which resulted in access violations. They occur when using TTabbedNotebook and only in the current version of AlphaControls (although I cannot exactly say, in which verion the problems started).

    The solution for this seems to be a change in the order of the two lines in the constructor of TacTabControlWnd:
    First
    if SkinSection = '' then ASkinData.SkinSection := s_PageControl;
    and then
    inherited;
    works fine for us.

    Could you please check if this changes makes sense and, if so, incorporate the change in the next release?

    Thanks!

    Mathias

    #41069
    Support
    Keymaster

    Hello Mathias and thanks for message!

    This problem must be researched more because your solution is not universal (ASkinData may be Nil in some cases).
    Could you help me reproduce a problem? I can't receive an error in tests..

    #41087
    weind
    Participant

    Unfortunately, at the moment I cannot produce a simpla reproduction script or program. Maybe I can do that later (although I don't think so). Perhaps someone else has the same problem and can help to solve it.

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