Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2007
    Posts
    287

    ı have problem -- input -

    for example ım write my input red and then input color change red , if ım write my input blue and then input color change blue how ? ty

  2. #2
    Join Date
    May 2005
    Posts
    1,115
    Input1 OnKey event:

    Code:
    if Input.GetText("Input1")=="red" then 
    	Input.SetProperties("Input1", {BackgroundColor=Math.HexColorToNumber("FF0000")})
    elseif Input.GetText("Input1")=="blue" then 
    	Input.SetProperties("Input", {BackgroundColor=Math.HexColorToNumber("0000FF")})
    end
    Never know what life is gonna throw at you.
    (Based on a true story.)

  3. #3
    Join Date
    Jul 2007
    Posts
    287
    Quote Originally Posted by bule View Post
    Input1 OnKey event:

    Code:
    if Input.GetText("Input1")=="red" then 
    	Input.SetProperties("Input1", {BackgroundColor=Math.HexColorToNumber("FF0000")})
    elseif Input.GetText("Input1")=="blue" then 
    	Input.SetProperties("Input", {BackgroundColor=Math.HexColorToNumber("0000FF")})
    end
    ty too man

  4. #4
    Join Date
    Jul 2007
    Posts
    287

    Cool

    how ı change text color not bacground.. ?

  5. #5
    Join Date
    May 2006
    Posts
    5,380
    change:

    BackgroundColor

    to

    FontColor
    Open your eyes to Narcissism, Don't let her destroy your life!!

  6. #6
    Join Date
    Jul 2007
    Posts
    287
    Quote Originally Posted by RizlaUK View Post
    change:

    BackgroundColor

    to

    FontColor
    ty too

  7. #7
    Join Date
    Nov 2006
    Location
    Quebec, Canada.
    Posts
    432
    Please use a bit the help file, that last question would have been really easy with it.

Similar Threads

  1. MultiLine Input problem
    By FoxLeader in forum AutoPlay Media Studio 6.0
    Replies: 5
    Last Post: 01-14-2008, 04:38 PM
  2. My input problem..
    By morryell in forum AutoPlay Media Studio 6.0
    Replies: 7
    Last Post: 07-29-2007, 12:23 PM
  3. Replies: 3
    Last Post: 03-09-2007, 03:59 AM
  4. Listbox and Input box problem
    By Training in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 10-25-2006, 09:43 AM
  5. Input box resizing problem?
    By patrick6 in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 06-04-2005, 04:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts