Viewpoint Forums
Viewpoint Forums
Viewpoint Tips, Tricks & Hacks
Dynamic Text Color|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
If I have an instance that is just written text how do i dynamically change the text color when the mouse goes over the text?
|
||
|
|
Member |
Hello,
Is the instance a LayerData instance? |
|||
|
|
Member |
looks like this
<MTSInstance Name="Text"> <LayerData Name="Callout" Text="Enter text here" TextColor="0 0 0" Font="Arial" Language="English" TextSize="14" DstPin="0 0" SrcPin="0 0" SrcPinRel="0" DstPinRel="0" DstPinFlag="0" AlwaysVisible="1" HitTestAlpha="0" /> </MTSInstance> |
|||
|
|
Member |
Do this:
<MTSInteractor Name="myinteractor" > <Target Name="MTSInstance.Text" /> <MTSHandle Event="MouseEnter" Action="MTSAssignProperty" Target="Callout.tclr" Value="0.32 1 0.655" /> </MTSInteractor> |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

