Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3

Thread: Help Please

  1. #1
    Join Date
    Jul 2007
    Posts
    287

    Help Please

    c1 = ComboBox.GetItemText("Combo1", ComboBox.GetSelected("Combo1"));
    c2 = ComboBox.GetSelected("Combo1");

    if c1 == "Random Selected" then
    cx = Math.Random(2, 5);
    ComboBox.SetSelected("Combo1", cx);
    end

    Input.SetText("Input1", "Text : "..c1.." İndex : "..c2);


    Its true but ;

    I show My Input : " Text : Random Selected İndex : 1 "
    But Math.Random changed selected why ı show again Random Selected , ı want show my input Math.Random changed text

    For example

    İndex 1 : Random Selected
    İndex 2 : 1
    İndex 3 : 2
    İndex 4 : 3
    İndex 5 : 6

    İf i click index 1 ( Random Selected ) then changed selected but ı show my ınput " Text : Random Selected İndex : 1 " why ? I want show index 2-3-4 or 5 thx

  2. #2
    Join Date
    Jul 2007
    Posts
    287

  3. #3
    Join Date
    Jul 2007
    Posts
    287
    who can help me ? ım wait ..

Posting Permissions

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