Datagrid and new Summer Bundle table/grid widgets

2022-08-11 Thread Paul Dupuis via use-livecode
table/grid widgets in the Summer Bundle allow going beyond this limit? Could someone with a Summer Bundle please test the table/grid widgets. I have included the script I populate the column names and a first row of data in a Datagrid with below. I'd just like to know whether any of the new

Summer Bundle table/grid widgets....

2022-08-09 Thread Paul Dupuis via use-livecode
emain visible when the data is scrolled 2) Can display this with the left column fixed to they remain visible when the data is scrolled 3) Provides built in abilities to sort the numbers in all the data of the grid/table, by any column, ascending or descending as the user desires. I have already

Re: GRID and GRIDSIZE

2021-01-20 Thread Klaus major-k via use-livecode
(the fineprint)! :-) But this is not a special IDE feature, one could also use it in a runtime. So I thought we could use this if not in the IDE, too. > Bob S > > On Jan 20, 2021, at 1:02 PM, Tore Nilsen via use-livecode > mailto:use-livecode@lists.runrev.com>> wrote: > > One

Re: GRID and GRIDSIZE

2021-01-20 Thread Bob Sneidar via use-livecode
If that were allowed one could conceive of writing a standalone that was it’s own IDE and selling it as a third party app. Bob S On Jan 20, 2021, at 1:02 PM, Tore Nilsen via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: One could think that the grid snap feature would w

Re: GRID and GRIDSIZE

2021-01-20 Thread Klaus major-k via use-livecode
Hi Richard, > Am 20.01.2021 um 21:52 schrieb Richard Gaskin via use-livecode > : > ... > >>> is it correct that "snap to grid" does only work in the IDE in > >>> "Pointer" mode? > > > >> Given its role in snapping the drag

Re: GRID and GRIDSIZE

2021-01-20 Thread Tore Nilsen via use-livecode
> 20. jan. 2021 kl. 21:52 skrev Richard Gaskin via use-livecode > : > > I was asking what you wanted the grid snap feature to do beyond working only > in Pointer mode. One could think that the grid snap feature would work in Run mode in the IDE if scripts would allow t

Re: GRID and GRIDSIZE

2021-01-20 Thread Richard Gaskin via use-livecode
Klaus wrote: > Am 20.01.2021 um 21:02 schrieb Richard Gaskin: > >> Klaus wrote: >> >>> is it correct that "snap to grid" does only work in the IDE in >>> "Pointer" mode? >> >> Given its role in snapping the dragging of selected

Re: GRID and GRIDSIZE

2021-01-20 Thread Klaus major-k via use-livecode
Hi Richard, > Am 20.01.2021 um 21:02 schrieb Richard Gaskin via use-livecode > : > > Klaus wrote: > > > is it correct that "snap to grid" does only work in the IDE in > > "Pointer" mode? > > Given its role in snapping the dragging of se

Re: GRID and GRIDSIZE

2021-01-20 Thread Richard Gaskin via use-livecode
Klaus wrote: > is it correct that "snap to grid" does only work in the IDE in > "Pointer" mode? Given its role in snapping the dragging of selected objects, what else might it do? -- Richard Gaskin Fourth World Systems Software Design and Development for the De

GRID and GRIDSIZE

2021-01-20 Thread Klaus major-k via use-livecode
Hi friends, is it correct that "snap to grid" does only work in the IDE in "Pointer" mode? Thanks for any insight. Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de ___ use-livecode mailing list use-livecode@lis

Re: Need Data Grid help

2019-05-05 Thread pink via use-livecode
Bingo, that works perfectly JJS via use-livecode wrote > On Sun, May 5, 2019 at 2:45 PM pink via use-livecode < > use-livecode@.runrev >> wrote: > >> Below is the script for a data grid and the stack script. >> >> The data grid times certain jobs, so if you

Re: Need Data Grid help

2019-05-05 Thread Trevor DeVore via use-livecode
On Sun, May 5, 2019 at 2:45 PM pink via use-livecode < use-livecode@lists.runrev.com> wrote: > Below is the script for a data grid and the stack script. > > The data grid times certain jobs, so if you press one, it switched to > timing > that job. > > The problem is, wh

Need Data Grid help

2019-05-05 Thread pink via use-livecode
Below is the script for a data grid and the stack script. The data grid times certain jobs, so if you press one, it switched to timing that job. The problem is, when I set the dgData for the grid, the rows are blank up to the row that I press, and none of the changed data appears. However, if I

Re: Data grid : show an button in a column only if there is an email in other column

2019-02-22 Thread Bob Sneidar via use-livecode
I believe this works this way because the fillInData message gets sent to the row group that is currently getting updated. Because of this, "me" refers to the current row group, nd btn "sendmail" of me refers to the specific instance of button "sendmail" in that group. Otherwise btn "sendmail" w

Re: Data grid : show an button in a column only if there is an email in other column

2019-02-21 Thread Ludovic THEBAULT via use-livecode
> Le 20 févr. 2019 à 17:58, zryip theSlug via use-livecode > a écrit : > > Ludovic, > > Try: > > on FillInData pData > >if pData["email"] <> "" then show btn "sendmail" of me > >else hide btn "sendmail" of me > > end FillInData > As i use Table datagrid, pData is just

Re: Data grid : show an button in a column only if there is an email in other column

2019-02-20 Thread Ludovic via use-livecode
>else hide btn "sendmail" of me > > end FillInData > > On Wed, Feb 20, 2019 at 5:54 PM Ludovic THEBAULT via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Hello, >> >> I have an address table (data grid) including a

Re: Data grid : show an button in a column only if there is an email in other column

2019-02-20 Thread zryip theSlug via use-livecode
unrev.com> wrote: > Hello, > > I have an address table (data grid) including an "email" column. An other > column contains a button to send an email. I want to hide this button if > the line does not contain an email. > I put this script in the behavior of the butto

Data grid : show an button in a column only if there is an email in other column

2019-02-20 Thread Ludovic THEBAULT via use-livecode
Hello, I have an address table (data grid) including an "email" column. An other column contains a button to send an email. I want to hide this button if the line does not contain an email. I put this script in the behavior of the button column : on FillInData pData if pD

Re: editing data grid column via scrip

2019-02-06 Thread Hershel F via use-livecode
Thanks, i did something very similar.work fine a bit funky but it does the job for now. Thank you. HerhelF > On Feb 6, 2019, at 12:11 PM, Bob Sneidar via use-livecode > wrote: > > Not sure what you mean here. In the data grid tab of the properties window > there is an

Re: editing data grid column via scrip

2019-02-06 Thread Hershel F via use-livecode
hing . Thanks in advanced. HershelF > > Not sure what you mean here. In the data grid tab of the properties window > there is an option to Allow Editing. Double clicking the cell with this > option set will allow you to edit the value. No clicking possible. > > This seems klunky

Re: editing data grid column via scrip

2019-02-06 Thread Bob Sneidar via use-livecode
Not sure what you mean here. In the data grid tab of the properties window there is an option to Allow Editing. Double clicking the cell with this option set will allow you to edit the value. This seems klunky to me. What I do is I create a field for each editable value in the datagrid, then

editing data grid column via scrip

2019-02-05 Thread Hershel F via use-livecode
Hi everyone, i searched high and low for this without success. Question, i have a data grid (trying to to set up an invoice form), columns, costumer_id, product_id, company_name, product_name, price. etc. option menus in product name and company name, Now when i use the options to select a

Editing fields in a data grid form.

2018-12-15 Thread Martin Koob via use-livecode
I was experimenting with a Data Grid form to see if I could edit the text in the fields of the form. I used the sample stack from the LiveCode Lesson "Example: Creating a List of People" http://lessons.livecode.com/m/datagrid/l/7305-example-creating-a-list-of-people I found I cou

Re: Tessellated hexagonal grid?

2018-07-01 Thread David V Glasgow via use-livecode
Most excellent! > On 30 Jun 2018, at 1:26 am, hh via use-livecode > wrote: > > A simple hexagonal grid creating stack: > http://forums.livecode.com/viewtopic.php?p=168657#p168657 > > You choose the number of rows and columns and, for "scaling", > the horizo

Re: Tessellated hexagonal grid?

