VLFONE - Disable the CLOSE option in the main panel

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
wramirezch
Posts: 6
Joined: Tue May 18, 2021 11:35 pm

VLFONE - Disable the CLOSE option in the main panel

Post by wramirezch »

Capture.JPG
Capture.JPG (31.1 KiB) Viewed 65982 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.
davidbalansa
Posts: 92
Joined: Mon Feb 01, 2016 10:08 am

Re: VLFONE - Disable the CLOSE option in the main panel

Post 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.
Post Reply