Lesson One -- Buttons become White after first test
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 24
- Joined: Mon Jan 16, 2012 10:39 am
- Location: Maryland USA
- Contact:
Lesson One -- Buttons become White after first test
I followed the instructions in the video, but when i tested the applications and clicked on all the buttons it worked as intended but when I stopped the Run mode the buttons on the bottom of my stack were white and never turned back to Blue. when I tested it with the Ipad emulator I could not even see the buttons. any thoughts or help?
Re: Lesson One -- Buttons become White after first test
I also noticed this, but I think it may be because it's a MobGUI Tab Button rather than a normal button. Looking at the MobGUI properties for the Tab button, it only has 3 settings - Text Color, Tab BG and Touch Text. I'm guessing the trick may be to create a if...then... script in each of the buttons to reset it to the normal colour if it has not been selected?
-
- VIP Livecode Opensource Backer
- Posts: 219
- Joined: Mon Dec 05, 2011 5:35 pm
- Location: Kanagawa, Japan
Re: Lesson One -- Buttons become White after first test
I'm not sure if I understand your problem but you might try putting a tab bar behind the buttons. If your buttons are at the bottom of the screen then simply drag a tabbar onto the stack and it will snap into place. You might need to adjust the layer setting either from the Project Manager or the properties menu so the it is behind the buttons not in front and hiding them.
The buttons behave as radio buttons and only one is blue at any given time. The others are still there but difficult to see on a white background. You can also try adding a BG by just dragging it onto the screen. It will snap to fill the current stack size.
Not sure if that is what you are referring to. I think there might be issues when you switch between device sizes on the MobGui panel. I had buttons dissappear after changing the device size back and forth a lot. But that doesn't sound like the same thing that happened to you.
Note: in the end, I was able to replicate the video lesson without any if...then... scripts in the buttons.
Coffee16
The buttons behave as radio buttons and only one is blue at any given time. The others are still there but difficult to see on a white background. You can also try adding a BG by just dragging it onto the screen. It will snap to fill the current stack size.
Not sure if that is what you are referring to. I think there might be issues when you switch between device sizes on the MobGui panel. I had buttons dissappear after changing the device size back and forth a lot. But that doesn't sound like the same thing that happened to you.
Note: in the end, I was able to replicate the video lesson without any if...then... scripts in the buttons.
Coffee16
Re: Lesson One -- Buttons become White after first test
Oh yeah, why was I trying to over-complicate things with code when a simple background image would suffice...
-
- VIP Livecode Opensource Backer
- Posts: 24
- Joined: Mon Jan 16, 2012 10:39 am
- Location: Maryland USA
- Contact:
Re: Lesson One -- Buttons become White after first test
Coffee1633 wrote:I'm not sure if I understand your problem but you might try putting a tab bar behind the buttons. If your buttons are at the bottom of the screen then simply drag a tabbar onto the stack and it will snap into place. You might need to adjust the layer setting either from the Project Manager or the properties menu so the it is behind the buttons not in front and hiding them.
The buttons behave as radio buttons and only one is blue at any given time. The others are still there but difficult to see on a white background. You can also try adding a BG by just dragging it onto the screen. It will snap to fill the current stack size.
Not sure if that is what you are referring to. I think there might be issues when you switch between device sizes on the MobGui panel. I had buttons dissappear after changing the device size back and forth a lot. But that doesn't sound like the same thing that happened to you.
Note: in the end, I was able to replicate the video lesson without any if...then... scripts in the buttons.
Coffee16
I relooked at the project and I cant tell what is going on the properties for the tab buttons look fine and they all have a background. I will try again to do the project from scratch and this time I will take a video to document what is going on.
-
- Livecode Opensource Backer
- Posts: 66
- Joined: Fri Mar 15, 2013 3:54 pm
- Location: Jackson Hole, Wyoming, USA
Re: Lesson One -- Buttons become White after first test
My buttons did the same thing. But when I re-watched that part of the video, Elanor's did too (at 2:55 from the end). We will probably fix the button visuals in a later lesson, likely by assigning a graphic to each button.
-
- VIP Livecode Opensource Backer
- Posts: 24
- Joined: Mon Jan 16, 2012 10:39 am
- Location: Maryland USA
- Contact:
Re: Lesson One -- Buttons become White after first test
Just re-watched it and you are right. ok Feel much better.cavenewt wrote:My buttons did the same thing. But when I re-watched that part of the video, Elanor's did too (at 2:55 from the end). We will probably fix the button visuals in a later lesson, likely by assigning a graphic to each button.