uText & uTabText
Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
uText & uTabText
Hi there,
doesn't uText and uTabText not work any longer in the latest mobGUI?
I tried to change a lable of a field to the name of the pushed button, like...
set the contents of field MyField to the uTabText of me
doesn't uText and uTabText not work any longer in the latest mobGUI?
I tried to change a lable of a field to the name of the pushed button, like...
set the contents of field MyField to the uTabText of me
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
Re: uText & uTabText
It sounds like you are going through the summer school 1 lessons using the most recent version of MobGUI. If this is the case, there are some big changes. I believe you are looking for the newer syntax-
mgText and mgOptionText
If you are indeed going through the Summer School stacks, I believe Elanor posted a short video explaining the differences in the lesson materials.
Hope this helps!
--Sefro
edit: Here's where it should be:
mgText and mgOptionText
If you are indeed going through the Summer School stacks, I believe Elanor posted a short video explaining the differences in the lesson materials.
Hope this helps!
--Sefro
edit: Here's where it should be:
Last edited by sefrojones on Sun Jun 01, 2014 9:17 am, edited 1 time in total.
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: uText & uTabText
Hehe, yes I'm going through Summer School 1 to get a fresh up on LiveCode, because I didn't get time to use it in the last 10-12 month.
Ok, but do you know where to find this video?
Ok, but do you know where to find this video?
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
Re: uText & uTabText
It should be in your lessons in your account. I edited an image into my last post.
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: uText & uTabText
Ohhh.. ok - I skipped the pre-lesson
Thanks a lot!
Thanks a lot!
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: uText & uTabText
Hm.. this is how it looks in my Summer School 1 - no special video for this x_x
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
Re: uText & uTabText
Hmmm. I think if you e-mail support, it's possible they would add it to your lessons somehow. In the meantime, the MobGUI site http://mobgui.com/docs.php?CLEAR=1 has searchable documentation.
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: uText & uTabText
Thank you, I write the support right now
Re: uText & uTabText
Please see the posting - in this forum - entitled "Setting mobGUI 1.24 fields for desktop use " - the MobGui developer has confirmed that the use of uText is not currently supported in Version 1.24. Unfortunately, V1.24 took away several areas that had worked just fine - this being one of them. Another was the ability to move text in a button up/down.
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: uText & uTabText
Ok, now I rebuild the stack with the new mobGUI, but this still doesn't work:
set the mgText of group "NavTitle" to the mgOptionText of me
Which I use in the group (grouped IconButtons for the tab-bar) to set the name.
But if I put the following line directly in the mouseUp of the button itself, it works:
set the mgText of group "NavTitle" to the mgText of me
So, why doesn't the first line work?
set the mgText of group "NavTitle" to the mgOptionText of me
Which I use in the group (grouped IconButtons for the tab-bar) to set the name.
But if I put the following line directly in the mouseUp of the button itself, it works:
set the mgText of group "NavTitle" to the mgText of me
So, why doesn't the first line work?
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: uText & uTabText
Hi, DevBoyLars - if you want to catch the mouseUp, etc. events with a group instead of the individual button objects, make sure you pass the message in the button's script ....
then the group will receive the message.
Code: Select all
on mouseDown
pass mouseDown
end mouseDown
LiveCode Development & Training : http://splash21.com
Re: uText & uTabText
If you are using MobGui 1.24 the navbar text now requires that you use a label and put the text on the label. In the earlier releases of mobgui we could control the text of the navbar directly without that step.
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: uText & uTabText
I did both, but it doesn't work.
I uploaded two version. One that I want to get work (with "pass") and one, which already works, but with bad code -.-
Maybe someone can help me
I uploaded two version. One that I want to get work (with "pass") and one, which already works, but with bad code -.-
Maybe someone can help me
- Attachments
-
- Archiv.zip
- (16.52 KiB) Downloaded 401 times
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
Re: uText & uTabText
I think mgOptiontext only works with groups of option buttons, and since you are using icon buttons, it may not work. I added a (sloppy) group of option buttons that work. You'll notice the buttons don't have mouseup handlers in them at all, and the script is in the group .Hope this helps.
--sefro
--sefro
- Attachments
-
- TestAppOption.zip
- (11.32 KiB) Downloaded 500 times
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: uText & uTabText
Thank you - I know the Option-Button-Way, but these buttons are without an icon, which is needed