Re: Changing text properties in a field via the IDE

2020-05-19 Thread Richard Gaskin via use-livecode

Graham Samuel wrote:

> Well, I am happy to be wrong, so I repeated exactly what you did, of
> course using my own bit of styled text. It didn’t work - partly
> because I can only select the text in the field itself in ‘run’ mode,
> but I can only see the Inspector in ‘edit’ mode. When I switch between
> the two modes, I can’t do your (5), because I can’t select the text in
> the pane as you suggest.

FWIW, it's not necessary to use the Inspector, or change tool modes.  If 
the field is editable you can use the IDE's Text menu to change 
attributes in text selections directly in place, as you would with any 
word processor.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
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: Changing text properties in a field via the IDE

2020-05-19 Thread Quentin Long via use-livecode
Just saw an improvement in my code that *should* make it happy to work with 
Unicode characters…

local OkayChars = ""
function CleanASCII3 DerText  if OkayChars = "" then -- construct OkayChars 
string as needed    repeat with K1 = 32 to 126      put numToChar (K1) after 
OkayChars    end repeat  end if
  put "" into DerRezult  repeat for each char CC in DerText    if CC is in 
OkayChars then put CC after DerRezult  end repeat  return DerRezultend 
CleanASCII3
Again, this code has not been tested, so use with caution.
___
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: Changing text properties in a field via the IDE

2020-05-19 Thread Quentin Long via use-livecode
While Bob Sneidar's function should do the job of scrubbing weird characters 
from text, am unsure why he felt the need to construct that massive pCustomList 
variable. Seems to me that it would be simpler, and perhaps quicker, to do this 
instead:
function cleanASCII2 DerASCII  put "" into DerRezult
  repeat for each char CC in DerASCII    put charToNum (CC) into Fred    if 
Fred > 31 and Fred < 127 then put CC after DerRezult -- the full range of ASCII 
values for printable characters  end repeat  return DerRezultend cleanASCII2
The above code is not tested in any way. It's clearly not to be trusted with 
Unicode text, so which might be why Sheidar felt the need to go thru a somewhat 
more complicated procedure…
___
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: Changing text properties in a field via the IDE

2020-05-19 Thread Devin Asay via use-livecode
Graham,

If you click the lock icon on the property inspector while you’re in edit mode, 
the PI for that object will remain open when you switch back to run mode. 

Hope this helps.

Devin

> On May 19, 2020, at 3:10 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> Well, I am happy to be wrong, so I repeated exactly what you did, of course 
> using my own bit of styled text. It didn’t work - partly because I can only 
> select the text in the field itself in ‘run’ mode, but I can only see the 
> Inspector in ‘edit’ mode. When I switch between the two modes, I can’t do 
> your (5), because I can’t select the text in the pane as you suggest.
> 
> I am sorry to be dumb - I expect you’re right, but it really doesn’t work for 
> me.
> 
> Graham
> 
> 
>> On 19 May 2020, at 19:53, Richard Gaskin via use-livecode 
>>  wrote:
>> 
>> Graham Samuel wrote:
>> 
>>> To an ordinary LC developer, if you can change the properties of the
>>> initial text (to a different size for example) without overtly
>>> selecting it, then the same behaviour can be expected from the IDE
>>> when trying to change text you’ve pasted in. It may or may not be
>>> styled, but the confusing part is that selecting the text in the
>>> Object Inspector has no effect...
>> 
>> I just tried this recipe:
>> 
>> 1. Paste styled text into a field
>> 2. Choose pointer tool
>> 3. Double-click the field to open the Inspector
>> 4. In the Inspector, navigate to the Text pane
>> 5. In that pane, select text, then type Ctrl-B
>> 
>> RESULT: Both the styled text in the Inspector and the styled text in the 
>> field being inspected updates the contents to show the portion I'd changed 
>> to bold.
>> 
>> Is that not working there?
>> 
>> -- 
>> Richard Gaskin
>> Fourth World Systems
>> Software Design and Development for the Desktop, Mobile, and the Web
>> 
>> ambassa...@fourthworld.comhttp://www.FourthWorld.com
>> 
>> ___
>> 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
> 
> 
> ___
> 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

Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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: Changing text properties in a field via the IDE

