I`m having a problem with the combobox (A user problem!!)
I have a drop down box - Now when looking at the Combo Box at first view I want it to Say in the Box [ Choose Vehicle..] then when you click the box it shows the 2 pages (choices) that the client would go to, now when I first run my Project it shows everything as I wish but should I jump between the pages the Initial (Choose Vehicle) prompt dissapears once I return to any of the pages that I have already visited, so How do I keep that text at the top of my ComboBox. (seems simple but not for me!!)
Below is how I have it setup at present.
If I click the Combo Box and then go to "Properties Window", in the "Items list" I have added the [ Choose Vehicle..] text that I would like shown at the top of the ComboBox, on the script side of things I have it setup as follows
ON SELECT
nIndex = ComboBox.GetSelected("wiring diagrams - info");
iText = ComboBox.GetItemText("wiring diagrams - info", nIndex);
Page.Jump(iText);
ON FOCUS
-- delete all items in the combobox
ComboBox.ResetContent("wiring diagrams - info");
-- populate combobox with suitable items
ComboBox.AddItem("wiring diagrams - info", "Wiring Diagrams - Auxiliary");
ComboBox.AddItem("wiring diagrams - info", "Wiring Diagrams - Hydrostatic - Unidrive");
I hope that makes some sense. Any assistance would be welcomed.
Thankyou
I have a drop down box - Now when looking at the Combo Box at first view I want it to Say in the Box [ Choose Vehicle..] then when you click the box it shows the 2 pages (choices) that the client would go to, now when I first run my Project it shows everything as I wish but should I jump between the pages the Initial (Choose Vehicle) prompt dissapears once I return to any of the pages that I have already visited, so How do I keep that text at the top of my ComboBox. (seems simple but not for me!!)
Below is how I have it setup at present.
If I click the Combo Box and then go to "Properties Window", in the "Items list" I have added the [ Choose Vehicle..] text that I would like shown at the top of the ComboBox, on the script side of things I have it setup as follows
ON SELECT
nIndex = ComboBox.GetSelected("wiring diagrams - info");
iText = ComboBox.GetItemText("wiring diagrams - info", nIndex);
Page.Jump(iText);
ON FOCUS
-- delete all items in the combobox
ComboBox.ResetContent("wiring diagrams - info");
-- populate combobox with suitable items
ComboBox.AddItem("wiring diagrams - info", "Wiring Diagrams - Auxiliary");
ComboBox.AddItem("wiring diagrams - info", "Wiring Diagrams - Hydrostatic - Unidrive");
I hope that makes some sense. Any assistance would be welcomed.
Thankyou
Comment