I
Irshad Alam
How to stop/disable USER from minimizing the Form ?.
I tried all the option provided in the form properties but
was unable to do as I wanted, My situation is that my
First Form/Switch Board is been maximized by code by
myself, so that all the forms have complete view on
screen/form, I dont want the USER to minimise my any of
the form. I had an idea to set up a code, when ever user
will try to minimize, the code will automatically maximize
it, But where to adjust the code. Because, if I set the
properties of Max and Min Button to "No", it ok. But the
restore button remains on the form and clicking that the
user can minimise it. Therefore, I want to disable both
the Minimise button/Restore window button. Is it possible,
If yes, How?.
How to disable a keyboard key globally, I mean that I want
to disable for example F1 key or F12 key or Control key in
the complete database. I were using the code as below :
If vbkeycode = VbkeyF1 then
KeyCode = 0
End If
The above code, works normal on the form On key press
event, but there are about 35 forms, which a users are
using, I want to disable the key globally. How to do?.
Thanking you all for advise in advance.
Regards.
I tried all the option provided in the form properties but
was unable to do as I wanted, My situation is that my
First Form/Switch Board is been maximized by code by
myself, so that all the forms have complete view on
screen/form, I dont want the USER to minimise my any of
the form. I had an idea to set up a code, when ever user
will try to minimize, the code will automatically maximize
it, But where to adjust the code. Because, if I set the
properties of Max and Min Button to "No", it ok. But the
restore button remains on the form and clicking that the
user can minimise it. Therefore, I want to disable both
the Minimise button/Restore window button. Is it possible,
If yes, How?.
How to disable a keyboard key globally, I mean that I want
to disable for example F1 key or F12 key or Control key in
the complete database. I were using the code as below :
If vbkeycode = VbkeyF1 then
KeyCode = 0
End If
The above code, works normal on the form On key press
event, but there are about 35 forms, which a users are
using, I want to disable the key globally. How to do?.
Thanking you all for advise in advance.
Regards.