SlideView - Revealing Backpanels
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: SlideView - Revealing Backpanels
Hi all.
I want to use this example, but i do not understand how you create (thePanels) this is only image or what? and buttons on it are image or buttons?
I want to use this example, but i do not understand how you create (thePanels) this is only image or what? and buttons on it are image or buttons?
Re: SlideView - Revealing Backpanels
Hi Armenhui,
well, "thePanels" are a combination of everything you may need for their purpose,
then GROUPed together, so they are just GROUPS!
Best
Klaus
well, "thePanels" are a combination of everything you may need for their purpose,
then GROUPed together, so they are just GROUPS!
Best
Klaus
Re: SlideView - Revealing Backpanels
Yes i know what is group, and also know how can create groups in LiveCode, but in this example i thinks this is now a group,i can not see thier buttons and group structur on project browser it only shows blue imange and thier name is custom control.
Re: SlideView - Revealing Backpanels
I also see on code but can not find how it custom controls createsin this example
Re: SlideView - Revealing Backpanels
Are there difference between groups and custom controls?
Re: SlideView - Revealing Backpanels
Ah, now I see!
Right click on "thePanels" ansd select "Property Inspector".
In the inspector check "SelectGroupedControls", which obviously can be set for any group separately
and that makes the difference between a GROUP and a "Custom control"!
Now you can "open" that group in the "Project Brwoser" and see what it is made from.
However EVERYTHING is scripted in the stack script.
Best
Klaus
Right click on "thePanels" ansd select "Property Inspector".
In the inspector check "SelectGroupedControls", which obviously can be set for any group separately
and that makes the difference between a GROUP and a "Custom control"!
Now you can "open" that group in the "Project Brwoser" and see what it is made from.
However EVERYTHING is scripted in the stack script.
Best
Klaus
Re: SlideView - Revealing Backpanels
Thank you very much for your help. Now i understand their difference. Thanks
Re: SlideView - Revealing Backpanels
In this example i have an other problem, when i change the stack size app not working well, maybe i need do some changes in code?
Re: SlideView - Revealing Backpanels
Obviously!Armenhui wrote:... maybe i need do some changes in code?
Sorry, did not take a deeper look, don't have the time right now...
-
- VIP Livecode Opensource Backer
- Posts: 296
- Joined: Wed May 02, 2012 12:23 pm
- Location: New York
- Contact:
Re: SlideView - Revealing Backpanels
Well, it was meant to be just a proof of concept.Armenhui wrote:In this example i have an other problem, when i change the stack size app not working well
And Proof of Concept is, by definition, simple and incomplete.
That is, I've put a lot of effort to keep the script small.
There are many scripts / algorithms shared here in the forums that efficiently and beautifully resizes your stack.
Please, consider to implement one of them.
Best,
~ Ender
~... together, we're smarter ...~
__________________________________________
macOS Sierra • LiveCode 7 & xCode 8
__________________________________________
macOS Sierra • LiveCode 7 & xCode 8
Re: SlideView - Revealing Backpanels
Hi Ender,
nice to see you're still alive and well!
Best
Klaus
nice to see you're still alive and well!
Best
Klaus
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
- Location: McKenna, WA
Re: SlideView - Revealing Backpanels
Glad this thread popped up. I've been trying to do something sort of like this in a datagrid. I'm trying to mimic the way the delete is revealed in iSO by swiping left. I've done it with a simple move but it's not quite what I want. In the row template I have a sub group (Slide_Grp) that is layered above a delete graphic. All I want to do is snap the right of the slide_grp to the left of the delete grc once the slide_grp is dragged past the grc. I have attached a sample. I've looked over Ender's stack but I'm having trouble adapting it to my more simple needs. Any help would be much appreciated.
- Attachments
-
- DG Slide.livecode.zip
- (5.61 KiB) Downloaded 289 times
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
Re: SlideView - Revealing Backpanels
In this example preOpenCard command calls in main stack and refers the all cards, for example i have one card which has separate preOpenCard how can organize this staff and create separate preOpenCard command for card ? And do not use main stack`s preOpenCard.
Re: SlideView - Revealing Backpanels
Thanks for answer, yes i found way and resize the stack.
-
- VIP Livecode Opensource Backer
- Posts: 296
- Joined: Wed May 02, 2012 12:23 pm
- Location: New York
- Contact:
Re: SlideView - Revealing Backpanels
Hi Klaus, nice to see you, tooKlaus wrote:Hi Ender, nice to see you're still alive and well!
Unfortunately, I don't have much time these days to help you with this specific issue and honestly, it's been more than 2 years since I have written any LiveCode script.quailcreek wrote:Glad this thread popped up. I've been trying to do something sort of like this in a datagrid. I'm trying to mimic the way the delete is revealed in iSO by swiping left.
Though, I remember that dear Gerry Orkin created an excellent Swipe-to-Action Datagrid, fully functional;
maybe, you could find his stack here in the forums if he did share of course.
This stack was meant to be dead simple.Armenhui wrote:In this example preOpenCard command calls in main stack and refers the all cards, for example i have one card which has separate preOpenCard how can organize this staff and create separate preOpenCard command for card ? And do not use main stack`s preOpenCard.
It's not production-ready.
It's definitely not a template or can serve as a starting point.
It's not a library, either.
I've put all code into the stack script against the convention, so that it can be seen and observed at one glance.
You should
• Create an empty stack
• Shape it in accordance with your project
• And have a look at my code just whenever you need to.
That's good news, excellent...Armenhui wrote:Thanks for answer, yes i found way and resize the stack.
Best,
~ Ender
~... together, we're smarter ...~
__________________________________________
macOS Sierra • LiveCode 7 & xCode 8
__________________________________________
macOS Sierra • LiveCode 7 & xCode 8