Label text editing

Hello everybody,
Sorry for following basic and stupid question, but I am a beginner and I do not have a lot of experience with programming :sign0013:
So I created a label with the Designer and I want to write a command in b4a to set a text on that label. But to make it, first I should make a command to recognize the view (I think so). I tried doing it:
Dim lbl As View
lbl.Text = "text"
But it does not work (compiler shows an error in that line) :BangHead:
Please help me!
And sorry for my bad English:signOops:
 

Theera

Expert
Licensed User
Longtime User
first since the designer must access: tools -> generatemembers and click label1
After this you can assign a value to the label: Label1.Text = "message"

statement is not required: dim lbl as view, will be automatically remember


Sorry for my bad English!


Hi all,
You are looking for this,aren't you?
 
Upvote 0
Top