Re: Is it possible to get the clicked cell for a table field, if the table is empty?

2020-05-02 Thread William Prothero via use-livecode
gt; wondering if its because the message is sent to the figmentary popup field > rather than the table field, and that the popup is not part of the group. > But "the target" refers to the table field itself, so i'm not sure thats > whats happening. Either way.. The following scri

Re: Is it possible to get the clicked cell for a table field, if the table is empty?

2020-05-02 Thread Paul Hibbert via use-livecode
cause the message is sent to the figmentary popup field rather than the table field, and that the popup is not part of the group. But "the target" refers to the table field itself, so i'm not sure thats whats happening. Either way.. The following script works when put into a card or s

Is it possible to get the clicked cell for a table field, if the table is empty?

2020-05-01 Thread William Prothero via use-livecode
Folks: I have an app that requires that I be able to get the cell row and column when I click on the cell. I know a dataGrid can do this, but is it possible with a table field? I know I can get the clicked line, but what about the cell, when the table is empty. I use, to get the line (from the

Re: Getting current line number of a table field.

2018-02-14 Thread Mike Bonner via use-livecode
ather than the table field, and that the popup is not part of the group. But "the target" refers to the table field itself, so i'm not sure thats whats happening. Either way.. The following script works when put into a card or stack, NOT group, and not in the table field itself. K

Re: Getting current line number of a table field.

2018-02-14 Thread Tim Selander via use-livecode
Hi Mike, Thanks! I put the script in the table field itself with no luck. But when I moved it to the card script, it works! Great! I never would have come up with that in a million years. This list is fantastic. Oh, and I just re-named the table field to "Opera" ;-) Tim Sela

Re: Getting current line number of a table field.

2018-02-14 Thread Mike Bonner via use-livecode
For some reason I now want to name a table field "Opera." On Wed, Feb 14, 2018 at 10:09 AM, dunbarx via use-livecode < use-livecode@lists.runrev.com> wrote: > The extra field is what I once called a "phantom" field, ephemeral and > elusive. But it does exist: >

Re: Getting current line number of a table field.

2018-02-14 Thread dunbarx via use-livecode
The extra field is what I once called a "phantom" field, ephemeral and elusive. But it does exist: In a table field script: on mouseEnter put the number of flds end mouseEnter If you move around the table field without a selection, you get 1, If you click on a "cell"

Re: Getting current line number of a table field.

2018-02-14 Thread Mike Bonner via use-livecode
Hmm. There is a potential issue that would need to be worked around. The field name is the same whether one has a single table field or 12. Perhaps watching focus changes? I'm back to thinking there is a property that tracks which field to update on close of the editing overlay. For a s

Re: Getting current line number of a table field.

2018-02-14 Thread Mark Wieder via use-livecode
On 02/14/2018 08:04 AM, Mike Bonner via use-livecode wrote: Try this... on rawkeyup pkey send "getline" to me in 10 millisec pass rawkeyup end rawkeyup command getline put the short name of the focusedobject end getline This gives you the name of the editing field that appears for

Re: Getting current line number of a table field.

2018-02-14 Thread Bob Sneidar via use-livecode
any times to people trying to find the > selected field in a DG. The target is always of the form, for example, > "field Col 3 0005". > > But how does the focussedObject return similar data in a table field? The > fact that is does is marvelous indeed, but I never would ha

Re: Getting current line number of a table field.

2018-02-14 Thread Mike Bonner via use-livecode
a table field ISN'T a single field, its a field bundled with an extra "editing" field that pops up as an overlay. I figured there had to be a way to pass the cell data back to the field proper, and poked around till I found out that the transfer mechanism is the name of the overlay

Re: Getting current line number of a table field.

2018-02-14 Thread dunbarx via use-livecode
You know, I have given advice many times to people trying to find the selected field in a DG. The target is always of the form, for example, "field Col 3 0005". But how does the focussedObject return similar data in a table field? The fact that is does is marvelous indeed, but I never

