I would like to create an owned form that is owned by a modal dialog rather
than a modeless form. The idea is the following
Dim dlg as new Mydlg
with dlg
.ShowDialog
.Dispose
end with
class mydlg
Private m_tbx as AsssetSelector
friend sub mydlg_Load
m_tbx = New AssetSelector
with m_tbx
.owner = Me
.show
end with
end sub
The form m_tbx is created but doesn't received messages and so is not
terribly useful.
Is there some way to get this to work? What I want is a tool form that
floats above the dlg but is not confined to the interior of the dlg. I use
this technique in other instances in which the owner is a modeless form but
don't see how to get it to work if the owner is a modal dlg.
--
JB
than a modeless form. The idea is the following
Dim dlg as new Mydlg
with dlg
.ShowDialog
.Dispose
end with
class mydlg
Private m_tbx as AsssetSelector
friend sub mydlg_Load
m_tbx = New AssetSelector
with m_tbx
.owner = Me
.show
end with
end sub
The form m_tbx is created but doesn't received messages and so is not
terribly useful.
Is there some way to get this to work? What I want is a tool form that
floats above the dlg but is not confined to the interior of the dlg. I use
this technique in other instances in which the owner is a modeless form but
don't see how to get it to work if the owner is a modal dlg.
--
JB