MobGui V1.0, Normal Button & Icon Option button issue
Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21
MobGui V1.0, Normal Button & Icon Option button issue
Hi John,
With 3 icon option buttons placed in a Tab-bar and an normal individual button placed in a card, while clicking on the normal button one icon Option button is highlighted with the iOS7 theme! That was the issue i talked about but doesn't seem to have been resolved. Any fix or workaround ?
Thx
With 3 icon option buttons placed in a Tab-bar and an normal individual button placed in a card, while clicking on the normal button one icon Option button is highlighted with the iOS7 theme! That was the issue i talked about but doesn't seem to have been resolved. Any fix or workaround ?
Thx
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: MobGui V1.0, Normal Button & Icon Option button issue
Sorry, Youks - I never realised what you meant. Normally - as far as I'm aware - one tab button should always be selected - the tabs being the current available pages/cards. An example is the app store. If you start the app store app, you can't deselect all the tabs. Should all tabs be deselected in certain cases? Maybe displaying a startup screen when the app starts...
When switching from any theme to any other theme one tab button is always left selected. You can right click on the control, then 'Send Message -> mgRelease' from the context menu. You can also send the message in a script.
HTH!
When switching from any theme to any other theme one tab button is always left selected. You can right click on the control, then 'Send Message -> mgRelease' from the context menu. You can also send the message in a script.
HTH!
LiveCode Development & Training : http://splash21.com
Re: MobGui V1.0, Normal Button & Icon Option button issue
Hi John,
I understood that but if you have time have a look at this simple stack and tell me what is wrong ! Thx
I understood that but if you have time have a look at this simple stack and tell me what is wrong ! Thx
- Attachments
-
- UnTest3.livecode.zip
- (5.02 KiB) Downloaded 256 times
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: MobGui V1.0, Normal Button & Icon Option button issue
Hi, Youks - that is pretty weird! If you uncheck the 'backgroundBehavior' on each of your tab buttons then everything works OK. The backgroundBehavior property seems to be causing the shared groups to pick up the mouseUp message BEFORE the button group - looks like an LC bug - you should consider submitting a QCC report
LiveCode Development & Training : http://splash21.com
Re: MobGui V1.0, Normal Button & Icon Option button issue
Hi John,
Thx for your feedback !
Thx for your feedback !
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: MobGui V1.0, Normal Button & Icon Option button issue
I had time for another look today and after I removed the backgroundBehavior from the tab buttons, I grouped them together into a group 'TabButtons' then added that group to each card. Everything worked fine. I had to visit each card individually and remove the tab buttons with the "Object => Remove Group" menu item before the IDE would let me group them together.
LiveCode Development & Training : http://splash21.com
Re: MobGui V1.0, Normal Button & Icon Option button issue
Thx for the Good news John!