ArmedEmperor977
Member
In my application i have a main form that runs the application itself, but i have another form that shows an pdf doccument, when that view is open, i can't interact with the mais form.
In the mais form i have the call to the view form:
Dim Document As ClsViewPDFDocument
Document.Initialize(PDF_doc)
In the ClsViewPDFDocument it initialize like that:
Sub Class_Globals
Dim ViewDocPDF As Form
Dim ObjDoc As Document
End Sub
Public Sub Initialize(ObjDoc_ As Document)
ObjDoc = ObjDoc_
ViewDocPDF.Initialize("Document view",1200,1000)
ViewDocPDF.Title = "Document view"
ViewDocPDF.RootPane.LoadLayout("Ly_View_doc_PDF.bjl")
ViewDocPDF.ShowAndWait
End Sub
In the mais form i have the call to the view form:
Dim Document As ClsViewPDFDocument
Document.Initialize(PDF_doc)
In the ClsViewPDFDocument it initialize like that:
Sub Class_Globals
Dim ViewDocPDF As Form
Dim ObjDoc As Document
End Sub
Public Sub Initialize(ObjDoc_ As Document)
ObjDoc = ObjDoc_
ViewDocPDF.Initialize("Document view",1200,1000)
ViewDocPDF.Title = "Document view"
ViewDocPDF.RootPane.LoadLayout("Ly_View_doc_PDF.bjl")
ViewDocPDF.ShowAndWait
End Sub