View Full Version : 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!
I have an example in my site (http://ams.mina-e.com) 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.
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 :D
I have an example in my site (http://ams.mina-e.com) 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.
Yup, you could use File.Open to open a word file with its default viewer
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!
!!!!!!!!!!
Hi Alxx.
Check out
Page Jump Based On Input Object (www.mina-e.com/ams.html)
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
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
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! :)
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....
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:
Request = Input.GetText("lk");
Page.Jump(Request);
You could also expand your code this way;
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
playmenow
03-17-2006, 01:14 AM
just a slight fix:
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...
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.