  | |  | Global text properties | Global text properties 2004-03-10 - By Russell Donders
Back Hi,
I have a project that it is highly possible I or someone else will want to define and change the properties of text fields (ie font, size, color etc) at a later stage.
What is the best way to set up my text fields so that this can be done.
I was thinking having global variables such as :
_global.textFont = "arial"; _global.textSize = "10"; Etc
And then somehow apply these to every text field I create. Then by changing the values of the global variables would change the text properties.
Is this feasible ? If so how to I apply the properties to the textfields ? Are these properties settable via text ? And if they are do the properties set manually override the code, or does the code over ride the properties (ie if for a specific text field font is set in the pull down box to "courier" but my code is setting it to "arial" will it actually show as courier or arial.
Is there an easier way ?
Russell
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106592 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |