Hi "armbase" :-),

Probably the text size of your field is already set.
So you could try this:

set the textsize of char 1 to -1 of field LabelName of stack tFileName \
to field LabelNewTextsize of stack "Armbase"

Hope this helps.

Le 7 juil. 05 à 19:56, [EMAIL PROTECTED] a écrit :

Hi All
I have a sript that inserts the name of a label on one stack, to that of the
contents of a field on another stack. This works OK.

I would like to change the font size (just like rev does in the text size bit of the inspector. I have a textfield (LabelNewTextsize) that the user can type in a value, I tried 24, and hoped that he text size would change to 24pt. But no
luck.

Any Ideas
Regards
Bob

The script is below

on mouseUp
  global tFileName
set the text of field LabelName of stack tFileName to field LabelNewName of
stack "Armbase"
set the name of field LabelName of stack tFileName to field LabelNewName of
stack "Armbase"
  set the textsize of field LabelName of stack tFileName to field
LabelNewTextsize of stack "Armbase"
--the above is OK and copies the label and changes its name to the contents of
a field  but the resize doesn't work
end mouseUp

Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        [EMAIL PROTECTED]/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to