W
Wapiti
I created my own msgbox (frmMsgBox) because my users want to use their
fingers (gloved) when in the field - the standard msgbox has too small of
buttons
My code calls this custom msgbox using me.showdialog() within its own public
function "Display" (see below). It may not be the best way of doing it, but
it has been working --- until now. I'm finding that every once in a while,
the displayed msgbox form loses focus and is tucked behind the calling form.
Never to be found again by a user unless I get called and look at Start |
Settings | System | Memory | Running Programs. Its running, but not
displaying on top. I can't seem to recreate it so I can continuously
duplicate it. I know the code below may not be much help, but maybe??
Please feel free to ask if I can help clarify.... after doing some ng
searches, maybe this is a known issue. Not seeing any answers, nor
resolution, though.
Thanks,
Mike
Forms call frmMsgBox as such:
modGlobal.bas contains:
<snip>
public fMsgBox as new frmMsgBox 'Initiate the form
<snip>
frmMsgBox:
<snip>
'Public function that other forms use to open this msgbox form
public function Display (<setup_parms>) as msgboxReturnResults 'this return
value is a public enum
<snip>
me.ShowDialog()
Return rtn
End Function
frmTest:
<snip>
If fMsgBox.Display("Hello World", frmMsgBox.msgboxButtonTypes.YesNo) =
frmMsgBox.msgboxReturnResults.clickedYes Then
'do something
EndIf
<snip>
fingers (gloved) when in the field - the standard msgbox has too small of
buttons
My code calls this custom msgbox using me.showdialog() within its own public
function "Display" (see below). It may not be the best way of doing it, but
it has been working --- until now. I'm finding that every once in a while,
the displayed msgbox form loses focus and is tucked behind the calling form.
Never to be found again by a user unless I get called and look at Start |
Settings | System | Memory | Running Programs. Its running, but not
displaying on top. I can't seem to recreate it so I can continuously
duplicate it. I know the code below may not be much help, but maybe??
Please feel free to ask if I can help clarify.... after doing some ng
searches, maybe this is a known issue. Not seeing any answers, nor
resolution, though.
Thanks,
Mike
Forms call frmMsgBox as such:
modGlobal.bas contains:
<snip>
public fMsgBox as new frmMsgBox 'Initiate the form
<snip>
frmMsgBox:
<snip>
'Public function that other forms use to open this msgbox form
public function Display (<setup_parms>) as msgboxReturnResults 'this return
value is a public enum
<snip>
me.ShowDialog()
Return rtn
End Function
frmTest:
<snip>
If fMsgBox.Display("Hello World", frmMsgBox.msgboxButtonTypes.YesNo) =
frmMsgBox.msgboxReturnResults.clickedYes Then
'do something
EndIf
<snip>