Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2005
    Posts
    572

    how i create image object on runtime?

    how i create image object on runtime?

    Page.CreateObject(OBJECT_IMAGE, "NewObject", nil);

    i need all the Properties (how to edit the Properties?)
    Last edited by lnd; 04-26-2008 at 03:23 PM.

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    like so

    Code:
    -- Image object properties table.
    tblImageProps = {};
    tblImageProps.ImageFile = "";
    tblImageProps.Height = 150;
    tblImageProps.Width = 150;
    tblImageProps.Y = 0;
    tblImageProps.X = 0;
    tblImageProps.UseTransColor = false;
    tblImageProps.TransparentColor = Math.HexColorToNumber("FFFFFF");
    tblImageProps.Opacity = 100;
    tblImageProps.Tolerance = 10;
    tblImageProps.HitTest = HITTEST_STANDARD;
    tblImageProps.Cursor = CURSOR_ARROW;
    tblImageProps.TooltipText = "";
    tblImageProps.Visible = true;
    tblImageProps.Enabled = true;
    tblImageProps.ResizeLeft = false;
    tblImageProps.ResizeRight = false;
    tblImageProps.ResizeTop = false;
    tblImageProps.ResizeBottom = false;
    tblImageProps.ClickSound = SND_NONE;
    tblImageProps.ClickSoundFile = "";
    tblImageProps.HighlightSound = SND_NONE;
    tblImageProps.HighlightSoundFile = "";
    -- Create the object
    Page.CreateObject(OBJECT_IMAGE, "NewObject", nil);
    Open your eyes to Narcissism, Don't let her destroy your life!!

Similar Threads

  1. FreePlugin: Splash Image Transition Engine DLL
    By RizlaUK in forum AutoPlay Media Studio 6.0
    Replies: 43
    Last Post: 03-26-2008, 08:41 AM
  2. Reloading Image Objects at Runtime
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 10:26 AM
  3. INFO: Difference between the Media Player Object and the AVI Object
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-29-2002, 02:15 PM
  4. HOWTO: Create a Project Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 01:49 PM
  5. TUTORIAL: Showing and Hiding Objects in AutoPlay Menu Studio 3.0
    By Support in forum AutoPlay Menu Studio 3.0
    Replies: 0
    Last Post: 10-10-2002, 02:39 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