Clicking on a menu to show form oForm is not identical to Alt + whatever key combination, even though the exact same code is executed.
Using the mouse, the called top-level form stays on top of the other forms (if any), but using the keboard it's minimized and has to be activated again from the taskbar.
The code that gets executed is
Lparameters cForm
Local oForm AS String, oShowForm AS String
oForm ='o' + cForm
With This
oShowForm = '.' + oForm
Try
&oShowForm..Show()
Catch
.AddProperty(oForm,Null)
&oShowForm = Createobject(cForm)
&oShowForm..Show()
Endtry
Endwith
If you have any suggestions or comments I'd like to hear from you.
TIA & BR
Peter Pirker
Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?
(Woody Allen)