Page 1 of 1
VLFONE - Disable the CLOSE option in the main panel
Posted: Wed Jun 18, 2025 6:54 am
by wramirezch

- Capture.JPG (31.1 KiB) Viewed 65983 times
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.
Re: VLFONE - Disable the CLOSE option in the main panel
Posted: Thu Jun 19, 2025 8:50 am
by davidbalansa
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.