E electro179 Active Member Licensed User Longtime User Dec 14, 2012 #1 hi I'd like stock a color in the variable variable= colors.red thank you
margret Well-Known Member Licensed User Longtime User Dec 14, 2012 #2 You can use: B4X: Dim MyVarColor As Long MyVarColor = Colors.Red Last edited: Dec 14, 2012 Upvote 0
klaus Expert Licensed User Longtime User Dec 14, 2012 #3 You shouldn't use a Long ! You should use an Int. B4X: Dim MyVarColor As Int MyVarColor = Colors.Red Color.xxx returns an Int. Best regards. Upvote 0
You shouldn't use a Long ! You should use an Int. B4X: Dim MyVarColor As Int MyVarColor = Colors.Red Color.xxx returns an Int. Best regards.
margret Well-Known Member Licensed User Longtime User Dec 14, 2012 #4 I know better:signOops: I typed Int at first and you can see I edited the post and stupid me went and changed it to Long. I am having a bad day.. Upvote 0
I know better:signOops: I typed Int at first and you can see I edited the post and stupid me went and changed it to Long. I am having a bad day..