Like I said, someone will have a more elegant way of doing it. :-)
Bob S
> On Aug 6, 2018, at 10:29 , zryip theSlug via use-livecode
> wrote:
>
> Bob,
>
> A column template exists for each column of a dg table, so you can use any
> control you want inside a datagrid column, including
I found another way.
Set standard background a opacity=0
add an new container graphic.
then make the background bigger that the controls, But it won't hilite.
So I might use your method.
On 8/6/18 11:33 AM, zryip theSlug via use-livecode wrote:
> I have created this kind of form before:
Dear Swami,
I have created this kind of form before: roundrect background and margins
between 2 rows.
For the background I used my own graphic. The background graphic if present
is used by the datagrid library for hiliting the row. I removed it.
And for magins, I used a row height upper than the
On 8/6/18 7:29 AM, zryip theSlug via use-livecode wrote:
> Bob,
>
> A column template exists for each column of a dg table, so you can use any
> control you want inside a datagrid column, including widgets.
>
> Here is a link to a DGH's screenshot . On the left, we have properties for
> a column
Bob,
A column template exists for each column of a dg table, so you can use any
control you want inside a datagrid column, including widgets.
Here is a link to a DGH's screenshot . On the left, we have properties for
a column (row or header). This is a datagrid table with two visible
columns.
The template is like the group editor. In fact it may actually BE the group
editor. The behavior script determines what to do when a row is drawn.
I think the thing to understand about datagrids, table or forms, is that for
each array element in the data (itself an array) the template is
Yay! I made my first form.
Now for questions *not* covered by the lessons.
1) Is the graphic "Background" a special object? In Navigator I opened
stack
"Data Grid Temple 333"
directly editing the group "Row Template". I set background graphic to
roundedRectangle, corners set 20px,
I am at the lesson.livecode.com/m/datagrid.
They are quite thorough. Much to my chagrin, everything you need to know
is there.
I would NOT recommend just dragging a Datagrip and "digging in" are
even using DG Helper (to start)
Read the lessons first (or at same time as you follow along in a
Duh!
http://lessons.livecode.com/m/datagrid/l/7305-example-creating-a-list-of-people
on LayoutControl does seem to be required.
So the row template is not WSIWYG?
Sannyasin Brahmanathaswami via use-livecode wrote:
> Doug
>
>WSIWYG: I was referring to the row temple "build" screen.
>
> ...
Doug
WSIWYG: I was referring to the row temple "build" screen.
... layout handler. I want to understand it...
maybe studying the on-line lessons *before* asking questions
Someone should do a graphic or schema diagram of the DG message hierarchy.
BR
Aloha zryip
I finally figured out that a row has the behavior script that "requires
attention"
I have yet to try in dghelper.
FillInData etc. obviously need controls named according to your grid
But I still have the question:
The WSIWYG template has the control "where we want them"
But is
out the "WYSIG panel" (never seen "WYSIG" ..
only know "WYSIWYG" ... same thing?) ... do you mean the Row Template?
Douglas Ruisaard
Trilogy Software
(250) 573-3935
> From: Sannyasin Brahmanathaswami
> To: How to use LiveCode
> Subject: Re: Getting Started
The code you have in the default behavior is the one installed by the
inspector located in one of the behavior button (stack only script now,
since the dg2)
It contains the minimal example code to help the developer starting;
FillinData, preFillinData, LayoutControl, etc
If you are modifying the
I slowly studying as much as we can on the datagrid,and "digging" in it with an
first attempt to build a form.
One thing is not clear to me.
1) Have the WYSIG panel to build the datagrid form.
2) why then do we have, in the Behavior Script this handler?
Isn't the layout already
ain amount of base-level understanding of the datagrid
components and behaviours in order to use datagrids. It's the old boot-strap
problem.
> Subject: Re: Getting Started with DataGrid and another datagrid form
> question
>
> Dear Douglas,
>
> Thanks for your interesting
Dear Douglas,
Thanks for your interesting feedback about your attempt to use DGH for the
first time, with creating a datagrid form.
All the properties for customizing the datagrid apart, I've created the
form template area (the way to custom the content of a row with controls
such as image,
Thank you for your service, Mr. slug.
I love your revolutionary spirit, and thank you for your contributions,
priceless on this list.
I’m blown away.
On Sat, Aug 4, 2018 at 10:09 zryip theSlug via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Dear Swami,
>
> Thanks for your purchase.
Dear Swami,
Thanks for your purchase.
Yes I do have a real name and I do have a good reason to not share it
publicly. When I came with the personnal challenge 8 years ago to create a
commercial plugin, I was an employee and as a developper, my employment
contract was containing a clause not
I concur with Brahmanathaswami that, in particular, datagrid forms (I haven't
worked with tables (yet)) are very finicky with regard to scrolling. I still
would greatly appreciate some help with a recently submitted message to this
group, Subject:
datagrid form question
Once you play around
In that case, call me Obi Wan. Not after the Star Wars Jedi of fame, but after
the name of the restaurant Indiana Jones flees from in Temple of Doom.
Bob S
> On Aug 2, 2018, at 22:07 , Stephen Barncard via use-livecode
> wrote:
>
> Names are merely abstractions.
Names are merely abstractions.
On Thu, Aug 2, 2018 at 19:15 Sannyasin Brahmanathaswami via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Aloha "Zryip"
>
> At $45.00 (cheap) and with your own endorsement (knowing that it is
> maintained)
>
> I'll get it!
>
> Brahmanathaswami
>
> Ps do
Aloha "Zryip"
At $45.00 (cheap) and with your own endorsement (knowing that it is maintained)
I'll get it!
Brahmanathaswami
Ps do you have a real name?
On 8/2/18, 12:01 PM, "use-livecode on behalf of zryip theSlug via
use-livecode" wrote:
Dear Swami,
We have some free
Dear Swami,
We have some free material about datagrids form or table.
1. A tutorial written long time ago before I created DGH, exploring the
very basic concepts of the datagrid control (form and table):
http://www.aslugontheroad.com/download/category/3-tutorials
2. Some demo stacks created for
Hi Swami,
> Am 02.08.2018 um 21:24 schrieb Sannyasin Brahmanathaswami via use-livecode
> :
>
> I loaded DataGrid in stack
>
> Now I wonder if is tool of choice for
> http://wiki.hindu.org/screenshots/data-grid-candidate.png
> There needs to alternate rows, with the "alt" row as blank and
I loaded DataGrid in stack
Now I wonder if is tool of choice for
http://wiki.hindu.org/screenshots/data-grid-candidate.png
There needs to alternate rows, with the "alt" row as blank and showing the card
.?? before I go down the path:
Yes or No -- can data grid to this?
Brahmanathaswami
Thank Bob for the tips...
Actually this is for a YouTube index, and all the "rows" would behave the same
way.
The only thing changing on each row would be
1. https://i.ytimg/#/hddefault.jbg (the thumbnail)
2. Metadata for our date base (SQlite on the mobile app) Title, description.
I can give you a "not to do". DO NOT send selectionChanged to a datagrid in the
middle of processing a selectionChanged message already. This will crash LC to
desktop.
I have not used form style datagrids, which is what you are talking about
methinks, but the idea is fairly simple. Instead of
I have stayed away from the Data Grid because of scrolling issues and the
complexity issues were too much for my "baby talk xTalk brain" … but my UX
designer has implement a module that has index of row that include various
little icon and controls that will be hard to do in the old "all
28 matches
Mail list logo