Indigo Rose Software

Professional Software Development Tools

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

    Properties Doesnt Work ....

    Code ---

    dat = Label.GetText("Lengt")

    if dat == "9" then
    tblLabelProps = {"Lengt"};
    tblLabelProps.FontUnderline = false;
    tblLabelProps.FontAntiAlias = true;
    tblLabelProps.ColorNormal = Math.HexColorToNumber("FF0000");
    end

    End ---

    Doesnt work why

  2. #2
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    if (Label.GetText("Lengt") == "9" or 9) then
    local tblLabelProps = {};
    tblLabelProps.FontUnderline = false;
    tblLabelProps.FontAntiAlias = true;
    tblLabelProps.ColorNormal = Math.HexColorToNumber("FF0000");
    Label.SetProperties("Lengt", tblLabelProps)
    end

  3. #3
    Join Date
    Jul 2007
    Posts
    287
    Quote Originally Posted by ShadowUK View Post
    if (Label.GetText("Lengt") == "9" or 9) then
    local tblLabelProps = {};
    tblLabelProps.FontUnderline = false;
    tblLabelProps.FontAntiAlias = true;
    tblLabelProps.ColorNormal = Math.HexColorToNumber("FF0000");
    Label.SetProperties("Lengt", tblLabelProps)
    end
    ty ShadowUK

Similar Threads

  1. FUNCTION: Adjust Menu Item Properties
    By Desmond in forum AutoPlay Media Studio 7.5 Examples
    Replies: 20
    Last Post: 05-27-2010, 06:38 AM
  2. ANSI To UNICODE Is Finished!
    By coderanger in forum AutoPlay Media Studio 6.0
    Replies: 7
    Last Post: 08-13-2007, 09:27 AM
  3. Inheriting Page Properties
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-01-2003, 02:21 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