2018-06-30 Thread Richmond Mathewson via use-livecode
Marvellous. Thank you very much indeed! Richmond. On 30/6/2018 3:26 am, hh via use-livecode wrote: A simple hexagonal grid creating stack: http://forums.livecode.com/viewtopic.php?p=168657#p168657 You choose the number of rows and columns and, for "scaling", the horizontal

Re: Tessellated hexagonal grid?

2018-06-29 Thread hh via use-livecode
A simple hexagonal grid creating stack: http://forums.livecode.com/viewtopic.php?p=168657#p168657 You choose the number of rows and columns and, for "scaling", the horizontal radius and vertical radius of the circumellipses. ___ use-liveco

Re: Tessellated hexagonal grid?

2018-06-29 Thread Richmond Mathewson via use-livecode
Come to think of things, I ran off a load of tessellating hexagons in Turtle Graphics about 2 weeks ago using fekking code blocks. Richmond. On 29/6/2018 8:53 pm, Richmond Mathewson wrote: I cannot for the life of me work out why it is relatively easy to tessellate hexagons in BBC BASIC on my

Re: Tessellated hexagonal grid?

2018-06-29 Thread Richmond Mathewson via use-livecode
I cannot for the life of me work out why it is relatively easy to tessellate hexagons in BBC BASIC on my BBC MODEL B while it is such a P.I.A. in LiveCode. https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/jsbeeb/index.html?disc1=CLP0001.ssd&loadBasic=%2Fbeeb%2Floader%2F7c8bf2e3-

Re: Tessellated hexagonal grid?

2018-06-29 Thread Phil Jimmieson via use-livecode
Hi David, Even with complex shapes, it’s pretty easy (once you have a template version) just to clone it, and then place it appropriately (and obviously that can be based on its centre, or, as you say, the edges of its rectangle). The maths shouldn’t be that hard (& I speak as someone who hates

Re: Tessellated hexagonal grid?

2018-06-29 Thread David V Glasgow via use-livecode
Not sure whether you really want to know or not ;-) Richmond puts his finger on it really. Most of the properties of a graphic polygon don’t relate to geometric features of the polygon itself - except when it is a rect. So, as Richard says, tiling them or otherwise changing properties of targ

Re: Tessellated hexagonal grid?

2018-06-27 Thread Bob Sneidar via use-livecode
I would agree if I understood one word of it, or even what the problem was this approach was trying to solve. Bob S > On Jun 27, 2018, at 08:42 , Rick Harrison via use-livecode > wrote: > > Great resource and read. > > Thanks! > > Rick > >> On Jun 27, 2018, at 5:30 AM, hh via use-livecod

Re: Tessellated hexagonal grid?

2018-06-27 Thread Richard Gaskin via use-livecode
David V Glasgow wrote: > I had already worked through the ‘redblobgames’ resources, and it was > the prospect of trying to implement a hex system in Livecode which was > the gotcha. > > The frustrating thing is that the polygon object displays a nice > scaleable hex - and yet it seems this is not

Re: Tessellated hexagonal grid?

2018-06-27 Thread Rick Harrison via use-livecode
Great resource and read. Thanks! Rick > On Jun 27, 2018, at 5:30 AM, hh via use-livecode > wrote: > > Here a rather complete guide to the "theory" with a link > to implementation guides for several programming languages, > especially, close to LC, JavaScript. > > https://www.redblobgames.com

Re: Tessellated hexagonal grid?

