Page 1 of 1

VL Web: disable MouseOver property #PRIM_MD.List

Posted: Mon Oct 03, 2022 5:28 pm
by René Houba
Hi,

The #PRIM_MD.List component has a MouseOver property:
MouseOver.PNG
MouseOver.PNG (73.18 KiB) Viewed 17327 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 17327 times
But I want to disable this MouseOver behavior. Does anyone know how to do that?

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

Posted: Tue Oct 04, 2022 1:54 am
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

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

Posted: Tue Oct 04, 2022 5:21 pm
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 17220 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é

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

Posted: Tue Oct 04, 2022 10:02 pm
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?