RELEASE: rTree 2.0

Find out what's going on with LiveCode (the company), product releases, announcements, and events.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
wilstrand
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 114
Joined: Mon Jan 03, 2011 3:02 pm
Contact:

RELEASE: rTree 2.0

Post by wilstrand » Sat Oct 19, 2013 3:22 am

Dear All

I'm proud to announce the release of rTree 2.0.0!
rTree is now Dual Licensed.

Download: http://tapirsoft.on-rev.com/rtree/

I will be back with more info in the forums and on the web site shortly.

Hope rTree will make good use in your projects!
With my best regards!

Mats
http:www.tapirsoft.on-rev.com
Open Source LiveCode Plugins - rIDE, rGrid, rTree
LiveCode projects

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: RELEASE: rTree 2.0

Post by bangkok » Sat Oct 19, 2013 11:41 am

Great.

May I make a suggestion ? You should provide within the zip file a simple "exemple stack", like a show case with several trees, and different functions, so people can see clearly and quickly what it does, what it can do, etc.

Many people are learning by the "power of exemple". It helps a lot at the beginning, compared to a dry "quick references" guide
. :)

wilstrand
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 114
Joined: Mon Jan 03, 2011 3:02 pm
Contact:

Re: RELEASE: rTree 2.0

Post by wilstrand » Sat Oct 19, 2013 1:06 pm

Thanks Bangkok!

Yes, the "power of example" is great for learning a plugin!
I plan to supply some sample stacks in the coming days. There is one sample
stack already uploaded to http://tapirsoft.on-rev.com/sample-stacks/

All my plugins are now open source and dual licensed. I hope that this will bring the
"power of community" to supply experience and knowledge maybe in the form of
examples of how the plugins how been used in other projects. That way we will all benefit!

Best regards

Mats
http:www.tapirsoft.on-rev.com
Open Source LiveCode Plugins - rIDE, rGrid, rTree
LiveCode projects

Ontarget
Posts: 3
Joined: Sat Jun 22, 2013 7:52 pm

Re: RELEASE: rTree 2.0

Post by Ontarget » Sat Dec 21, 2013 7:35 pm

My Review:
I recently purchased the mega bundle from LiveCode. This was one of the primary extensions I wanted from the mega bundle. I was able to open the stack in live code, but that is where I found little or no documentation on how to use either RTree 2.0 or RGrid. So my next step was to visit the website and request assistance, or a user guide to explain how to use these two products. after five days I did not receive any response. So I sent a second and then a third email from the website. To date I have not received any assistance or an answer to my emails.
again I tried to use rTree today with the following issues.
When you drag the object to the stack there is no way to resize the object or move the control. if you do try to resize the object is no longer useful because it changes the formatting. At this point you just have to close the stack and start over. In the explanation for when you add the control object it says to right-click to edit the nodes. Again some documentation would've been great because the right-click provided a dialogue with no explanation other than to test by yourself to figure out how to use it. Even after using it to map the current stack, I was unable to get the results i sI was trying to get using your product.
I i did find on your website the properties list, but there's no explanation of how to use this information with the rGrid or rTree? As you might guess, this is very frustrating when the basic information to use your extension is missing. I did my part by requesting further information for how to use these extensions. Please provide the requested information.

Lars Jorgensen
Posts: 6
Joined: Mon Aug 26, 2013 6:49 pm

Re: RELEASE: rTree 2.0

Post by Lars Jorgensen » Sat Feb 15, 2014 5:45 pm

Hello ontarget,

did you manage to get the rGrid stack to work?

I am struggling to get the rGrid to work I so hoped that someone might be able to show me a basic example.

I have done the following:
1. Added the rGridEngine stack to the Plugins folder.
2. In LiveCode I then go to the Development -> plugins menu and start the rGridEngine.
3. Create a new main stack
4. click the button "Copy rGrid to Clipboard"
5. paste the rGrid into my new main stack.
6. run the main stack and I am able to enter data into the cells. Things are looking fine.
7. I close LiveCode and reopens it again
8. then i open my new stack with the rGrid but now I am unable to enter any data the grid seems to be lock.

