Jump to content

Creating TUniTabSheet In Code Results In AV


mos

Recommended Posts

I am dynamically creating a TUniTabSheet and setting the ImageIndex := 0 to for a TUniNativeImageList that has already been assigned to an existing TUniPageControl.

When I do this I am getting an AV in the following source code:

function TUniCustomPageControl.GetImages: TUniCustomImageList;
begin
  Result := FImages;
end;

I have attached a test project and am using UniGUI 1534 and Delphi XE2.

 

TestTabSheet.zip

Link to comment
Share on other sites

2 hours ago, mos said:

I am dynamically creating a TUniTabSheet and setting the ImageIndex := 0 to for a TUniNativeImageList that has already been assigned to an existing TUniPageControl.

When I do this I am getting an AV

Hello,

  ...
  FTestTab.PageControl := UniPageControl1;
  ...

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...