Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2009
    Location
    saudi arabia " K.S.A "
    Posts
    30

    need help wiht combobox

    i need from the combobox when the user click on it , he go to a certan page

    i sued this code but for some how it didn't work , don't know why
    is there a way to do it , or i did it wrong ??

    PHP Code:
    selected_page ComboBox.GetSelected("ComboBox1");
    Page.Jump("page"..selected_page); 

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    Once you have got the information about which item has been selected, you need to get that information - a simple example is attached.

  3. #3
    Join Date
    May 2009
    Location
    saudi arabia " K.S.A "
    Posts
    30
    thankks a lot

    that exactly what i was trying to do

  4. #4
    Join Date
    Oct 2011
    Posts
    1
    Hi, Thanks..

    Where is the attached example u talking about?

    I need some help also..

    thanks

  5. #5
    Join Date
    Aug 2003
    Posts
    2,427
    This is a thread from 2009. I routinely delete all my stuff after a few months.

    The code I use to open a selected item in a listbox is usually something like -
    Code:
    tbSel = ListBox.GetSelected("ListBox1");
    
    if (tbSel) then
    	File.Open(ListBox.GetItemData("ListBox1", tbSel[1]), "", SW_SHOWNORMAL);
    end

Posting Permissions

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