Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2008
    Posts
    34

    Grin Read a ComboBox in another object

    Hi, I need to extract a ComboBox selection in a Text Field, it is posible?, How can I do this?

  2. #2
    Join Date
    Dec 2007
    Location
    Missouri, United States
    Posts
    476
    Code:
    INDEX = ComboBox.GetSelected("ComboBox1");
    ITEM = ComboBox.GetItemText("ComboBox1", INDEX);
    DATA = ComboBox.GetItemData("ComboBox1", INDEX);
    the ITEM var will contain the text of the selected item, as to whereas the DATA var contains the data for the selected item.

    EXAMPLE SCENARIO

    lets say we had a combobox with only 1 item in it, an AMS link. In the combobox lets say you see the text AMS. [THE ABOVE ITEM VAR WOULD RETURN THIS TEXT] Now lets say that the item AMS had a value of http://www.indigorose.com/ [THE ABOVE DATA VAR WOULD RETURN THE VALUE OF ITEM]

    Hope my explaination helped

  3. #3
    Join Date
    Mar 2008
    Posts
    34

    Thumbs up Thanks, I will try

    My problem is that I'm learning by my self, and I don't know too many things. Thank you so much. I'll let you know.

Similar Threads

  1. Need ComboBox To Update Image Object
    By octane6228 in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 09-21-2006, 12:10 AM
  2. Spotlight: ComboBox Object Plugin
    By Desmond in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 03-02-2004, 01:10 PM
  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: Make a Media Player Object Go Full Screen
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 11:23 AM
  5. Replies: 0
    Last Post: 10-04-2002, 10:09 AM

Posting Permissions

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