Re: Getting current line number of a table field.

2018-02-14 Thread Mike Bonner via use-livecode
and voila, you have your info. On Wed, Feb 14, 2018 at 8:35 AM, dunbarx via use-livecode < use-livecode@lists.runrev.com> wrote: > You know, this proved more of a problem than I thought. > > Richmond, the issue is with tab and return keyPresses, not mouse clicks. > Anyway, given

Re: Getting current line number of a table field.

2018-02-14 Thread dunbarx via use-livecode
You know, this proved more of a problem than I thought. Richmond, the issue is with tab and return keyPresses, not mouse clicks. Anyway, given a table field 1 and another field 2, this works if you tab or return in the table field: on rawKeyUp tKey put the selectedLoc && the selec

Re: Getting current line number of a table field.

2018-02-14 Thread Richmond Mathewson via use-livecode
Hey-Ho . . . I tried this script in the tableField: on mouseDown put the selectedLine of me end mouseDown and it returned the line where I clicked. Richmond. On 14/2/2018 3:06 pm, Tim Selander via use-livecode wrote: Hi, Editing a table field (not datagrid) and need to track the number

Getting current line number of a table field.

2018-02-14 Thread Tim Selander via use-livecode
Hi, Editing a table field (not datagrid) and need to track the number of the line that is being edited. If I click into a new line, "selectionchanged" will let me figure out what line I'm editing. But if I hit return or tab to go to a new line, how can I track what line t

Re: Table field colored rows question

2015-08-11 Thread BNig
-- Kind regrards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Table-field-colored-rows-question-tp4694807p4694811.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use

Re: Table field colored rows question

2015-08-11 Thread Paul Dupuis
On 8/11/2015 11:44 AM, j...@souslelogo.com wrote: > Hi list > > Is there a quick way, like a property, to have successive rows of a > table field in alternate colors, like white, grey, white, grey, etc ? > I checked the graphic effects, but didn't find anything of the so

Re: Table field colored rows question

2015-08-11 Thread Paul Hibbert
j...@souslelogo.com wrote: > > Hi list > > Is there a quick way, like a property, to have successive rows of a > table field in alternate colors, like white, grey, white, grey, etc ? > I checked the graphic effects, but didn't find anything of the sort... > I'm using LC co

Table field colored rows question

2015-08-11 Thread jbv
Hi list Is there a quick way, like a property, to have successive rows of a table field in alternate colors, like white, grey, white, grey, etc ? I checked the graphic effects, but didn't find anything of the sort... I'm using LC community 6.5.2 on OSX. Thanks in ad

Re: Table field

2015-07-12 Thread Michael Doub
d LC techniques. As per the above, if you wanted that third item all down the table, you have to loop through each line and dig it out, as others have already said. Craig Newman -Original Message- From: Peter Haworth To: How to use LiveCode Sent: Sat, Jul 11, 2015 6:36 pm Subject: R

Re: Table field

2015-07-12 Thread JB
-Original Message- >>> From: Peter Haworth >>> To: How to use LiveCode >>> Sent: Sat, Jul 11, 2015 6:36 pm >>> Subject: Re: Table field >>> >>> >>> What Mike said. It's somewhat confusing since there is a >>>

Re: Table field

2015-07-12 Thread Peter M. Brigham
ig it out, as others have already said. >> >> >> Craig Newman >> >> >> >> -Original Message- >> From: Peter Haworth >> To: How to use LiveCode >> Sent: Sat, Jul 11, 2015 6:36 pm >> Subject: Re: Table field >>

Re: Table field

2015-07-11 Thread JB
and dig it out, as others have already said. > > > Craig Newman > > > > -Original Message- > From: Peter Haworth > To: How to use LiveCode > Sent: Sat, Jul 11, 2015 6:36 pm > Subject: Re: Table field > > > What Mike said. It's somewhat c

Re: Table field

