Show Hand Cursor in Flex Components

There may be requirement in our applications, where we need to make some link or image or any control work like a button. Or may be we need to put a hand cursor above some of the component. You may be surprised that ‘userHandCursor=true’ is not bringing the hand cursor to some of the components. The trick is fairly simple, just give like this :

<mx:Text useHandCursor=”true”

buttonMode=”true”

mouseChildren=”false”

text=’Hand Cursor’/>

Bingo!!

Happy Coding 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: