: lingo-l text formatting with Lingo: proprty not found
if I sue the next message:
member(monitor).char[1..12].color = rgb(200, 150, 75)
I get an error: ...property not found: #color
Is your member a field by any chance? If so, then you need to use
foreColor
HTH,
-- Clint
Hi all,
I'm a newbie here, so sorry if this subject is a part of the forum's
history...
if I sue the next message:
member(monitor).char[1..12].color = rgb(200, 150, 75)
I get an error: ...property not found: #color
The code is on the manual, on the site, but it doesn't seem to work for me :
(
if I sue the next message:
member(monitor).char[1..12].color = rgb(200, 150, 75)
I get an error: ...property not found: #color
Is your member a field by any chance? If so, then you need to use foreColor
HTH,
-- Clint
[To remove yourself from this list, or to change to digest mode, go to
yes, it's a field...
BUT forecolor doesn't work either
I can't set fontstyle also...
??
Macromedia says it should work, well it doesn't for me...
- Original Message -
From: Clint Little [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 01, 2001 10:16 AM
Subject: Re: lingo-l
I get an error: ...property not found: #color
Try the old syntaxe: set the forecolor of word x of member(y) to...
Bastien Bouchard
Logique multimédia
[EMAIL PROTECTED]
99 Turcot
Beauport (Qué.)
G1B 2L4
(418) 821-0301
[To remove yourself from this list, or to change to digest mode, go to
Kerry Thompson [EMAIL PROTECTED]
I have a text cast member that contains a list of clues for a puzzle.
The client wants some space between the clues.
...
Ideally, what I'd like to do is have the clues in 10-point type, with
line height of 14; and the spacer lines about 6 points and height of
Hi Kerry,
I've tried doing it in a loop:
lHeight =12
shortLine = 6
repeat with i = 1 to text.line.count
member("clues").lineheight = lHeight
put text.line[i] after member ("clues")
member("clues").fontsize = shortLine
put " " RETURN after member ("clues")
Thanks, James and Karina--problem solved. Both of your solutions worked
equally well for formatting, but I went with James' solution because the
line numbers are closely tied to the on-screen clues, and the extra RETURNs
I was putting in was messing that up.
Just one adjustment in the syntax,
I tested this in both D7.02 and D8.0 on Windows 98 and it works fine for
me on a whole cast member:
member(1).topSpacing = 10
I haven't tested on Mac. Is that where you are seeing it fail?
No, I'm running Win 98, D8, but now I can't reproduce the error either. I
opted for bottomSpacing,
First, thanks, Fumio, Mark, and Daniel for the info on duplicate().
Now I've got something that may be a bit trickier. D8, Win 98.
I have a text cast member that contains a list of clues for a puzzle. The
client wants some space between the clues.
I'd like to just set the line height and be
I've done the same with fontsize, with the same result--the entire
cast member (and sprite) ends up the same font and spacing.
The solution is to put hard returns at the end of each visual line.
You can do that by using the charpostoloc() function to work out
where the lines will break. Put
11 matches
Mail list logo