2015-07-11 Thread dunbarx
down the table, you have to loop through each line and dig it out, as others have already said. Craig Newman -Original Message- From: Peter Haworth To: How to use LiveCode Sent: Sat, Jul 11, 2015 6:36 pm Subject: Re: Table field What Mike said. It's somewhat confusing since

Re: Table field

2015-07-11 Thread Peter Haworth
the itemdelimiter to tab and get item > 2 o fline 3 of field "xxx" > > On Sat, Jul 11, 2015 at 1:51 PM, Richmond > wrote: > > > I have a table field containing some data I copy pasted from a > spreadsheet > > > > [being unable to find a reliable way t

Re: Table field

2015-07-11 Thread Richmond
ld tell me how to extract data from individual cells in a table field. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev

Re: Table field

2015-07-11 Thread Mike Bonner
Its tab and cr delimited data, so set the itemdelimiter to tab and get item 2 o fline 3 of field "xxx" On Sat, Jul 11, 2015 at 1:51 PM, Richmond wrote: > I have a table field containing some data I copy pasted from a spreadsheet > > [being unable to find a reliable way to i

Table field

2015-07-11 Thread Richmond
I have a table field containing some data I copy pasted from a spreadsheet [being unable to find a reliable way to import data directly from a spreadsheet] that runs across 3 columns. When I tried this: put column 2 of line 3 of fld "XXX" I had no joy. I would be grateful if som

Re: Basic Table Field prints as one solid color

2015-04-19 Thread J. Landman Gay
On 4/19/2015 2:58 PM, Paul Dupuis wrote: I have now tried this with 3 different drivers with the exact same results, so I guess it is not a driver issue :-( In that case it's probably a bug. I'd report it and give them a copy of an example stack. -- Jacqueline Landman Gay | jac..

Re: Basic Table Field prints as one solid color

2015-04-19 Thread Paul Dupuis
On 4/19/2015 2:55 PM, J. Landman Gay wrote: > On 4/19/2015 10:39 AM, Paul Dupuis wrote: >> If either the vGrid or hGrid are set to true, the field prints as a >> solid block of color of whatever the field borderColor is set to. > > It may be a printer driver problem. If you're on Windows, see if yo

Re: Basic Table Field prints as one solid color

2015-04-19 Thread Paul Dupuis
On 4/19/2015 2:55 PM, J. Landman Gay wrote: > On 4/19/2015 10:39 AM, Paul Dupuis wrote: >> If either the vGrid or hGrid are set to true, the field prints as a >> solid block of color of whatever the field borderColor is set to. > > It may be a printer driver problem. If you're on Windows, see if yo

Re: Basic Table Field prints as one solid color

2015-04-19 Thread Paul Dupuis
On 4/19/2015 2:07 PM, Scott Rossi wrote: > Did you try making the field transparent (disable opaque)? Scott, thanks for the suggestion. Unfortunately Opaque has no effect on the issue. > Here's a suggestion from the "goofy workarounds" category... > > You say the field prints correctly with no te

Re: Basic Table Field prints as one solid color

2015-04-19 Thread J. Landman Gay
On 4/19/2015 10:39 AM, Paul Dupuis wrote: If either the vGrid or hGrid are set to true, the field prints as a solid block of color of whatever the field borderColor is set to. It may be a printer driver problem. If you're on Windows, see if you have the latest driver. I had a similar issue yea

Re: Basic Table Field prints as one solid color

2015-04-19 Thread Scott Rossi
he goofiness scale, but maybe worth a try. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design > On Apr 19, 2015, at 8:39 AM, Paul Dupuis wrote: > > Help! > > I am trying to print a card with a single field on it. The field is a > basic table field (i.e. hGrid

Basic Table Field prints as one solid color

2015-04-19 Thread Paul Dupuis
Help! I am trying to print a card with a single field on it. The field is a basic table field (i.e. hGrid and vGrid set to true, dontWrap to true, etc.). I.e. all the standard field settings you get when you drag a "Basic Table Field" off the tool palette in LC6.6.5, 6.7.4, or 7.0.4

Re: [ANN] modified Table Field 0_2_2

2015-03-26 Thread BNig
some situations where you don't need all the options of the dataGrid-table. On the other hand it is of course more limited. Kind regard Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-2-tp4690621p4690635.html Sent fro

Re: [ANN] modified Table Field 0_2_2

2015-03-26 Thread Rolf Kocherhans
Hello Bernd Your new TableField looks very clean and very tidy, thanks for it ! Everyone who doesn’t like DataGrid should have a look at it ! Cheers Rolf > Dear list, > > here is a new version of modTableField. > It is a way to display tabular data in a table view. > > --

Re: [ANN] modified Table Field 0_2_2

2015-03-25 Thread William Prothero
Bernd: Thanks! Bill > On Mar 25, 2015, at 12:01 PM, BNig wrote: > > Sorry, > > make that > > --- > modTableField 0_3_2 > --- > Kind regards > > Bernd > > > > -- > View this message in context: > http://runtime-revoluti

Re: [ANN] modified Table Field 0_2_2

2015-03-25 Thread BNig
Sorry, make that --- modTableField 0_3_2 --- Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-2-tp4690621p4690622.html Sent from the Revolution - User mailing list archive at Nabble.com

[ANN] modified Table Field 0_2_2

2015-03-25 Thread BNig
regards Bernd Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-2-tp4690621.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode

Re: [ANN] modified Table Field 0_2_9

2014-09-17 Thread BNig
for linebreaks Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-9-tp4683338p4683384.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use

Re: [ANN] modified Table Field 0_2_9

2014-09-17 Thread BNig
. I see the text of your stack displayed in my > browser. > > Maybe you can upload a zip file, so it downloads as expected? > > Hugh Senior > FLCo -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-9-tp4683372p46833

[ANN] modified Table Field 0_2_9

2014-09-17 Thread FlexibleLearning.com
Link does not work here... I see the text of your stack displayed in my browser. Maybe you can upload a zip file, so it downloads as expected? Hugh Senior FLCo BNig wrote... here a version of modifiedTableField that makes use of the new LC7 RC1 feature of text aligning columnar data. You can

Re: [ANN] modified Table Field 0_2_9

2014-09-17 Thread BNig
rote > One feature of dataGrids which I didn’t notice in your table field: the > ability to hide columns. Is that something you have in mind? Or perhaps it > already does it, but I just didn’t notice. > > Devin -- View this message in context: http://runtime-revolution.278305.n4.nabb

Re: [ANN] modified Table Field 0_2_9

2014-09-17 Thread Devin Asay
On Sep 17, 2014, at 11:01 AM, BNig wrote: > Hi Devin, > thank you for your kind words. > If you have a feature request I am open to add functionality to > modTableField (on or off list) One feature of dataGrids which I didn’t notice in your table field: the ability to hide colu

Re: [ANN] modified Table Field 0_2_9

2014-09-17 Thread BNig
>> watch for linebreaks in url > > This is superb, Bernd! Most of my datagrid use is for tabular data, and > this does almost everything needed for tabular data. Thanks for this. > > Devin -- View this message in context: http://runtime-revolution.278305.n4.nabble.co

Re: [ANN] modified Table Field 0_2_9

2014-09-17 Thread Peter Haworth
is message in context: > http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-9-tp4683338.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > ___ > use-livecode mailing list > use-live

Re: [ANN] modified Table Field 0_2_9

2014-09-17 Thread Devin Asay
On Sep 17, 2014, at 6:28 AM, BNig wrote: > here a version of modifiedTableField that makes use of the new LC7 RC1 > feature of text aligning columnar data. You can now right align a column. > > Columns can be hidden. > > Works with 6.13 up, best with 6.6.2. Obviously columnar text alignment ne

[ANN] modified Table Field 0_2_9

2014-09-17 Thread BNig
://www.berndniggemann.on-rev.com/modTableField/modTableField_0_2_9New.livecode watch for linebreaks in url Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-9-tp4683338.html Sent from

Re: Edit cell in basic table field

2014-02-23 Thread J. Landman Gay
On 2/22/14, 9:05 PM, David Epstein wrote: Inspecting "the frontscripts", I discovered that the handlers governing basic table fields are in the script of button "revTable" of group "revLibraries" of stack "revLibrary." 1. Hoping to see table-editing in action, I set a checkpoint at the beginni

Re: Edit cell in basic table field

2014-02-23 Thread Bob Sneidar
Rev’s libraries are not debuggable in that sense. If I recall, any stack name that begins with “rev” is considered a Livecode Library (which can be useful for people building their own libraries). You can still however, use the new assert statement to build logging, or just simply use an answe

Re: Edit cell in basic table field

2014-02-22 Thread David Epstein
Thanks very much for the suggestions of other tools and the script that would help me write my own. But before giving up completely on the basic table, I'm trying to understand how it works (and, in the process, more about how LiveCode works). Inspecting "the frontscripts", I discovered th

Re: Edit cell in basic table field

2014-02-22 Thread BNig
Hi Peter, yes I did a modifiedTableField which is a variant of the table field. It has evolved from the one I announced on the list and allows data entry and some more fancy things. I just uploaded the current version. It is not finished but the api calls are documented. http

Re: Edit cell in basic table field

2014-02-22 Thread Peter Haworth
html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Fri, Feb 21, 2014 at 10:21 PM, wrote: > Bob is probably right about the fact that you may run out of functional > power with a table field. But I use them whenever I can, since they are > much simpler and easier to ma

Re: Edit cell in basic table field

2014-02-22 Thread Peter M. Brigham
rig On Feb 22, 2014, at 1:21 AM, dunb...@aol.com wrote: > Bob is probably right about the fact that you may run out of functional power > with a table field. But I use them whenever I can, since they are much > simpler and easier to manage. > > A phantom field is indeed created wh

Re: Edit cell in basic table field

2014-02-21 Thread dunbarx
Bob is probably right about the fact that you may run out of functional power with a table field. But I use them whenever I can, since they are much simpler and easier to manage. A phantom field is indeed created when you double-click on a "cell". Put this in the card scr

Re: Edit cell in basic table field

2014-02-21 Thread Bob Sneidar
Yes. It’s called “use a data grid instead”. Table objects are simple fields that pretend to act as tables. Nothing beyond the messages a field gets are sent to a table field. It is JUST a field. That’s all. Datagrids on the other hand, are a complex group of fields and behaviors that make up

Edit cell in basic table field

2014-02-21 Thread David Epstein
If I check "basic table object" in the field property inspector, and check "Edit cell," clicking on the table field causes a small unlocked field to be created at the cell's location, which on tab or arrowkey has its contents written to the cell. Is there some way

Re: Finding list items within a table field

2013-07-20 Thread Peter M. Brigham
lines. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jul 14, 2013, at 11:00 AM, Keith Clarke wrote: > Hi folks, > I've posted this question to Stack Overflow - > http://stackoverflow.com/questions/17639968/livecode-find-list-items-within-a-table-

Re: Finding list items within a table field

2013-07-14 Thread Mark Schonewille
Make sure to "accept" the answer. Enjoy your Sunnyday, Keith. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H

Re: Finding list items within a table field

2013-07-14 Thread Keith Clarke
…thanks Mark - and sorry all for my impatience (I was hoping to get this housekeeping done before the end of a rare sunny Sunday in the UK)! :-/ Best, Keith.. On 14 Jul 2013, at 16:03, Mark Schonewille wrote: > I answered your question on Stackoverflow. > > -- > Best regards, > > Mark Scho

Re: Finding list items within a table field

2013-07-14 Thread Mark Schonewille
code-find-list-items-within-a-table-field > - but it seems very quiet over there on LiveCode matters, so apologies for t > the cross-posting. > > I'm trying to use LiveCode to clean up some contact data. I have two lists: > SourceList: a list of tab-delimited contact re

Finding list items within a table field

2013-07-14 Thread Keith Clarke
Hi folks, I've posted this question to Stack Overflow - http://stackoverflow.com/questions/17639968/livecode-find-list-items-within-a-table-field - but it seems very quiet over there on LiveCode matters, so apologies for t the cross-posting. I'm trying to use LiveCode to clean up so

Re: Table Field question

2013-04-20 Thread dunbarx
I wish I had thought of that. Worked like a charm. Bravo, Jacque.. Craig -Original Message- From: J. Landman Gay To: How to use LiveCode Sent: Sat, Apr 20, 2013 9:51 pm Subject: Re: Table Field question On 4/20/13 5:55 PM, dunb...@aol.com wrote: > This is an instance wh

Re: Table Field question

2013-04-20 Thread J. Landman Gay
On 4/20/13 5:55 PM, dunb...@aol.com wrote: This is an instance where WYSIWYG is really useful. My kluge solves this, but the editable field has its text offset from the final text displayed, and is visually annoying. You could try setting the text attributes of the card. I suspect the table

Re: Table Field question

2013-04-20 Thread dunbarx
Colin. In Excel, this seems reasonable, that field just being an editing venue. But the overlying editable field in a table field ought not to jump at you, neither up nor down. It may actually disrupt, in that the final displayed text at a larger size may not fit when you leave the cell

Re: Table Field question

2013-04-20 Thread Colin Holgate
I meant the field at the top of the spreadsheet. The cells do take on the font and size you set, but the field at the top, where what you type also appears, is a fixed size. On Apr 20, 2013, at 6:23 PM, dunb...@aol.com wrote: > > >I use excel all the time, and have never seen that. The newly

Re: Table Field question

2013-04-20 Thread dunbarx
Colin. I use excel all the time, and have never seen that. The newly editable cell is exactly like the rest of the sheet in look and feel. ??? Craig -Original Message- From: Colin Holgate To: How to use LiveCode Sent: Sat, Apr 20, 2013 5:55 pm Subject: Re: Table Field question

Re: Table Field question

2013-04-20 Thread Colin Holgate
Notice too that the font changes. It seems similar to how in Excel the text entry field is a fixed font and size, regardless of the font settings of the cells themselves. On Apr 20, 2013, at 5:33 PM, dunb...@aol.com wrote: > >If I set the textSize of a virgin table field to something l

Table Field question

2013-04-20 Thread dunbarx
All: If I set the textSize of a virgin table field to something like 24, the editable field that sits atop it is stuck at 12, which is the default. I would have thought it would follow the lead of the object textSize, no? I can always kluge this: on mouseUp set the textSize of the

[ANN] Modified Table Field

2013-01-16 Thread BNig
modTableField version 0_1_9 beta modTableField evolved from the Basic Table Field provided by LiveCode. It is an attempt to provide a straightforward means for displaying tabular data without having to resort to the DataGrid. Which of course is a lot more powerful. It displays tabular data

Re: Table field

2012-07-06 Thread Peter Haworth
All taken care thanks Bjornke. Pete lcSQL Software On Fri, Jul 6, 2012 at 1:53 AM, Björnke von Gierke wrote: > Uhm... Is this still a problem for you? I Was away on a conference ;-) > > I see a lot of talk about gradients from you, which is weird, as my > description ta

Re: Table field

2012-07-06 Thread Björnke von Gierke
Uhm... Is this still a problem for you? I Was away on a conference ;-) I see a lot of talk about gradients from you, which is weird, as my description talks of two solid colors, no gradients at all. Please go and see this example graphic: http://i.imgur.com/AXVve.png Bjoernke On 27.06.2012, a

Re: Table field

2012-06-27 Thread Peter Haworth
Hi Bjornke, With lots of help from various people, I succeeded in creating a graphic as you described. However, when I set the background pattern of my table to the id of the graphic, I just get a solid grey color as the background of the whole table, no alternating row colors no matter what color

Re: Gradients (was "Re: Table field")

2012-06-26 Thread Peter Haworth
> put tData into field "myField" > - > > Kind regards > Bernd > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Table-field-tp4651080p4651323.html > Sent from the Revolution - User mailing list archiv

Re: Gradients (was "Re: Table field")

2012-06-26 Thread Peter Haworth
> Jan Schenkel. > > = > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > > = > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > > - Original Message - > From:

Re: Gradients (was "Re: Table field")

2012-06-26 Thread BNig
- put the fillgradient of grc "myGraphic" into tData combine tData by return and tab put tData into field "myField" - Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Table-field-tp4651080p4651323.htm

Re: Gradients (was "Re: Table field")

2012-06-26 Thread Scott Rossi
Hi Pete: Use duplicate gradient stops in the ramp: 0.0,255,0,0 -- red 0% 0.5,255,0,0 -- red 50% 0.5,0,255,0 -- green 50%, same position as above 1.0,0,255,0 -- green 100% Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Peter Haworth wrote: > Thanks

Re: Gradients (was "Re: Table field")

2012-06-26 Thread Jan Schenkel
www.quartam.com = "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) - Original Message - From: Jan Schenkel To: How to use LiveCode Cc: Sent: Tuesday, June 26, 2012 10:57 PM Subject: Re: Gradients (was "Re: Table fiel

Re: Gradients (was "Re: Table field")

2012-06-26 Thread Jan Schenkel
nd more foolish at the same time." (La Rochefoucauld) - Original Message - From: Peter Haworth To: How to use LiveCode Cc: Sent: Tuesday, June 26, 2012 10:08 PM Subject: Re: Gradients (was "Re: Table field") Thanks Scott.  As usual, a very useful learning tool. Here&

Re: Gradients (was "Re: Table field")

2012-06-26 Thread Peter Haworth
Thanks Scott. As usual, a very useful learning tool. Here's what I can't figure out though. Your stack fades in the colors from top to bottom. How can I get the graphic to contain two separate colors, one that fills the top half of the graphic and another that fills in the bottom half, with no f

Re: Gradients (was "Re: Table field")

2012-06-25 Thread Bob Sneidar
Scott, that is just a magnificent tool. You never cease to amaze me! Bob On Jun 25, 2012, at 10:31 AM, Scott Rossi wrote: > Hi Peter: > > Execute the following in your LiveCode message box: > > go url > "http://www.tactilemedia.com/site_files/downloads/gradient_explorer.rev"; > > Regards,

Re: Gradients (was "Re: Table field")

2012-06-25 Thread Scott Rossi
Hi Peter: Execute the following in your LiveCode message box: go url "http://www.tactilemedia.com/site_files/downloads/gradient_explorer.rev"; Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Peter Haworth wrote: > I'm glad this came up because it's an opportunity

Re: Table field

2012-06-25 Thread Peter Haworth
Thanks Bjornke. Jacques' idea wouyld work but I'd prefere a Livecode approach so I can alter it to deal with, e.g., different line heights and colors. I'm glad this came up because it's an opportunity for me to learn yet another area of Livecode - gradients - for which there is precious little pu

Re: Table field

2012-06-25 Thread Björnke von Gierke
Hey, did Jacques tip help you achieve what you want? If not, here's an image that can be used as a line thingy: http://i.imgur.com/AXVve.png On 24.06.2012, at 15:55, Peter Haworth wrote: > Hi Jacques, > Thanks for the tip! > Pete > lcSQL Software > > > > On Sun, Jun 24,

Re: Table field

2012-06-24 Thread Peter Haworth
Hi Jacques, Thanks for the tip! Pete lcSQL Software On Sun, Jun 24, 2012 at 11:40 AM, Jacques Hausser wrote: > Hi Peter, > > I followed this thread with interest (I am still intimidate by Datagrid's > complexities) and for the graphic, I simply did it with another applica

Re: Table field

2012-06-24 Thread Jacques Hausser
Hi Peter, I followed this thread with interest (I am still intimidate by Datagrid's complexities) and for the graphic, I simply did it with another application (Pixelmator). Works great ! Thanks to Björnke ! Jacques Le 24 juin 2012 à 03:43, Peter Haworth a écrit : > Bjornke, > My grpahic ski

Re: Table field

2012-06-23 Thread Peter Haworth
Bjornke, My grpahic skills being pretty much nonexistent, how do you do this? I made a graphic rectangle on my card and I'm assuming that the different colors are achieved by using a gradient but try as I might, I cannot make it work. Any instructions greatly appreciated! Thanks, Pete lcSQL Softw

Re: Table field

2012-06-23 Thread Peter Haworth
012, at 23:29, Peter Haworth wrote: > > > Thanks Bernd, that looks very nice. > > Pete > > lcSQL Software <http://www.lcsql.com> > > > > > > > > On Thu, Jun 21, 2012 at 2:01 PM, BNig wrote: > > > >> Hi Peter, > >> > >&g

Re: Table field

2012-06-23 Thread Björnke von Gierke
Thu, Jun 21, 2012 at 2:01 PM, BNig wrote: > >> Hi Peter, >> >> here is my take on the alternating Lines. It uses a graphic with a >> fillgradient that is behind the non-opaque table field. >> I made a demo stack: >> >> berndniggemann.on-rev.com/alternatingLin

Re: Table field

2012-06-21 Thread Peter Haworth
Thanks Bernd, that looks very nice. Pete lcSQL Software <http://www.lcsql.com> On Thu, Jun 21, 2012 at 2:01 PM, BNig wrote: > Hi Peter, > > here is my take on the alternating Lines. It uses a graphic with a > fillgradient that is behind the non-opaque table field. >

Re: Table field

2012-06-21 Thread Bob Sneidar
Another approach would be to have a group of rectangles, and a script that would resize it and rearrange it so that the rows of rectangles always aligned with the rows. That way you could resize both the table field and the font, size and row height and the color grid would adapt. But what

Re: Table field

2012-06-21 Thread BNig
Hi Peter, here is my take on the alternating Lines. It uses a graphic with a fillgradient that is behind the non-opaque table field. I made a demo stack: berndniggemann.on-rev.com/alternatingLines/alternatingLines.livecode.zip Kind regards Bernd -- View this message in context: http

Table field

2012-06-21 Thread Peter Haworth
Bill Vlahos' lcTaskList and the Bernd's table stack have inspired me to play around with tables more than I have in the past. I've implemented coloring of alternate rows but I noticed that the highlighting of the alternate rows starts a few pixels in from the left side of the line and stops a few

Re: Table field names

2011-03-22 Thread Tim Ponn
Bob, I'm using the "Basic Table Field". I tried the selectedObject, but I get nothing. Here.. 1...create 3 fields, one a regular Text Entry Field and two Basic Table Fields. 2...give each field a name 3...put this in the card script: on rawKeyUp keyCode put the target

Re: Table field names

2011-03-22 Thread Mike Bonner
You can use focusIn and focusOut to keep track of which field is currently selected, then you can do as you were to know which specific cell of the current field is being modified. If I understand how the table field works, when you select a cell to type in, it pops up an overlay field named for

Re: Table field names

2011-03-22 Thread Bob Sneidar
Did you try the selectedObject? Are you talking about a Datagrid? Bob On Mar 22, 2011, at 8:36 AM, Tim Ponn wrote: > Hello all! > > Though not a newbie to LiveCode, I'm rusty and trying to catch up on some > featuresso...my apologies. > > I've got a few table fields in my app. I need t

Table field names

2011-03-22 Thread Tim Ponn
Hello all! Though not a newbie to LiveCode, I'm rusty and trying to catch up on some featuresso...my apologies. I've got a few table fields in my app. I need to know in which table the user is entering data. Even though each of my table fields has a unique name, all I get as a "target" f