2020-05-19 Thread Graham Samuel via use-livecode
Well, I am happy to be wrong, so I repeated exactly what you did, of course 
using my own bit of styled text. It didn’t work - partly because I can only 
select the text in the field itself in ‘run’ mode, but I can only see the 
Inspector in ‘edit’ mode. When I switch between the two modes, I can’t do your 
(5), because I can’t select the text in the pane as you suggest.

I am sorry to be dumb - I expect you’re right, but it really doesn’t work for 
me.

Graham


> On 19 May 2020, at 19:53, Richard Gaskin via use-livecode 
>  wrote:
> 
> Graham Samuel wrote:
> 
> > To an ordinary LC developer, if you can change the properties of the
> > initial text (to a different size for example) without overtly
> > selecting it, then the same behaviour can be expected from the IDE
> > when trying to change text you’ve pasted in. It may or may not be
> > styled, but the confusing part is that selecting the text in the
> > Object Inspector has no effect...
> 
> I just tried this recipe:
> 
> 1. Paste styled text into a field
> 2. Choose pointer tool
> 3. Double-click the field to open the Inspector
> 4. In the Inspector, navigate to the Text pane
> 5. In that pane, select text, then type Ctrl-B
> 
> RESULT: Both the styled text in the Inspector and the styled text in the 
> field being inspected updates the contents to show the portion I'd changed to 
> bold.
> 
> Is that not working there?
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> 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


___
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: Changing text properties in a field via the IDE

2020-05-19 Thread Tore Nilsen via use-livecode
I was trying the same thing in LC 9.6 (dp4) and it works here. It works both 
when selecting the text in the text pane in the navigator or selecting text in 
the field itself.

Regards
Tore Nilsen

> 19. mai 2020 kl. 19:53 skrev Richard Gaskin via use-livecode 
> :
> 
> I just tried this recipe:
> 
> 1. Paste styled text into a field
> 2. Choose pointer tool
> 3. Double-click the field to open the Inspector
> 4. In the Inspector, navigate to the Text pane
> 5. In that pane, select text, then type Ctrl-B
> 
> RESULT: Both the styled text in the Inspector and the styled text in the 
> field being inspected updates the contents to show the portion I'd changed to 
> bold.
> 
> Is that not working there?

___
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: Changing text properties in a field via the IDE

2020-05-19 Thread Richard Gaskin via use-livecode

Graham Samuel wrote:

> To an ordinary LC developer, if you can change the properties of the
> initial text (to a different size for example) without overtly
> selecting it, then the same behaviour can be expected from the IDE
> when trying to change text you’ve pasted in. It may or may not be
> styled, but the confusing part is that selecting the text in the
> Object Inspector has no effect...

I just tried this recipe:

1. Paste styled text into a field
2. Choose pointer tool
3. Double-click the field to open the Inspector
4. In the Inspector, navigate to the Text pane
5. In that pane, select text, then type Ctrl-B

RESULT: Both the styled text in the Inspector and the styled text in the 
field being inspected updates the contents to show the portion I'd 
changed to bold.


Is that not working there?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: Changing text properties in a field via the IDE

2020-05-19 Thread Graham Samuel via use-livecode
Well, Tore, I think this is a rather purist view! To an ordinary LC developer, 
if you can change the properties of the initial text (to a different size for 
example) without overtly selecting it, then the same behaviour can be expected 
from the IDE when trying to change text you’ve pasted in. It may or may not be 
styled, but the confusing part is that selecting the text in the Object 
Inspector has no effect, therefore the assumption is that all the text you see 
should logically be changed when you change a text property. Otherwise what’s 
the point of these properties being available in the Object Inspector?

I wonder what the mother ship will say.

Graham

> On 19 May 2020, at 14:46, Tore Nilsen via use-livecode 
>  wrote:
> 
> I am not sure this is a bug. When you use the normal paste function you 
> actually paste in styled text. New text, following the text you pasted in 
> will inherit the styling of the last character of the text you pasted into 
> the field. This then would work the same way as if you selected some text in 
> the field and altered the styling of this selected text. All unselected text 
> would adhere to the properties set in the Inspector. In my opinion this is 
> what you would expect from any text editor. If you would like to paste in 
> some text without the styling you should use «Paste Unformatted» in the IDE.
> 
> Regards
> Tore Nilsen
> 
>> 19. mai 2020 kl. 14:37 skrev Graham Samuel via use-livecode 
>> :
>> 
>> Yep, that was it! I had pasted some text from elsewhere. The text **looks** 
>> perfectly normal (and the count of characters is the same as in the visual 
>> representation of them, so none apparently hidden), but in some way it must 
>> mess up the functioning of the Property Inspector. As Ralph confirms, the 
>> initial text (in a Label Field, it’s just “Label:”) can be changed via the 
>> Property Inspector without being specifically selected - in fact you can’t 
>> select the ‘contents’ text in the Property Inspector display. So IMHO it’s a 
>> bug, if a minor one. Will report it, but I don’t expect a quick solution. 
>> Odd, though.
>> 
>> Thanks to Ralph and Richard
>> 
>> Graham
>> 
>>> On 18 May 2020, at 22:59, Ralph DiMola via use-livecode 
>>>  wrote:
>>> 
>>> Works OK on Mac and PC here LC 9.6 rc1. I created new stack put in a label 
>>> field. I did not change the default text. Could it be the actual text you 
>>> put in the field causing the PI problem for you?
>>> 
>>> Ralph DiMola
>>> IT Director
>>> Evergreen Information Services
>>> rdim...@evergreeninfo.net
>>> 
>>> 
>>> -Original Message-
>>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
>>> Of Graham Samuel via use-livecode
>>> Sent: Monday, May 18, 2020 4:45 PM
>>> To: How to use LiveCode
>>> Cc: Graham Samuel
>>> Subject: Changing text properties in a field via the IDE
>>> 
>>> I’m using LC 9.6.0 rc1 on a Mac. Just now I did something very simple that 
>>> didn’t work. I created a label field, opened the Property Inspector for the 
>>> field and changed its text - that worked. Then I attempted to change the 
>>> font size - that didn’t work. The appearance of the label in the stack 
>>> itself didn’t change, nor could I change the font, make the text bold etc. 
>>> I tried this again with a regular field - same result. I started a new 
>>> stack with just the one field - same result. 
>>> 
>>> All these values can be changed by script, in the Message Box or elsewhere, 
>>> but I can’t make them in the IDE by changing values in the Property 
>>> Inspector.
>>> 
>>> What am I doing wrong?
>>> 
>>> Graham
>>> ___
>>> 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
>>> 
>>> 
>>> ___
>>> 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
>> 
>> 
>> ___
>> 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
> 
> 
> ___
> 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


___
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: Changing text properties in a field via the IDE

2020-05-19 Thread Bob Sneidar via use-livecode
I had to write a function that returns only true ASCII printable characters 
because when I performed a drag/drop operation from a searchable PDF, I 
discovered that Acrobat puts all kinds of hidden characters in the text that 
really messes with LC. It’s a simple function:

FUNCTION cleanASCII pString, pModeList, pCustomList
   /*
   pModeList is a comma delimited list that may contain the following values:
   "lowercase,uppercase,numbers,tabs,newlines,returns,spaces,symbols,custom"
   If custom is used, then a third paramaeter containing allowed characters 
must be supplied.
   */
   IF pModeList is empty THEN
  put " 0-9a-zA-Z" into tAllowedChars
   END IF

   IF pModeList contains dash THEN replace dash with "/" & dash in pModeList

   REPEAT for each item pMode in pModeList
  put word 1 of pMode into pMode

  SWITCH
break
 CASE "tabs" is in pMode
put "\t" AFTER tAllowedChars
break
 CASE "newlines" is in pMode
put "\n" BEFORE tAllowedChars
break
 CASE "returns" is in pMode
put "\r" BEFORE tAllowedChars -- currently not working
break
 CASE "spaces" is in pMode
put " " AFTER tAllowedChars
break
 CASE "numbers" is in pMode
put "0-9" AFTER tAllowedChars
break
 CASE "lowercase" is in pMode
put "a-z" AFTER tAllowedChars
break
 CASE "uppercase" is in pMode
put "A-Z" AFTER tAllowedChars
break
 CASE "symbols" is in pMode
put "!#$%&'()*+,./:;<=>?@[\\_`{|}~^-" AFTER tAllowedChars
break
 CASE pMode is "custom"
