eps Expert Licensed User Longtime User Jun 28, 2011 #1 Is this possible, or should it be a button or something? I've got a label which displays a URL, but I would like it to be selectable, so that a user can go to a website...
Is this possible, or should it be a button or something? I've got a label which displays a URL, but I would like it to be selectable, so that a user can go to a website...
XverhelstX Well-Known Member Licensed User Longtime User Jun 28, 2011 #2 SO you want your label clickable? Open your designer, make your label, Select tools - Generate Members -[-] label1 - select click or long click and click on generate members. (This way you can see all available instructions for your view. Now a sub is made on your IDE with Code: sub Label1_click 'Place your "go to -url" code here. end sub XverhelstX Upvote 0
SO you want your label clickable? Open your designer, make your label, Select tools - Generate Members -[-] label1 - select click or long click and click on generate members. (This way you can see all available instructions for your view. Now a sub is made on your IDE with Code: sub Label1_click 'Place your "go to -url" code here. end sub XverhelstX
XverhelstX Well-Known Member Licensed User Longtime User Jun 28, 2011 #4 Another way you can do this without the designer is the following: In your IDE, start typing "Sub " (don't forget the space behind the sub) and press on the "TAB"-Sign on your keyboard. A popup will appear and you will be able to select a label and then click or long click. Then don't forget to change the label name to your label object. XverhelstX Upvote 0
Another way you can do this without the designer is the following: In your IDE, start typing "Sub " (don't forget the space behind the sub) and press on the "TAB"-Sign on your keyboard. A popup will appear and you will be able to select a label and then click or long click. Then don't forget to change the label name to your label object. XverhelstX
Erel B4X founder Staff member Licensed User Longtime User Jun 28, 2011 #5 This tip and more are available here: http://www.b4x.com/forum/basic4android-getting-started-tutorials/6546-ide-tips.html Upvote 0
This tip and more are available here: http://www.b4x.com/forum/basic4android-getting-started-tutorials/6546-ide-tips.html