VL Web: disable MouseOver property #PRIM_MD.List

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
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

VL Web: disable MouseOver property #PRIM_MD.List

Post by René Houba »

Hi,

The #PRIM_MD.List component has a MouseOver property:
MouseOver.PNG
MouseOver.PNG (73.18 KiB) Viewed 17326 times
This is a runtime property, so it cannot be written.

So if you run your program, the property value becomes True or False and field values in the listentry gets their values:
MouseOverList.PNG
MouseOverList.PNG (55.16 KiB) Viewed 17326 times
But I want to disable this MouseOver behavior. Does anyone know how to do that?
adale
Posts: 212
Joined: Wed Apr 08, 2020 9:18 pm
Location: Poplarville, MS

Re: VL Web: disable MouseOver property #PRIM_MD.List

Post by adale »

Rene,
Not sure if this is what you are looking for but have you tried enabled := false

https://docs.lansa.com/15/en/lansa016/c ... NABLED.htm
Arlyn Dale
Servias LLC
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: VL Web: disable MouseOver property #PRIM_MD.List

Post by René Houba »

Hi Arlyn,

Thanks for your reply. I already tried this, but this property cannot be written:
MouseOver to False.PNG
MouseOver to False.PNG (6.33 KiB) Viewed 17219 times
I get the same error message when I try to set it false for the ancestor #PRIM_CTRL.

Any other suggestions?

Kind regards,
René
adale
Posts: 212
Joined: Wed Apr 08, 2020 9:18 pm
Location: Poplarville, MS

Re: VL Web: disable MouseOver property #PRIM_MD.List

Post by adale »

Rene,
Sorry about that. Looking at this a bit closer, I believe the "mouseover" property is required so that you can code "events" items such as item MouseEnter, MouseHover, MouseLeave, etc.
If your desired result is to prevent the mouse over in the list on the left, from presenting data in the cells on the right, could you create an event that doesn't retrieve any list data, but just blank or empty fields? Not sure your exact desired result?
Arlyn Dale
Servias LLC
Post Reply