View Full Version : ComboBoX to PageJump specefic page ??
dragonw
03-18-2008, 08:04 AM
Hello
i try to use the combobox and jump with it to a specific page in my projet
i use this code but i can"t set a specific page
selected_page = ComboBox.GetSelected("ComboBox1");
Page.Jump("Page"..selected_page);
Thanks for HELP :):)
sermak
03-18-2008, 09:19 AM
You need put in ComboBox Item: 1,2,3 or a name that you put a page..
With me works..
On Select [in ComboBox]:
selected_page = ComboBox.GetSelected("ComboBox1");
Page.Jump("Page"..selected_page);
I wope help you
dragonw
03-18-2008, 11:12 AM
Thank you for answer
but i want to point it to a specific page
because i have 4 combobox and its duplicated in all page
look my apz
thank you 2
by the way
and how to disable the second combobox if an item in the first is not selected
Thank you Very Much 3
sermak
03-18-2008, 01:08 PM
1º Question:
On Select
selected_page = ComboBox.GetText("ComboBox1");
if selected_page == "Maroc" then
Page.Jump("Maroc");
elseif selected_page == "Espagne" then
Page.Jump("Espagne");
end
2º Question:
if (rComboBox1 == "Select") then
ComboBox.SetEnabled("ComboBox2", false)
else
ComboBox.SetEnabled("ComboBox2", true)
end
Im a noob and i dont understand very this.. but i try this way.. and works.. but if you dont want in this way.. sorry.. i do my best to help you.. sorry my english and once again i hope that help you with code
dragonw
03-19-2008, 09:14 PM
Thank you very much man , .. it work nice ... thank you again
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.