I have an MDI parent that has 2 child forms (frmScan and frmRoomList). I would like for frmScan to remain modal so that the user can not access frmRoomList. It is only there to show a list of items. All the work should be done on frmScan. The following returns an error:
Error: Form that is not a top-level form cannot be displayed as a modal dialog box
From what I have been reading, it is not possible to have an MDI form be the parent of a modal child. However, nothing i've read gives a workaround. So, does anyone have an idea how to accomplish this task?
Thanks in advance,
mwa
<><
Code:
Dim frmScan As New ScanItem
frmScan.MdiParent = Me.MdiParent
frmScan.ShowDialog()
From what I have been reading, it is not possible to have an MDI form be the parent of a modal child. However, nothing i've read gives a workaround. So, does anyone have an idea how to accomplish this task?
Thanks in advance,
mwa
<><