On 06/26/2017 09:10 AM, hh via use-livecode wrote:
Eventually you are showing/hiding lines, so:
Did you already try to use the hidden property?
Thanks for this. I also wasn't aware you could hide individual lines in
a field, and I have now refactored the glx2 script editor's code-folding
fea
In this case the only thing I am trying to hide is all the subtext between the
main lines starting with the line clicked on. It's always going to be a
contiguous chunk, and nothing will change the contents of the field except my
scripts so that is good.
Not sure about the metadata property, bu
Bob S. wrote:
"if the hidden of line tStartLine to tEndLine of me is
then set the hidden of line tStartLine to tEndLine of me to "
Yes, but depends on the scenario: Sometimes I find it more safe to walk
through the range (for j=tStartLine to tEndLine) and check the hidden
of each single line, bec
Richard, that is kind of what I was seeing with replace in field. Very dicey.
So I decided to see if I could use the hidden propery method to work. Here is
what I came up with. Remember that char 1 of the 1st level lines are spaces,
and the 1st char spaces in those lines have the imageData set t
ll: 626 6965561
-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of ** Clarence P Martin ** via use-livecode
Sent: Monday, June 26, 2017 9:46 AM
To: 'How to use LiveCode'
Cc: ** Clarence P Martin **
Subject: RE: Set the imagesource of a charac
Mark Waddingham wrote:
> There's a form of replace which preserves styling in fields these days
> (an FE we ran quite a while ago) - take a look at the replace entry in
> the dictionary.
It works seemingly well, even with chunk expressions, e.g.:
replace "i" with "X" in line 1 of fld 1 preser
set the hidden of line 1 to 3 of field "myField" to true -- only works with
fields not text in variables
Bob S
> On Jun 26, 2017, at 09:46 , ** Clarence P Martin ** via use-livecode
> wrote:
>
> Can you supply a code sample of hiding a line of text in a list?
>
> Sincerely,
>
> Clarence M
I looked at the widget. Not sure how to use it. I got an object with a +
control which apparently creates custom property keys and displays it in the
field. I could probably make that work, but I probably won't have a lot of
control over the appearance. I got the thing working by manipulating th
, 2017 9:24 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Set the imagesource of a character to a built in graphic
That does indeed work and is a lot cleaner.
Bob S
> On Jun 26, 2017, at 09:11 , Bob Sneidar via use-livecode
wrote:
>
> Oh nice I didn't know a line of
That does indeed work and is a lot cleaner.
Bob S
> On Jun 26, 2017, at 09:11 , Bob Sneidar via use-livecode
> wrote:
>
> Oh nice I didn't know a line of text could be hidden! I will check that out.
> Meanwhile I got it working right by using htmlText. :-)
>
> Bob S
>
>
>> On Jun 26, 201
Oh nice I didn't know a line of text could be hidden! I will check that out.
Meanwhile I got it working right by using htmlText. :-)
Bob S
> On Jun 26, 2017, at 09:10 , hh via use-livecode
> wrote:
>
> Eventually you are showing/hiding lines, so:
>
> Did you already try to use the hidden pr
Eventually you are showing/hiding lines, so:
Did you already try to use the hidden property?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://li
The tree widget might be useful here. Alternately, don't use replace, use
text chunking instead to add or remove lines.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 26, 2017 10:24:11 AM Bob Sneidar v
Ok so no combination of replace in field will allow me to put something before
or after a line without borking the imagedata. The only way to do it is to
reapply the imageData each time I touch the field text. I was hoping to come up
with some king of widget eventially that allowed you to manipu
Thanks Mark. That solves half the problem. I would have to know the actual
character of the cr before the line I am trying to insert text before to do
something like
put "this is a test" & cr before line 3 of field "Scrolling List Field"
I can work around it I am sure. As long as I know that w
On 6/24/17 6:12 AM, Mark Waddingham via use-livecode wrote:
There's a form of replace which preserves styling in fields these days (an FE
we ran quite a while ago) - take a look at the replace entry in the dictionary.
That's great! I must have missed that revision. Very useful.
--
Jacqueline
There's a form of replace which preserves styling in fields these days (an FE
we ran quite a while ago) - take a look at the replace entry in the dictionary.
Warmest Regards,
Mark
Sent from my iPhone
> On 24 Jun 2017, at 07:14, J. Landman Gay via use-livecode
> wrote:
>
>> On 6/23/17 6:48 P
On 6/23/17 6:48 PM, Bob Sneidar via use-livecode wrote:
Okay so here is an odd thing. Given that the imageSource of char 1 of eack line
of a scrolling field is set to a graphic (A plus sign in this case):
on selectionChanged
put the clickChar into tChar
if tText is not space then exit s
That should read
put the clickChar into tChar
if tTchar is not space...
Doesn't affect the problem tho
Bob S
> On Jun 23, 2017, at 16:48 , Bob Sneidar via use-livecode
> wrote:
>
> put the clickChar into tChar
___
use-livecode mailing list
u
Okay so here is an odd thing. Given that the imageSource of char 1 of eack line
of a scrolling field is set to a graphic (A plus sign in this case):
on selectionChanged
put the clickChar into tChar
if tText is not space then exit selectionChanged
put word 2 of the clickLine into tLine
NVM I figured it out.
Bob S
> On Jun 23, 2017, at 16:19 , Bob Sneidar via use-livecode
> wrote:
>
> I am trying this:
>
> set the imageSource of char 1 of line 1 of field "Scrolling List Field" to
> image ID 200086
>
> No workie. How do I refer to a built in graphic? I use this to refer t
21 matches
Mail list logo