LC 8 Widgets
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
LC 8 Widgets
Has anyone tried using any of the widgets with your iOS app? I tried placing the color swatch widget but when I go to the simulator there is nothing there. Any ideas?
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
Re: LC 8 Widgets
Hi teacherguy,
You need to go to the Stand Alone Settings and on the Copy Files panel click the ColorSwatch from the Extensions list.
You need to go to the Stand Alone Settings and on the Copy Files panel click the ColorSwatch from the Extensions list.
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: LC 8 Widgets
Thanks! Doesn't seem to come with any stock behavior, unless I'm missing something....
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
Re: LC 8 Widgets
Is there some doc about catching the messages from these widgets? I seem to understand that the header widget generates calls to "searchAction", "headerAction" and "leftAction". Did I miss some messages?
--
François
François
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
Re: LC 8 Widgets
Look in the dictionary, pick Header in the LiveCode Script drop down.
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
Re: LC 8 Widgets
Er... searching the dictionary for "heading" gets me only to pages about HTTP servers...?Look in the dictionary, pick Header in the LiveCode Script drop down.
And could you please be more explicit about "the LiveCode Script drop down"? what /where is it?
My problem is, I have two cards, I want the "Back" button in the header of card 2 to go back to card 1.
Sometimes it works fine but the second time the icon "< Back" gets dimmed and does nothing.
Hence my search for documentation.
--
François
François
Re: LC 8 Widgets
Hi Fjord,
Best
Klaus
use the DROP DOWN menu in the dictionary, see attached screenshot!Fjord wrote:Er... searching the dictionary for "heading" gets me only to pages about HTTP servers...?Look in the dictionary, pick Header in the LiveCode Script drop down.
Best
Klaus
Re: LC 8 Widgets
The thing is, on my MacBook, the dictionary opens showing only just its right part, so that I couldn't even guess there WAS a left part with the pull down menu. I found it this morning, while trying systematically every part of the IDE. It DOES make things a lil'bit easier! Thanks!
--
François
François
Re: LC 8 Widgets
Still about widgets:
I have a 4 card stack. I use the navBar widget in the main card to navigate around; works just fine. Now I want to use the "back" btn of the header widget of the target cards to go back to the main card.
The "back" btn on the target cd looks like it's enabled but when I click it, 9 times out of 10 it gets dimmed and does not generate any call in the message watcher. I don't understand what disabled it - if that's what happened.
I tried to create another stack with only two cards and a stack script containing only
and clicking "back" works like a charm, swapping happily between the 2 cards without getting dimmed or disabled.
What can happen that disables the back btn of the header widget?
I have a 4 card stack. I use the navBar widget in the main card to navigate around; works just fine. Now I want to use the "back" btn of the header widget of the target cards to go back to the main card.
The "back" btn on the target cd looks like it's enabled but when I click it, 9 times out of 10 it gets dimmed and does not generate any call in the message watcher. I don't understand what disabled it - if that's what happened.
I tried to create another stack with only two cards and a stack script containing only
Code: Select all
on leftAction
go next cd
end leftAction
on searchAction
ask something -- and do nothing
end searchAction
and clicking "back" works like a charm, swapping happily between the 2 cards without getting dimmed or disabled.
What can happen that disables the back btn of the header widget?
--
François
François