Info Manager Application

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
AussiePup
Posts: 6
Joined: Thu May 29, 2008 1:52 am

Info Manager Application

Post by AussiePup » Fri May 30, 2008 12:49 am

Hi Everyone,

I just downloaded the trial Studio yesterday. Have gone thru the startup tutorials and printed out the user manual to study.

I have scanned the docs, websites, etc., but have been unable to figure out how one would go about doing the following:

I want to create an app with topics on left (like Outlook). Need for the user to add a topic and to be able to add sub-topics (like Outlook). Then when a topic or sub-topic is clicked, its contents will be displayed on the right side of the screen. Unless I am missing something (which I'm sure of), I haven't seen any examples, etc., that would enable the creation of this type of application. I don't care if it uses an external database or not, since it will never have more than a few hundred entries at best.

Any and all suggestions to get me started in the right direction would be appreciated. Just telling me what controls to place on a card would be a big help.

Thanks,

Martin
Remember that no one has a corner on all of the good ideas - Martin

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Post by BvG » Fri May 30, 2008 11:28 am

You can make a list field, and a text field. Put the list field to the right then in it's code:

Code: Select all

on selectionChanged
put the selectedText of me into theSelection
put the listOfTopics[theSelection] of me into field "text"
end selectionChanged
In the list field you need to make a custompropertyset, and within that properties which are named the same as the possible selections.

Another way would be to have both fields in a group with backgroundbehaviour set to true. then you can just name several cards the same as the entries of the list field and use this code:

Code: Select all

on selectionChanged
go card the selectedText of me
end selectionChanged
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

AussiePup
Posts: 6
Joined: Thu May 29, 2008 1:52 am

Post by AussiePup » Mon Jun 09, 2008 3:57 am

Hi BvG,

Sending you a private message, as well as a public, since it's been so long since your reply to my question, I wanted to make sure you saw this. I wasn't ignoring you, but have been on the road and unable to reply. Please forgive me.

I appreciate your reply, but still cannot figure out how your examples would do what I want. I guess that I just need to buckle down and experiment and learn, but finding the time before my trial runs out is tough. I will try though.

Again, please forgive my not answering sooner. FYI, my daughter recently spent 18 months in Bremen, based at the university. She was there on a Fulbright. She is fluent ... reading and writing in German.

Regards,

Martin
Remember that no one has a corner on all of the good ideas - Martin

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Post by BvG » Mon Jun 09, 2008 1:56 pm

No problem, I just assumed you where helped :)
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Post Reply