View previous topic :: View next topic |
Author |
Message |
sjl002 Master Cheater
Reputation: 0
Joined: 31 Aug 2013 Posts: 305
|
Posted: Sun Jun 12, 2016 3:57 am Post subject: Useful Question |
|
|
We have CEImage1,CEImage2,CEImage3,CEImage4.If we want, When click on CEImage1 go to(show) CEImage2 Then when click on CEImage3 go to(show) CEImage4.(such as (fling)trainers for swiching language).
Very Thanks
*SJL002*
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Jun 12, 2016 7:34 am Post subject: |
|
|
Set each one's Visible property to false except CEImage1.
Set each one's OnClick property to hide() itself and show() the next one.
|
|
Back to top |
|
 |
sjl002 Master Cheater
Reputation: 0
Joined: 31 Aug 2013 Posts: 305
|
Posted: Mon Jun 13, 2016 12:59 am Post subject: |
|
|
Oh,I can write lua script for this work very thanks for your help Zanzer
This is script:
Code: | function CEImage1Click(sender)
UDF1.CEImage4.visible = false
end
function CEImage3Click(sender)
UDF1.CEImage2.visible = false
UDF1.CEImage4.visible = true
end |
In properties visible for CEImage1,CEImage2,CEImage3 is true but visble for CEImage4 is false
|
|
Back to top |
|
 |
|