ListMagic - highlighting changed fields?

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
Clarkey
Posts: 109
Joined: Fri Jun 11, 2010 11:10 am

ListMagic - highlighting changed fields?

Post by Clarkey » Sun Jul 11, 2010 10:05 am

Hi folks, I've started using data grids in my first app but I'm considering swapping to ListMagic for simplicity and the inbuilt features that aren't there (yet?) with data grids - especially filtering, checkboxes and the simple CSV-style data input/output.

However, it seems that the increased ease of use brings some limitations on what can be done in specific rows or cells - is this view correct? For example, is there any way in ListMagic to format individual 'cells' to indicate that their content has been changed?

More broadly, is there a comparison of features (or limitations) anywhere to help new users decide when to use which approach for specific scenarios and/or key requirements?
Best,
Keith..

Zryip TheSlug
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 163
Joined: Tue Jan 26, 2010 10:15 pm
Contact:

Re: ListMagic - highlighting changed fields?

Post by Zryip TheSlug » Tue Jul 13, 2010 2:23 pm

Clarkey wrote:Hi folks, I've started using data grids in my first app but I'm considering swapping to ListMagic for simplicity and the inbuilt features that aren't there (yet?) with data grids - especially filtering, checkboxes and the simple CSV-style data input/output.
Hi Clarkey,

You can do all of that in the Data Grid object by code.

You can import simply data in a data grid in csv style by using the dgText property.

The dgText property accepts tab for delimiting fields and return for delimiting rows.

To replace comma in you csv data by a tab, use this code:

Code: Select all

replace comma by tab in tMyCSVData
TheSlug
http://www.aslugontheroad.com - Tutorials, demo stacks and plugins for LiveCode
Data Grid Helper - An intuitive interface for building LiveCode's Data Grids
Excel Library- Extends the LiveCode language for controlling MS Excel

Clarkey
Posts: 109
Joined: Fri Jun 11, 2010 11:10 am

Re: ListMagic - highlighting changed fields?

Post by Clarkey » Wed Jul 14, 2010 8:30 am

Zryip,

Thanks for the response and the dgText tip for CSV handling.

I guess I could use code to add data grid filtering functionality (and other 'standard' UI control features that I was expecting Revolution to deliver 'out of the box'). However, as a non-developer - more used to configuring products and gluing together high-level components - this would take me a very long time and distract from my primary use of Rev for development of my products. So, I would prefer to apply my limited skill (& to be honest, interest) in coding to what will differentiate my app, rather than build standard UI functionality that I can buy in ready-made components.

ListMagic seems to do a lot of what I need for one screen control 'out of the box' but there is no reference in its documentation around formatting of individual grid cells or rows - as is possible in data grids and the RunRev Planet grid stack. So, I'm wondering if anyone has managed to achieve this or whether it is a limitation of the ListMagic architecture and/or underlying components?
Best,
Keith..

Post Reply