Changing properties

Use this Forum to post your “How to …” questions about your use of aXes. This is not a technical support forum. Both the aXes Support Team at LANSA and other aXes customers may answer your questions. LANSA cannot guarantee the accuracy of any information posted by customers.

Moderator: jeanmichel

Post Reply
Joerg Hamacher
Posts: 16
Joined: 09 Mar 2016, 00:29

Changing properties

Post by Joerg Hamacher » 09 Aug 2019, 23:45

Hi,
can anybody help me and tell me how the java script should look like for this request - I do not get it :-(

If the mouse hovers over a push the background color shall be changed like this (I suppose property "onFocus" is the correct one?):
if application theme is "Orange" the "onFocus" property of a push button shall be set to background-color = "Grey".
Otherwise background-color should be "Blue".

And it would be nice if the cursor changes to "Hand" if the button gets in focus - can this be done in any way?

Many thaks in advance - have a nice time,
Joerg

User avatar
jeanmichel
Posts: 96
Joined: 23 May 2014, 11:37
Location: Sydney

Re: Changing properties

Post by jeanmichel » 16 Aug 2019, 12:24

Hi Joerg,

The events you are looking for are "mouseenter" and "mouseleave" respectively.
Unfortunately they are not implemented for the push button extension.

In order to request an enhancement to the product please contact LANSA Support.
Regards,

Jean-Michel Rapin

LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |

Post Reply