The same things happens if I save the new Stack with the rGrid as a standalone application and executes the generated program then the grid is also locked (not able to enter any data)

Any advise on how to work with the rGrid will be much appreciated.

Kind regards,

Lars

wilstrand
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 114
Joined: Mon Jan 03, 2011 3:02 pm
Contact:

Re: RELEASE: rTree 2.0

Post by wilstrand » Sun Feb 16, 2014 8:30 am

Hi Lars!

Thanks for trying out rGrid!

First, there is a new rGrid version 1.6.0 just released.
Please use this version as it fixes a few bugs related to the cut, copy and paste features in 1.5.1
It also adds the ability to copy and paste cell content directly from Excel.
Download from here:
http://tapirsoft.on-rev.com/rGrid

To get rGrid up and running, You do not have to put the "rGridEngine" stack into the plugins folder.
Just follow the steps here below.

Getting started:
1. Open the "rGridEngine" stack
2. Make the "rGridEngine" stack a substack of your Application stack.
3. Open the "rGridEngine" stack and click "Dictionary"
4. Click the button "Copy rGrid to Clipboard"
5. Paste the rGrid control into your Application stack.
6. Set the name of your new rGrid control to the name you want.
7. Save your Application stack.

Build your grid without writing code:
You can build your rGrid without writing any code by selecting cells and type or paste content into them.
Use a single click to select a cell and then directly type the text you would like to have in it.
Double click on existing text of a cell to select and edit the text.
You can also edit the "Column Headers" in the same way.
Navigate through the cells using the tab, return or arrow keys of your keyboard.
Copy content from cells using the cmd+c keyboard shortcut.
Cut content from cells using the cmd+x keyboard shortcut.
Paste content into cells using the cmd+v keyboard shortcut

Build your grid by script:
You can use the rGrid specific properties and commands in scripts to build your grid.
Use the "Dictionary" in the "rGridEngine" stack to see what rGrid specific properties, commands and messages are available.
For example you can set the value of a cell with the "value" property:

Code: Select all

set the rg["value of cell A1"] of grp "rGrid" to "My Cell"
Instead of the Spread Sheet style "A1" cell reference, you can also use the row index,the column index like this:

Code: Select all

set the rg["value of cell 1,1"] of grp "rGrid" to "My Cell"
rGrid can also use the native LiveCode object properties applicable for the type of object you are working with.
For example you can use the "htmlText" property to format the text in a cell. This will make the text bold:

Code: Select all

set the rg["htmlText of cell A1"] of grp "rGrid" to "<b>My Cell</b>"
The htmlText property can be used even without enclosing the text in html tags. It is recommended to use htmlText
for setting cell content. In the same way you can set the background color of a cell by using the "backColor" property:

Code: Select all

set the rg["backColor of cell A1"] of grp "rGrid" to "red"
The rGrid syntax even allows you to set property values for ranges of cells:

Code: Select all

set the rg["backColor of cell A1 to C1"] of grp "rGrid" to "red;blue;green"
Try the example buttons of the "Demo" section of the "rGridEngine" and Inspect their scripts to learn more.

Hope this gets you going!

With my best regards
Mats
http:www.tapirsoft.on-rev.com
Open Source LiveCode Plugins - rIDE, rGrid, rTree
LiveCode projects

Lars Jorgensen
Posts: 6
Joined: Mon Aug 26, 2013 6:49 pm

Re: RELEASE: rTree 2.0

Post by Lars Jorgensen » Sun Feb 16, 2014 2:19 pm

Hi Mats,

thanks a lot for your quick feedback and detailed guidelines, much appreciated.

I now got the rGrid stack to work with my own stack, based on your instructions. And I really look forward to explore your rGrid stack in details as I have a lot of programming work ahead of me that involves the use of an excel like grid.

Kind regards,

Lars

Post Reply

Return to “Announcements”