Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 13 of 13
  1. #1
    Join Date
    Feb 2006
    Posts
    8

    work with combobox

    hi, please help me... it is very important 4 me..

    i would like to work with my combobox like this...

    i would like to set there some items and when i choose on of them i will open some WORD file/or other page in AUTOplay studio...

    thanks a lot!

  2. #2
    Join Date
    Oct 2005
    Location
    American Dubai
    Posts
    629
    I have an example in my site that jumps to a specific page based on a Combobox Object''s On Select actions. You could use the same method but with actions other than the Page jumps.

  3. #3
    Join Date
    Feb 2006
    Posts
    8
    thank you very much!

    and it is possible to open with COMBO BOX some WORD file? how action must i used? (open.file) ???

    thanx: i am LAMA i know

    Quote Originally Posted by Mina
    I have an example in my site that jumps to a specific page based on a Combobox Object''s On Select actions. You could use the same method but with actions other than the Page jumps.

  4. #4
    Join Date
    Oct 2005
    Location
    American Dubai
    Posts
    629
    Yup, you could use File.Open to open a word file with its default viewer

  5. #5
    Join Date
    Feb 2006
    Posts
    8

    ok...that is okey

    and other question

    how can i do with INPUT OBJECT this action.

    I would like to input (fill in) some number of PAGE and push the enter button and the PAGE will show there.... it is possible????

    thanx!

    !!!!!!!!!!

  6. #6
    Join Date
    Oct 2005
    Location
    American Dubai
    Posts
    629
    Hi Alxx.

    Check out
    Page Jump Based On Input Object

  7. #7
    Join Date
    Feb 2006
    Posts
    8

    Hi! Mina

    i must thank you very mutch... you helped me so much... please send me your emeil with your contacts... i would like to thank you specially in email GOOD NIGHT

  8. #8
    Join Date
    Oct 2005
    Location
    American Dubai
    Posts
    629
    Quote Originally Posted by alxx
    i must thank you very mutch... you helped me so much... please send me your emeil with your contacts... i would like to thank you specially in email GOOD NIGHT
    No need for that
    Glad i could help

  9. #9
    Join Date
    Feb 2006
    Posts
    8

    key

    so i will to ask you if i have a problem...i try to do this thing for a long time.... thats great!

    have a nice day/night if you going to visit czech republic sometimes....you are WELCOME!

  10. #10
    Join Date
    Feb 2006
    Posts
    8

    one problem again :)

    this is the code:

    Pages = Application.GetPages();
    Request = Input.GetText("lk");
    Num = Table.Count(Pages);
    Input = String.ToNumber(Request);
    if Input > Num then
    result = Dialog.Message("Notice", "There are only "..Num.." Pages!", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
    else
    Page.Jump(Pages[Input]);
    end

    if i understand it right, that show me pages (jump on pages) under the SOME NUMBER....is it possible to show me some CALLED (named) pages??

    ii hope that you understand right.... i would to show only some specific pages...not all....

  11. #11
    Join Date
    Oct 2005
    Location
    American Dubai
    Posts
    629
    Quote Originally Posted by alxx
    this is the code:

    Pages = Application.GetPages();
    Request = Input.GetText("lk");
    Num = Table.Count(Pages);
    Input = String.ToNumber(Request);
    if Input > Num then
    result = Dialog.Message("Notice", "There are only "..Num.." Pages!", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
    else
    Page.Jump(Pages[Input]);
    end

    if i understand it right, that show me pages (jump on pages) under the SOME NUMBER....is it possible to show me some CALLED (named) pages??

    ii hope that you understand right.... i would to show only some specific pages...not all....
    Do u mean using Page Names instead of their Numbers in order ?
    If yes, then you could change the code to:

    Code:
    Request = Input.GetText("lk");
    Page.Jump(Request);
    Last edited by Mina; 03-16-2006 at 04:36 PM.

  12. #12
    Join Date
    Oct 2005
    Location
    American Dubai
    Posts
    629
    You could also expand your code this way;

    Code:
    Request = Input.GetText("lk");
    P_table = Application.GetPages();
    Pages = Table.Concat(P_table, "-", 1, TABLE_ALL);
    Found = String.Find(Pages, Request, 1, false);
    E = "-1"
    G = String.ToNumber(E);
    if Found == G then
    result = Dialog.Message("Notice", Request.." cannot be found!", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
    elseif Found ~= G then
    Page.Jump(Request);
    end

  13. #13
    Join Date
    Nov 2005
    Location
    Banned by moderator.
    Posts
    264
    just a slight fix:
    Code:
    result = Dialog.Message("Notice", Request.." cannot be found!", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
    Than can be removed, because the dialog has no input and just the OK button...

Similar Threads

  1. Not understanding ComboBox very well
    By RodB in forum AutoPlay Media Studio 6.0
    Replies: 28
    Last Post: 04-16-2007, 09:00 AM
  2. ComboBox Reset
    By azmanar in forum AutoPlay Media Studio 6.0
    Replies: 2
    Last Post: 12-29-2005, 12:46 PM
  3. ComboBox problem
    By andrewr in forum AutoPlay Media Studio 5.0
    Replies: 5
    Last Post: 05-06-2005, 09:49 AM
  4. ComboBox display current
    By pjhiggins in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 05-21-2004, 12:14 PM
  5. Spotlight: ComboBox Object Plugin
    By Desmond in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 03-02-2004, 01:10 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