tufanv Expert Licensed User Longtime User Apr 3, 2015 #1 Hello I want to create random %x values each time but i am failing i am using dim p(9) as int for i=1 to 8 p(i) = rnd(i*30,(i*30+30)) next so i get some p values for example : p(1) = 37 p(2) = 71 p(3) = 103 now i want to place my text1.text at these values %x for example with first click i want text1.left = 37%x wih second click i wantr text2.left = 71%x ... But i cant use p values with %x What can i do for this ty
Hello I want to create random %x values each time but i am failing i am using dim p(9) as int for i=1 to 8 p(i) = rnd(i*30,(i*30+30)) next so i get some p values for example : p(1) = 37 p(2) = 71 p(3) = 103 now i want to place my text1.text at these values %x for example with first click i want text1.left = 37%x wih second click i wantr text2.left = 71%x ... But i cant use p values with %x What can i do for this ty
mangojack Expert Licensed User Longtime User Apr 3, 2015 #2 Code: Copy text1.Left = PerXToCurrent(p(2)) Last edited: Apr 3, 2015 Upvote 0