S StarinschiAndrei Active Member Licensed User Longtime User May 10, 2015 #1 Hello everybody Could somebody tell me how can i obtain a rotate label ? similar to attached image ? Thank you
Hello everybody Could somebody tell me how can i obtain a rotate label ? similar to attached image ? Thank you
Daestrum Expert Licensed User Longtime User May 10, 2015 #2 Try B4X: label1.Text = "hello" jo = label1 jo.RunMethod("setRotate",Array(270.0)) ' needs float value Upvote 0
Try B4X: label1.Text = "hello" jo = label1 jo.RunMethod("setRotate",Array(270.0)) ' needs float value
S StarinschiAndrei Active Member Licensed User Longtime User May 10, 2015 #3 Daestrum said: Try B4X: label1.Text = "hello" jo = label1 jo.RunMethod("setRotate",Array(270.0)) ' needs float value Click to expand... Thank you it work fine Upvote 0
Daestrum said: Try B4X: label1.Text = "hello" jo = label1 jo.RunMethod("setRotate",Array(270.0)) ' needs float value Click to expand... Thank you it work fine
Erel B4X founder Staff member Licensed User Longtime User May 11, 2015 #4 As a small sub: B4X: Sub RotateNode(n As Node, Degree As Double) Dim jo As JavaObject = n jo.RunMethod("setRotate", Array(Degree)) End Sub Upvote 0
As a small sub: B4X: Sub RotateNode(n As Node, Degree As Double) Dim jo As JavaObject = n jo.RunMethod("setRotate", Array(Degree)) End Sub