JMB Active Member Licensed User Longtime User Jul 3, 2017 #1 Embarrassed to have to ask this. I want to put a variable and some text together on a label. I can't find the way to combine two different variable types together. There doesn't appear to be the .ToString() property like .NET has... so I've tried all sorts of combinations to try and do this.... Dim Frequency as Long = 123456789 label.text = Frequency + " Hz" I just want the label to show "123456789 Hz" Sorry for such a basic question but I cannot find anything that tells me how to do this. JMB
Embarrassed to have to ask this. I want to put a variable and some text together on a label. I can't find the way to combine two different variable types together. There doesn't appear to be the .ToString() property like .NET has... so I've tried all sorts of combinations to try and do this.... Dim Frequency as Long = 123456789 label.text = Frequency + " Hz" I just want the label to show "123456789 Hz" Sorry for such a basic question but I cannot find anything that tells me how to do this. JMB
stevel05 Expert Licensed User Longtime User Jul 3, 2017 #2 Should be Code: Copy label.text = Frequency & " Hz" Upvote 0
JMB Active Member Licensed User Longtime User Jul 3, 2017 #3 Bizarre. I was sure that I tried that. Thanks Steve. Upvote 0