Creating an outliner application - Any ideas?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 854
- Joined: Wed Nov 04, 2009 11:41 am
- Location: Gunthorpe, North Lincs, UK
Creating an outliner application - Any ideas?
Hi,
In the past I have written a few apps using Livecode but they have all had very basic graphic user interfaces often just a few text fields and the odd button. I have decided that I should improve my skills and have decided that I will attempt to create an outline type application.
I wish to be able to enter text notes in a hierarchical list and have the ability to collapse and expand nodes as well as being able to drag single notes between nodes.
I wonder which is the optimum way of building the user interface: a text field allows paragraphs to be hidden and indented but only offers a limited number of bullet types which do not include disclosure triangles. I assume that the basic text field has a practical limit on the amount of data that it can hold before everything slows down or stops. The datagrid is suppose to be very efficient so has no such limitation but it is more complex to implement and I am not sure how many of the features of the text field are available to a datagrid cell; I just tried using listdepth in a cell and failed.
So I am asking how the GUI experts would approach this problem?
Thanks in advance,
In the past I have written a few apps using Livecode but they have all had very basic graphic user interfaces often just a few text fields and the odd button. I have decided that I should improve my skills and have decided that I will attempt to create an outline type application.
I wish to be able to enter text notes in a hierarchical list and have the ability to collapse and expand nodes as well as being able to drag single notes between nodes.
I wonder which is the optimum way of building the user interface: a text field allows paragraphs to be hidden and indented but only offers a limited number of bullet types which do not include disclosure triangles. I assume that the basic text field has a practical limit on the amount of data that it can hold before everything slows down or stops. The datagrid is suppose to be very efficient so has no such limitation but it is more complex to implement and I am not sure how many of the features of the text field are available to a datagrid cell; I just tried using listdepth in a cell and failed.
So I am asking how the GUI experts would approach this problem?
Thanks in advance,
best wishes
Skids
Skids
Re: Creating an outliner application - Any ideas?
You should look :
rTree
http://www.tapirsoft.com/#!rtree/cugb
DataTree
http://www.nativesoft.net/products/datatree/
And both.... have their own forum here.
http://forums.runrev.com/viewforum.php?f=44
rTree
http://www.tapirsoft.com/#!rtree/cugb
DataTree
http://www.nativesoft.net/products/datatree/
And both.... have their own forum here.
http://forums.runrev.com/viewforum.php?f=44
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Creating an outliner application - Any ideas?
Hi Simon,
Down at the bottom of this post:
http://forums.runrev.com/phpBB2/viewtop ... =9&t=13399
There is a GUI tree interface. Not sure if it's what you were looking for.
Simon
Down at the bottom of this post:
http://forums.runrev.com/phpBB2/viewtop ... =9&t=13399
There is a GUI tree interface. Not sure if it's what you were looking for.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 854
- Joined: Wed Nov 04, 2009 11:41 am
- Location: Gunthorpe, North Lincs, UK
Re: Creating an outliner application - Any ideas?
Thanks for the links. I'm off to do a spot of reading!
best wishes
Skids
Skids
Re: Creating an outliner application - Any ideas?
Hi Simon!
I have made a sample stack for you to use with rTree 2.0 (just released and dual licensed.)
which shows how to use rTree to build an Outliner Application. Check the
script of the buttons and the rTree group.
Download rTree 2.0 from: http://tapirsoft.on-rev.com/rtree/
and the Outliner sample from: http://tapirsoft.on-rev.com/sample-stacks/
Hope that this will get you started and that rTree will be useful in your projects!
With my best regards
Mats
I have made a sample stack for you to use with rTree 2.0 (just released and dual licensed.)
which shows how to use rTree to build an Outliner Application. Check the
script of the buttons and the rTree group.
Download rTree 2.0 from: http://tapirsoft.on-rev.com/rtree/
and the Outliner sample from: http://tapirsoft.on-rev.com/sample-stacks/
Hope that this will get you started and that rTree will be useful in your projects!
With my best regards
Mats
http:www.tapirsoft.on-rev.com
Open Source LiveCode Plugins - rIDE, rGrid, rTree
LiveCode projects
Open Source LiveCode Plugins - rIDE, rGrid, rTree
LiveCode projects
Re: Creating an outliner application - Any ideas?
Mats,
I've downloaded the latest version of rTree, and installed it on a stack via the Message box.
The rTree field shows up, and when I right click it raises hope of being able to import a .txt file on my drive (one with tab indents for an outliner view of the contents).
Yet rTree shows all of the .txt files on my Mac OS 10.11.6 (running Livecode 9.0.0-dp-5-Build 15004) as grayed out.
Also, it looks like the sample Outliner stack you mentioned above is no longer available on your site.
Any help will be much appreciated!
Best,
Mark
@openworld
I've downloaded the latest version of rTree, and installed it on a stack via the Message box.
The rTree field shows up, and when I right click it raises hope of being able to import a .txt file on my drive (one with tab indents for an outliner view of the contents).
Yet rTree shows all of the .txt files on my Mac OS 10.11.6 (running Livecode 9.0.0-dp-5-Build 15004) as grayed out.
Also, it looks like the sample Outliner stack you mentioned above is no longer available on your site.
Any help will be much appreciated!
Best,
Mark
@openworld