Hi, I'm having trouble disabling the CLOSE option in the main panel.
Another option would be to remove the three dots from the main panel.
Using VLF-ONE.
I attach the example image.
VLFONE - Disable the CLOSE option in the main panel
-
wramirezch
- Posts: 6
- Joined: Tue May 18, 2021 11:35 pm
-
davidbalansa
- Posts: 92
- Joined: Mon Feb 01, 2016 10:08 am
Re: VLFONE - Disable the CLOSE option in the main panel
Hi,
What is the reasoning behind disabling the close option (or the menu altogether)? It provides useful context menu options based on what objects you have open.
If it's to stop unsaved data being lost when closing a typical VLFONE command handler try:
https://docs.lansa.com/15/en/lansa048/i ... rycanClose
If it is a RAMP based command handler try the avRAMP_QueryCanClose advanced method:
https://docs.lansa.com/15/en/lansa050/i ... 0_2650.htm
Hope this helps.
What is the reasoning behind disabling the close option (or the menu altogether)? It provides useful context menu options based on what objects you have open.
If it's to stop unsaved data being lost when closing a typical VLFONE command handler try:
https://docs.lansa.com/15/en/lansa048/i ... rycanClose
If it is a RAMP based command handler try the avRAMP_QueryCanClose advanced method:
https://docs.lansa.com/15/en/lansa050/i ... 0_2650.htm
Hope this helps.