Ask a Question related to Macromedia Director Lingo, Design and Development.
-
Nicollini webforumsuser@macromedia.com #1
Forcing text into UPPER CASE???
Is it possible to force a text members contents into upper case.
E.g. 'nik' would be typed into a editable text box, it would then be turned into 'NIK' when submitted.
Can this be done and if so how?
Thanks.
Nick
Nicollini webforumsuser@macromedia.com Guest
-
All text appear in upper case HELP!
I don't know why but everything I enter appears in upper case. My caps are off and I checked everywhere I could think off to find how to turn off... -
forcing upper case on insert of record
I'm having trouble figuring out the code to force a form field to upper case when it is inserted into the database. This is what I have. What am I... -
Upper Case HTML Text on UNIX Server
Please can someone give me some advice: My HTML contains Upper Case text, which is not supported on the UNIX server where I have tried to publish... -
automatically change to Upper Case
Hi All, need a little help from all of u guys. I want to change input to uppercase while user key in. SO how can I make i in the input text... -
help! forcing form variable to upper case (ASP VB)
I got the following code help to force a form input to uppercase, but don't know where in the code it belongs. Can someone elaborate? strTemp =... -
Ned #2
Re: Forcing text into UPPER CASE???
a little approach, that can be improved :
-----------------------------------
on toUpperChar pChar
set myChar = pChar
set myNum = CharToNum (myChar )
if ( myNum >= CharToNum ("a")) and (myNum <= CharToNum ("z")) then
myChar = NumToChar (myNum + CharToNum("A") - CharToNum("a"))
end if
return (myChar)
end
-----------------------------------
on toUpperString pString
nbChar = pString.char.count
set myString= ""
repeat with i = 1 to nbChar
put toUpperChar (pString.char[i]) after myString
end repeat
return (myString)
end
-----------------------------
put toUpperString ("a.b,c1d*e-f")
--A.B,C1D*E-F
--
----------------
-- Ned
----------------------------------------
Bien faire et laisser braire
----------------------------------------
"Nicollini" <webforumsuser@macromedia.com> a écrit dans le message de
news:bjn9jm$k2g$1@forums.macromedia.com...
| Is it possible to force a text members contents into upper case.
|
| E.g. 'nik' would be typed into a editable text box, it would then be
turned into 'NIK' when submitted.
|
| Can this be done and if so how?
|
| Thanks.
|
| Nick
|
|
Ned Guest
-
Ned #3
Re: Forcing text into UPPER CASE???
forget my answer : Luke's solutions are much smarter !
--
----------------
-- Ned
----------------------------------------
Bien faire et laisser braire
----------------------------------------
Ned Guest
-
Alex Meliora #4
Re: Forcing text into UPPER CASE???
member("text_member").fontstyle = [#AllCaps]
--
Alex.
----------------------------------------------------------
Meliora Software, "Ameliorated Development!"
[url]http://www.meliorasoft.com[/url]
turned into 'NIK' when submitted.> Is it possible to force a text members contents into upper case.
>
> E.g. 'nik' would be typed into a editable text box, it would then be>
> Can this be done and if so how?
>
> Thanks.
>
> Nick
Alex Meliora Guest
-
mango #5
Re: Forcing text into UPPER CASE???
Where did you find this feature. Can´t find it in the manual.
I did manage to find fontStyle = [#AllLower] (not in the manual)
Is this the new undoced Lingo of DMX?
Mango
mango Guest
-
Ned #6
Re: Forcing text into UPPER CASE???
hey, that's great ! Where did you get these ? thank's a lot anyway :o)
--
----------------
-- Ned
----------------------------------------
Bien faire et laisser braire
----------------------------------------
"Alex Meliora" <nospam@meliorasoft.com> a écrit dans le message de
news:bjpra5$2k3$1@forums.macromedia.com...
| Here's the list of all undocumented font styles for text members:...
Ned Guest
-
Alex Meliora #7
Re: Forcing text into UPPER CASE???
Here's the list of all undocumented font styles for text members:
#Boxed
#DoubleUnderline
#WordUnderline
#DottedUnderline
#HiddenText
#StrikeOut
#SuperScript
#SubScript
#AllCaps
#AllLower
#SmallCaps
#Overline
they are not new and available in Director 8 +.
--
Alex.
----------------------------------------------------------
Meliora Software, "Ameliorated Development!"
[url]http://www.meliorasoft.com[/url]
"mango" <mango.nospam.justincase@swipnet.se> wrote in message
news:bjofjv$s5j$1@forums.macromedia.com...> Where did you find this feature. Can?t find it in the manual.
>
> I did manage to find fontStyle = [#AllLower] (not in the manual)
>
>
> Is this the new undoced Lingo of DMX?
>
>
> Mango
Alex Meliora Guest



Reply With Quote

