NSWindowMBS Container

[code]Dim outputFile As FolderItem
outputFile = SpecialFolder.Desktop.Child(TextField1.Text)

dim doc as PDFDocumentMBS = new PDFDocumentMBS(outputFile)

n=new PDFViewMBS(0,0,ContainerControl11.Width,ContainerControl11.Height)

n.document = doc

dim w as NSWindowMBS = self.NSWindowMBS // view on container???

w.contentView.addSubview n[/code]

Hello, how can I show the content inside a container control 1 and that it fits the size advantage, please help

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.