put pCustomList AFTER tAllowedChars
break
  END SWITCH
   END REPEAT

   put "[" & tAllowedChars & "]" into tMatchText

   REPEAT for each character  theChar in pString
  IF matchtext(theChar, tMatchText) is true THEN
 put theChar AFTER cleanString
  END IF
   END REPEAT

   return cleanString
END cleanASCII

Bob S


On May 19, 2020, at 5:37 AM, Graham Samuel via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Yep, that was it! I had pasted some text from elsewhere. The text **looks** 
perfectly normal (and the count of characters is the same as in the visual 
representation of them, so none apparently hidden), but in some way it must 
mess up the functioning of the Property Inspector. As Ralph confirms, the 
initial text (in a Label Field, it’s just “Label:”) can be changed via the 
Property Inspector without being specifically selected - in fact you can’t 
select the ‘contents’ text in the Property Inspector display. So IMHO it’s a 
bug, if a minor one. Will report it, but I don’t expect a quick solution. Odd, 
though.

Thanks to Ralph and Richard

Graham

___
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: Changing text properties in a field via the IDE

2020-05-19 Thread Tore Nilsen via use-livecode
I am not sure this is a bug. When you use the normal paste function you 
actually paste in styled text. New text, following the text you pasted in will 
inherit the styling of the last character of the text you pasted into the 
field. This then would work the same way as if you selected some text in the 
field and altered the styling of this selected text. All unselected text would 
adhere to the properties set in the Inspector. In my opinion this is what you 
would expect from any text editor. If you would like to paste in some text 
without the styling you should use «Paste Unformatted» in the IDE.

Regards
Tore Nilsen

> 19. mai 2020 kl. 14:37 skrev Graham Samuel via use-livecode 
> :
> 
> Yep, that was it! I had pasted some text from elsewhere. The text **looks** 
> perfectly normal (and the count of characters is the same as in the visual 
> representation of them, so none apparently hidden), but in some way it must 
> mess up the functioning of the Property Inspector. As Ralph confirms, the 
> initial text (in a Label Field, it’s just “Label:”) can be changed via the 
> Property Inspector without being specifically selected - in fact you can’t 
> select the ‘contents’ text in the Property Inspector display. So IMHO it’s a 
> bug, if a minor one. Will report it, but I don’t expect a quick solution. 
> Odd, though.
> 
> Thanks to Ralph and Richard
> 
> Graham
> 
>> On 18 May 2020, at 22:59, Ralph DiMola via use-livecode 
>>  wrote:
>> 
>> Works OK on Mac and PC here LC 9.6 rc1. I created new stack put in a label 
>> field. I did not change the default text. Could it be the actual text you 
>> put in the field causing the PI problem for you?
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdim...@evergreeninfo.net
>> 
>> 
>> -Original Message-
>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
>> Of Graham Samuel via use-livecode
>> Sent: Monday, May 18, 2020 4:45 PM
>> To: How to use LiveCode
>> Cc: Graham Samuel
>> Subject: Changing text properties in a field via the IDE
>> 
>> I’m using LC 9.6.0 rc1 on a Mac. Just now I did something very simple that 
>> didn’t work. I created a label field, opened the Property Inspector for the 
>> field and changed its text - that worked. Then I attempted to change the 
>> font size - that didn’t work. The appearance of the label in the stack 
>> itself didn’t change, nor could I change the font, make the text bold etc. I 
>> tried this again with a regular field - same result. I started a new stack 
>> with just the one field - same result. 
>> 
>> All these values can be changed by script, in the Message Box or elsewhere, 
>> but I can’t make them in the IDE by changing values in the Property 
>> Inspector.
>> 
>> What am I doing wrong?
>> 
>> Graham
>> ___
>> 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
>> 
>> 
>> ___
>> 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
> 
> 
> ___
> 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


___
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: Changing text properties in a field via the IDE

