Designer Scripts Problem

Theera

Expert
Licensed User
Longtime User
Hi all,
Could I use this command If...Then in Designer Scripts. I need use this below
If Activity.Height > Activity.Width Then
'the portrait done
else
'the LandScape done
End If

,If Answer is No ,Why cann't use obj.setLeftandRight(%?x,%?y) in program?

Best Regards
Theera
 
Top