PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Alt + F4
Alt + F4
Started by fernando, Jan., 22 2021 7:33 PM - 1 reply
Connect yourself…
fernando
#1
Posted on January, 22 2021 - 7:33 PM
hello a question disable Alt + F4 keys in a window so that it does not close, thanks
Report
0
0
Geoff
#2
Registered member
22 messages
Popularité : +2 (2 votes)
Posted on January, 23 2021 - 12:54 AM
In one of my projects I wanted the window to minimize instead of closing so what I did was:
1) On the window in question I created a button and moved it off the window so it wouldn't show when the window was showing.
2) In the description for the button, in the UI tab, I set the Hotkey to Alt+F4.
3) In the code for the button in the "Click on BTN_MyButton" event I placed the code Iconize(WindowName)
If my instructions above are not clear then please go to
https://windev.com.au/resources.html
, and in the left hand pane, click on Video 5.
Best Regards,
Geoff
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text