2020-05-19 Thread Graham Samuel via use-livecode
Yep, that was it! I had pasted some text from elsewhere. The text **looks** 
perfectly normal (and the count of characters is the same as in the visual 
representation of them, so none apparently hidden), but in some way it must 
mess up the functioning of the Property Inspector. As Ralph confirms, the 
initial text (in a Label Field, it’s just “Label:”) can be changed via the 
Property Inspector without being specifically selected - in fact you can’t 
select the ‘contents’ text in the Property Inspector display. So IMHO it’s a 
bug, if a minor one. Will report it, but I don’t expect a quick solution. Odd, 
though.

Thanks to Ralph and Richard

Graham

> On 18 May 2020, at 22:59, Ralph DiMola via use-livecode 
>  wrote:
> 
> Works OK on Mac and PC here LC 9.6 rc1. I created new stack put in a label 
> field. I did not change the default text. Could it be the actual text you put 
> in the field causing the PI problem for you?
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
> Of Graham Samuel via use-livecode
> Sent: Monday, May 18, 2020 4:45 PM
> To: How to use LiveCode
> Cc: Graham Samuel
> Subject: Changing text properties in a field via the IDE
> 
> I’m using LC 9.6.0 rc1 on a Mac. Just now I did something very simple that 
> didn’t work. I created a label field, opened the Property Inspector for the 
> field and changed its text - that worked. Then I attempted to change the font 
> size - that didn’t work. The appearance of the label in the stack itself 
> didn’t change, nor could I change the font, make the text bold etc. I tried 
> this again with a regular field - same result. I started a new stack with 
> just the one field - same result. 
> 
> All these values can be changed by script, in the Message Box or elsewhere, 
> but I can’t make them in the IDE by changing values in the Property Inspector.
> 
> What am I doing wrong?
> 
> Graham
> ___
> 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
> 
> 
> ___
> 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


___
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: Changing text properties in a field via the IDE

2020-05-18 Thread Ralph DiMola via use-livecode
Works OK on Mac and PC here LC 9.6 rc1. I created new stack put in a label 
field. I did not change the default text. Could it be the actual text you put 
in the field causing the PI problem for you?

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Graham Samuel via use-livecode
Sent: Monday, May 18, 2020 4:45 PM
To: How to use LiveCode
Cc: Graham Samuel
Subject: Changing text properties in a field via the IDE

I’m using LC 9.6.0 rc1 on a Mac. Just now I did something very simple that 
didn’t work. I created a label field, opened the Property Inspector for the 
field and changed its text - that worked. Then I attempted to change the font 
size - that didn’t work. The appearance of the label in the stack itself didn’t 
change, nor could I change the font, make the text bold etc. I tried this again 
with a regular field - same result. I started a new stack with just the one 
field - same result. 

All these values can be changed by script, in the Message Box or elsewhere, but 
I can’t make them in the IDE by changing values in the Property Inspector.

What am I doing wrong?

Graham
___
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


___
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: Changing text properties in a field via the IDE

2020-05-18 Thread Richard Gaskin via use-livecode

Graham Samuel wrote:

> I’m using LC 9.6.0 rc1 on a Mac. Just now I did something very simple
> that didn’t work. I created a label field, opened the Property
> Inspector for the field and changed its text - that worked. Then I
> attempted to change the font size - that didn’t work. The appearance
> of the label in the stack itself didn’t change, nor could I change the
> font, make the text bold etc. I tried this again with a regular field
> - same result. I started a new stack with just the one field - same
> result.
>
> All these values can be changed by script, in the Message Box or
> elsewhere, but I can’t make them in the IDE by changing values in the
> Property Inspector.
>
> What am I doing wrong?

Text attributes can be set in the field, and the field properties can be 
overridden by a text run within the field.


When changing field properties doesn't change what you see, try 
selecting the text within the field and changing that.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
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


Changing text properties in a field via the IDE

2020-05-18 Thread Graham Samuel via use-livecode
I’m using LC 9.6.0 rc1 on a Mac. Just now I did something very simple that 
didn’t work. I created a label field, opened the Property Inspector for the 
field and changed its text - that worked. Then I attempted to change the font 
size - that didn’t work. The appearance of the label in the stack itself didn’t 
change, nor could I change the font, make the text bold etc. I tried this again 
with a regular field - same result. I started a new stack with just the one 
field - same result. 

All these values can be changed by script, in the Message Box or elsewhere, but 
I can’t make them in the IDE by changing values in the Property Inspector.

What am I doing wrong?

Graham
___
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