2018-06-27 Thread Stephen Barncard via use-livecode
and how hexagons tesselate. > > And, even more to the point, how the human brain (and, face facts, most of > the time we are likely to be dealing > with either a square or hexagonal grid on a computer is because we want to > "fool" humans into believing that > what the

Re: Tessellated hexagonal grid?

2018-06-27 Thread Richmond Mathewson via use-livecode
facts, most of the time we are likely to be dealing with either a square or hexagonal grid on a computer is because we want to "fool" humans into believing that what the screen presents them with is a square or hexagonal grid with all the functionality and meaning of square or hexagona

Re: Tessellated hexagonal grid?

2018-06-27 Thread David V Glasgow via use-livecode
Thanks for all the responses regarding hexes. I had already worked through the ‘redblobgames’ resources, and it was the prospect of trying to implement a hex system in Livecode which was the gotcha. The frustrating thing is that the polygon object displays a nice scaleable hex - and yet it

Re: Tessellated hexagonal grid?

2018-06-27 Thread hh via use-livecode
Here a rather complete guide to the "theory" with a link to implementation guides for several programming languages, especially, close to LC, JavaScript. https://www.redblobgames.com/grids/hexagons/ ___ use-livecode mailing list use-livecode@lists.run

Re: Tessellated hexagonal grid?

2018-06-25 Thread Rick Harrison via use-livecode
&scale=45.2578125 <https://travellermap.com/?options=25591&scale=45.2578125> Cheers, Rick > On Jun 25, 2018, at 5:46 AM, David V Glasgow via use-livecode > wrote: > > Quite a few old school (and a few newer) games use a tessellated hexagonal > grid. Remember Railwa

Re: Tessellated hexagonal grid?

2018-06-25 Thread Richmond via use-livecode
uot; a bit like this: *if intersect(img "firstHEX",img "secondHEX",5) then* Richmond. On 25.06.2018 12:46, David V Glasgow via use-livecode wrote: Quite a few old school (and a few newer) games use a tessellated hexagonal grid. Remember Railway Rivals, anyone? I just starte

Tessellated hexagonal grid?

2018-06-25 Thread David V Glasgow via use-livecode
Quite a few old school (and a few newer) games use a tessellated hexagonal grid. Remember Railway Rivals, anyone? I just started to play around with the idea of a grid using Livecode polygons. Specifically, a map that can grow organically by sprouting hexes at the edges. I was surprised

Re. Data Grid does not work in resizeStack handler

2018-05-16 Thread R.H. via use-livecode
> Tom Glod wrote: " can you post your resize script?" Dear Tom, here is the script where the data grid fails and I do not know why. Thank you for taking notice. on resizeStack w,h ## Datagrid is the "master", a list of project names. ## There is a detail form

Re: Data Grid does not work in resizeStack handler

2018-05-15 Thread Tom Glod via use-livecode
t; as upper and lower borders. > > All works fine without the data grid group. But when the group it is > included in the script of the handler, the resizeStack handler will neither > correctly render other controls such as buttons and fields, nor the data > grid itself. > >

Data Grid does not work in resizeStack handler

2018-05-15 Thread R.H. via use-livecode
In LC 8 and 9 (latest versions) and on Windows 10 I tried to have a DG adjust to the width and height of the resized window using other controls as upper and lower borders. All works fine without the data grid group. But when the group it is included in the script of the handler, the resizeStack

Re: How do you stop editing a data grid cell

2016-07-07 Thread dunbarx
To: use-livecode Sent: Thu, Jul 7, 2016 8:39 am Subject: How do you stop editing a data grid cell So a cell is open for editing in a data grid. Click outside of the cell, it closes up (keeping the new data) and a 'closeFieldEditor' message is sent to the data grid group. Good. The

How do you stop editing a data grid cell

2016-07-07 Thread Ray
So a cell is open for editing in a data grid. Click outside of the cell, it closes up (keeping the new data) and a 'closeFieldEditor' message is sent to the data grid group. Good. The problem is user don't always click outside the cell to manually close it up. They may, for

Re: Refresh Data Grid not working in 8.1?

2016-06-26 Thread jameshale
OK it is a bug. Logged... http://quality.livecode.com/show_bug.cgi?id=17908 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Refresh-Data-Grid-not-working-in-8-1-tp4706089p4706115.html Sent from the Revolution - User mailing list archive at Nabble.com

Refresh Data Grid not working in 8.1?

2016-06-25 Thread jameshale
Hi, I am currently updating the Data Grid docs to match the interface of LC 8 as well as be available in the dictionary. In doing the equivalent of the lesson How do I display line numbers in a table <http://lessons.livecode.com/m/datagrid/l/7329-how-do-i-display-line-numbers-in-a-table>

Can I set a tooltip for each column or c-header in a data grid?

2016-05-30 Thread Tiemo Hollmann TB
Hello, I would like to provide a tooltip for each column (or column header) to show the full column name. Is there such a build in feature, which I didn't find yet or do I have to create it myself? Thank you Tiemo ___ use-livecode mailing li

Re: Grid spacing not working in LC 8?

2016-05-11 Thread tkuyp...@publishingtools4u.com
ch prevented me to switch over to LC8, was that > > the grid spacing set in the preferences was not working. > > Confirmed - report submitted: > <http://quality.livecode.com/show_bug.cgi?id=17623> > > -- > Richard Gaskin > Fourth World Systems > Software Desig

Re: Grid spacing not working in LC 8?

2016-05-11 Thread Richard Gaskin
Ton Kuypers wrote: > One of the things which prevented me to switch over to LC8, was that > the grid spacing set in the preferences was not working. Confirmed - report submitted: <http://quality.livecode.com/show_bug.cgi?id=17623> -- Richard Gaskin Fourth World Systems Softwar

Data Grid Array to Scalar Error

2016-05-11 Thread Ray
Has anybody seen this: An error has occurred in behavior for the column template: add: can't add array to scalar I'm not sure what this means. Other than the error popping up it doesn't seem to be doing any harm. I've tried putting the handler which causes the error in a try-catc

Grid spacing not working in LC 8?

2016-05-11 Thread Ton Kuypers
Hi, One of the things which prevented me to switch over to LC8, was that the grid spacing set in the preferences was not working. Nothing dramatically, but very annoying… But I just found the time download the final version and to my surprise it still doesn’t work. I set it to 10, changed it

Re: will a data grid handle RTL text?

2016-03-23 Thread Mark Waddingham
On 2016-03-23 18:50, Phil Davis wrote: The answer is yes, it "just works" with no special adjustments needed, at least in DG forms. So I assume the same will be true in DG tables. I had meant to reply to say that hopefully that would be the case the other day as the DG is based on fields... Th

Re: will a data grid handle RTL text?

2016-03-23 Thread Phil Davis
need to display Arabic (or other right-to-left) text in a data grid before long. I haven't tried it yet. Any predictions? Will it work? I expect I'll ultimately need Arabic display in both tables and forms if that makes any difference.

will a data grid handle RTL text?

2016-03-21 Thread Phil Davis
Like the subject says I'm updating a desktop app in LC 7.x and will probably need to display Arabic (or other right-to-left) text in a data grid before long. I haven't tried it yet. Any predictions? Will it work? I expect I'll ultimately need Arabic display in both tabl

Scripting Data Grid creation

2016-02-24 Thread Mats Åström
column witdths all to be saved between sessions… and more. I had no desire to code a GUI for each table so I dug into the heart of the Data Grid. My starting point was how the .net TableAdapter and DataGridView works. I had never (and have not yet) coded C# .net but the solution I was to upgrade

Data grid lines

2015-10-05 Thread Marty Knapp
I'm building a data grid (table style) but instead of having alternate row colors, I'd just like a line at the bottom of each row that has data. My users will be able to customize various parts of the data grid and then, in most cases, it will be printed on a B&W laser printer

Data Grid Scroll Jumps

2015-06-03 Thread Ray
This problem has come up before, but I don't remember understanding or solving it. In a data grid with the vScrollBar set to true, scrolling suddenly stops working. Any attempt to scroll through about 100 rows of data simply jumps to the end and shows only the last row at the very top o

Re: dragDrop with data grid objects

2015-04-21 Thread Bob Sneidar
Thanks Pete. I’ll give it a try, but it looks like this is for dragging a data grid row out of the data grid into some other place. I want to drag a file from the Finder or Explorer into the data grid. If worse comes to worse I’ll create a landing pad field. Bob S > On Apr 21, 2015, at

Re: dragDrop with data grid objects

2015-04-21 Thread Peter Haworth
sql.com/sqliteadmin.html> On Tue, Apr 21, 2015 at 3:10 PM, Bob Sneidar wrote: > No takers eh? > > Bob S > > > > On Apr 20, 2015, at 16:24 , Bob Sneidar > wrote: > > > > Any idea if I can use dragDrop with a data grid object? Currently I get > the gray cr

Re: dragDrop with data grid objects

2015-04-21 Thread Bob Sneidar
No takers eh? Bob S > On Apr 20, 2015, at 16:24 , Bob Sneidar wrote: > > Any idea if I can use dragDrop with a data grid object? Currently I get the > gray cross circle when trying to drag a file to a data grid. I wanted to > create an import handler activated by simply dr

dragDrop with data grid objects

2015-04-20 Thread Bob Sneidar
Any idea if I can use dragDrop with a data grid object? Currently I get the gray cross circle when trying to drag a file to a data grid. I wanted to create an import handler activated by simply drag dropping the file onto the data grid. I can do it with a field, but not with a data grid. Bob

Re: Data Grid graphics & buttons

2015-03-23 Thread Bob Sneidar
It’s my understanding that if you want to do anything fancy with a data grid, forms are the way to go. A simple checkbox is one thing. Displaying different results depending on content is another. Bob S On Mar 8, 2015, at 23:06 , JB mailto:sund...@pacifier.com>> wrote: Maybe I need to

Re: Data Grid graphics & buttons

2015-03-09 Thread JB
ed DGH, but after looking at some > of the examples, it looks to be very helpful. > > Here is a link to lessons re: the datagrid that use the DGH. > http://lessons.runrev.com/s/lessons/tags?tag=Data+Grid+Helper > ___ > use-livecod

Re: Data Grid graphics & buttons

2015-03-09 Thread Mike Bonner
s?tag=Data+Grid+Helper ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Data Grid graphics & buttons

2015-03-09 Thread JB
John Balgenorth >> >> >> On Mar 8, 2015, at 8:39 PM, JB wrote: >> >>> Thanks for the link, Mike! >>> >>> John Balgenorth >>> >>> >>> On Mar 8, 2015, at 8:27 AM, Mike Bonner wrote: >>> >>>> Lo

Re: Data Grid graphics & buttons

2015-03-09 Thread Mike Bonner
; John Balgenorth > > > > > > On Mar 8, 2015, at 8:27 AM, Mike Bonner wrote: > > > >> Look here: > >> > http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns > >> > >> > >> On Sat, Mar 7, 2015 at 10:54 PM,

Re: Data Grid sort direction

2015-03-09 Thread JB
I just downloaded the PDF and read it. The PDF is excellent! The info at the end answered many questions and showed me ways to handle things I wanted to do in differently using the dgProps & setting them using a script. I now see how to use hidden columns, when to set persistent data as false, h

Re: Data Grid sort direction

2015-03-09 Thread JB
Thank you for the info and link, Terry! I did not have the PDF. Tha will solve a lot of problems and make it easier. John Balgenorth On Mar 9, 2015, at 2:16 AM, Terence Heaford wrote: > And specifically. > > dgColumnSortDirection [COLUMN] > > - Get/set the direction of the sort for the col

Re: Data Grid sort direction

2015-03-09 Thread Terence Heaford
And specifically. dgColumnSortDirection [COLUMN] - Get/set the direction of the sort for the column. Valid values are 'ascending' or 'descending’. All the best Terry > On 9 Mar 2015, at 08:32, JB wrote: > > Is there a way to select descending using a script? __

Re: Data Grid sort direction

2015-03-09 Thread Terence Heaford
> On 9 Mar 2015, at 08:32, JB wrote: > > The lessons show the following script to sort a column, > > set the dgProps["sort by column"] of group "DataGrid" to “Name" > > This will select the Header column Name and place the sort arrow > in the ascending position. > > Is there a way to select d

Data Grid sort direction

2015-03-09 Thread JB
The lessons show the following script to sort a column, set the dgProps["sort by column"] of group "DataGrid" to “Name" This will select the Header column Name and place the sort arrow in the ascending position. Is there a way to select descending using a script? John Balgenorth ___

Re: Data Grid graphics & buttons

2015-03-08 Thread JB
Mike Bonner wrote: > >> Look here: >> http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns >> >> >> On Sat, Mar 7, 2015 at 10:54 PM, JB wrote: >> >>> Is there a way to set a graphic or button in >>> a data grid tabl

Re: Data Grid graphics & buttons

2015-03-08 Thread JB
raphic or button in >> a data grid table column using a script? >> >> So if I want line 12 of column name to be >> a graphic can I change the behavior like >> I can with Haken’s script that modifies the >> number format and instead of displaying a >> di

Re: Data Grid graphics & buttons

2015-03-08 Thread Mike Bonner
Look here: http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns On Sat, Mar 7, 2015 at 10:54 PM, JB wrote: > Is there a way to set a graphic or button in > a data grid table column using a script? > > So if I want line 12 of column name to be >

Data Grid graphics & buttons

2015-03-07 Thread JB
Is there a way to set a graphic or button in a data grid table column using a script? So if I want line 12 of column name to be a graphic can I change the behavior like I can with Haken’s script that modifies the number format and instead of displaying a different value for the number display

Re: Data Grid objects in standalones

2015-02-06 Thread Tore Nilsen
ns.runrev.com/m/datagrid/l/7339-what-do-i-need-to-do-to-deploy-a-standalone-with-a-data-grid >> >> Specifically the part of bulding with a datagrid using a splashstack. The >> easiest way to get functional datagrids that are parts of seperate stack >> files is to

Re: Data Grid objects in standalones

2015-02-06 Thread Mike Bonner
: > Tore, read this. > http://lessons.runrev.com/m/datagrid/l/7339-what-do-i-need-to-do-to-deploy-a-standalone-with-a-data-grid > > Specifically the part of bulding with a datagrid using a splashstack. The > easiest way to get functional datagrids that are parts of seperate stack > f

Re: Data Grid objects in standalones

2015-02-06 Thread Mike Bonner
if you would have to "start using.." the revdatagridlibrary stackfile or not. On Fri, Feb 6, 2015 at 2:41 PM, Tore Nilsen wrote: > Thanks for pointing me in this direction. I have read this lesson, and I > have also made the data grid templates dud, although there should be no >

Re: Data Grid objects in standalones

2015-02-06 Thread Tore Nilsen
Thanks for pointing me in this direction. I have read this lesson, and I have also made the data grid templates dud, although there should be no need for it, as the compiler does include the correct data grid template as a substack. The problem arises when I choose to move substacks into

Re: Data Grid objects in standalones

2015-02-06 Thread Mike Bonner
Tore, read this. http://lessons.runrev.com/m/datagrid/l/7339-what-do-i-need-to-do-to-deploy-a-standalone-with-a-data-grid Specifically the part of bulding with a datagrid using a splashstack. The easiest way to get functional datagrids that are parts of seperate stack files is to incuded a

Re: Data Grid objects in standalones

2015-02-06 Thread Tore Nilsen
The problem with letting the compiler handle this is that I cannot access the Data Grid Template stack from the main stack if it is not a part of the engine file. The standalone setup dialog is somewhat confusing in the sense that it seems as if it is possible to choose which substack files to

Re: Data Grid objects in standalones

2015-02-06 Thread Bob Sneidar
can be modified if put in the right place, which the compiler does for you. Bob S On Feb 6, 2015, at 12:47 , Tore Nilsen mailto:tore.nil...@me.com>> wrote: I am using several Data Grid objects, as tables, in a standalone. When I try to manually enter data into fields in the data grid

Data Grid objects in standalones

2015-02-06 Thread Tore Nilsen
I am using several Data Grid objects, as tables, in a standalone. When I try to manually enter data into fields in the data grid object it works alright as long as the main stack and the substacks are built as a single file, but not when I try to build the standalone with the substacks as

Re: How to duplicate a stack that has a data grid template substack ?

2014-11-21 Thread André Bisseret
;> >> By the way, do you confirm that if I need several data grids on the same >> card I must get a data grid template stack? >> >> Up to now, when I need one data grid on a card, I usually get it by copy >> (copy group "DataGrid" of group "Templ

Re: How to duplicate a stack that has a data grid template substack ?

2014-11-21 Thread Trevor DeVore
On Fri, Nov 21, 2014 at 3:40 AM, André Bisseret wrote: > > By the way, do you confirm that if I need several data grids on the same > card I must get a data grid template stack? > > Up to now, when I need one data grid on a card, I usually get it by copy > (copy group &

Re: How to duplicate a stack that has a data grid template substack ?

2014-11-21 Thread André Bisseret
Le 21 nov. 2014 à 01:20, Trevor DeVore a écrit : > On Thu, Nov 20, 2014 at 11:46 AM, André Bisseret > wrote: > >> >> My new problem is: >> How to duplicate a model stack that has a data grid template substack ? >> I need to be able to open the stacks of two

Re: How to duplicate a stack that has a data grid template substack ?

2014-11-20 Thread Trevor DeVore
On Thu, Nov 20, 2014 at 11:46 AM, André Bisseret wrote: > > My new problem is: > How to duplicate a model stack that has a data grid template substack ? > I need to be able to open the stacks of two different years. > But they will have a same substack (same data grid template). &

Re: How to duplicate a stack that has a data grid template substack ?

2014-11-20 Thread André Bisseret
Thank you Sean for your reply. I am benefitting from the wonderful Data Grid Helper since its beginning. Unfortunately it can't help for my current problems best André Le 20 nov. 2014 à 17:54, Sean Cole (Pi) a écrit : > Hi André, > > You could probably benefit from

Re: How to duplicate a stack that has a data grid template substack ?

2014-11-20 Thread Sean Cole (Pi)
Hi André, You could probably benefit from this: https://livecode.com/store/marketplace/data-grid-helper-1-2-0/ For the hassle you need to overcome it may well be worth the price. Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 π 'Don't tr

How to duplicate a stack that has a data grid template substack ?

2014-11-20 Thread André Bisseret
Bonjour, Yesterday I needed help for the following problem: several data grids copied on the same card do interact: when selecting a line in one data grid, the selection of a line is triggered in the others! Following the advice of Bob Sneidar, I grabbed 3 data grids from the tool palette on

Data grid Header Alignments

2014-11-20 Thread Terence Heaford
I note you can set the column alignments in a data grid in one line of code for all columns. set the dgProp["column alignments"] of me to tColAlignments Is there a similar method for setting the Header Alignments in one line as say set the dgProp[“header alignments&

Re: Data grid Line or Index

2014-10-29 Thread Bob Sneidar
Normally that would be true, but Datagrids work differently. If you set the dgData of a data grid, given no sort, you will see that the dgDataOfLine and the dgDataOfIndex are identical. Element 1 is line 1 and Index 1. Now click one of the columns to resort. Element 1 is still line 1 but the

Re: Data grid Line or Index

2014-10-27 Thread Sri
the index). Regards, Sri. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Data-grid-Line-or-Index-tp4685113p4685115.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list us

Data grid Line or Index

2014-10-27 Thread Bob Sneidar
Here is a good one! When getting the dgData of a data grid, are the numbered keys the lines (so the current sort affects it), or are they the indexes (the order the records were in when the dgData was set)? Bob S ___ use-livecode mailing list use

Re: Snapping To A Grid of TopLefts?

2014-10-19 Thread Dr. Hawkins
On Sun, Oct 19, 2014 at 11:26 AM, JOHN PATTEN wrote: > I figured I was making it more difficult than it needed to be :) > > But of course :) Anyway, you want to sum the *squares* of the X & Y differences, not the abs(), to get the shortest distance. (the distance is actually the square root of

Re: Snapping To A Grid of TopLefts?

2014-10-19 Thread Martin Koob
round(xLeft /kHDist) * kHDist into xLeft end locToSnap -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Snapping-To-A-Grid-of-TopLefts-tp4684742p4684746.html Sent from the Revolution - User mailing list archive at Nabble.com

Re: Snapping To A Grid of TopLefts?

2014-10-19 Thread JOHN PATTEN
Thanks Martin and Ali, I figured I was making it more difficult than it needed to be :) I’ll give those a try. Thanks again! John Patten SUSD On Oct 19, 2014, at 11:21 AM, Martin Koob wrote: > This will snap to a 100 X 75 grid anywhere on the card. It does not restrict > the boun

Re: Snapping To A Grid of TopLefts?

2014-10-19 Thread Martin Koob
This will snap to a 100 X 75 grid anywhere on the card. It does not restrict the bounds i.e. left from 50 to 275, but that could be added. on mouseUp put the top of me into tTop put the left of me into tLeft put round(tTop / 75) * 75 into tNewTop put round(tLeft /100) * 100 into

Re: Snapping To A Grid of TopLefts?

2014-10-19 Thread Ali Lloyd
Hi John, I use this handler to snap to a grid, there may well be clearer / more efficient implementations though. constant kHDist = 100 // horizontal distance between points constant kVDist = 75 // vertical distance between points on locToSnap @xLeft, @xTop local tTopOver, tLeftOver put

  1   2   3   4   >