The following sample code conditionally
goes back to the form - perhaps to force the user to complete some input.
if MessageBox("Deactivate?", 4) = 6
DoDefault()
else
ThisForm.Show()
endif
Is it possible to avoid the form losing focus in the first place? I mean, just to avoid clumsy display.
TIA, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)