I am using this action in the Page "On Show". I have 21 items populating a ComboBox. I have the ComboBox, under the "Settings" tab, set to display 6 lines in the dropdown list. However, all 21 items populate the list and run off the page. No scroll bar appears. Little help, please?
ComboBox.InsertItem
Collapse
X
-
Originally posted by David REMD View PostI am using this action in the Page "On Show". I have 21 items populating a ComboBox. I have the ComboBox, under the "Settings" tab, set to display 6 lines in the dropdown list. However, all 21 items populate the list and run off the page. No scroll bar appears. Little help, please?
-
-
Hi,
You can always control the number of items to be displayed on the properties pane of ComboBox.Newbie Examples
------> AMS 7.5 : amstudio.azman.info
----> AMS 6 & 5: www.azman.info/ams/
----> FB: facebook.com/GuideToWealth
----> Content Development Blog: www.AZMAN.asia
Comment
-
-
I don't see an issue, seems to as expected. I used this code for my test:
Code:for n=1,21 do ComboBox.InsertItem("ComboBox1", n, n, "") end
I'd like to see your code that created this issue you saw.Intrigued
Comment
-
-
Intrigued,
My issue is not in populating the ComboBox with my data, it is with the number of items that display in the dropdown list. I want to limit the number to 6.
Here is the code that populates the list:
Code:myvalues = {Name1="$Name1"}; result = HTTP.Submit(http://www.MyDomain.com/mylist.php, myvalues, SUBMITWEB_GET, 20, 80, nil, nil); myvalues = {Url1="$Url1"}; result1 = HTTP.Submit(http://www.MyDomain.com/mylist.php, myvalues, SUBMITWEB_GET, 20, 80, nil, nil); -- Insert a new item into the combobox at index. ComboBox.InsertItem("ComboBox9", 2, result, result1);
Comment
-
-
Originally posted by David REMD View PostIntrigued,
My issue is not in populating the ComboBox with my data, it is with the number of items that display in the dropdown list. I want to limit the number to 6.
Here is the code that populates the list:
Code:myvalues = {Name1="$Name1"}; result = HTTP.Submit(http://www.MyDomain.com/mylist.php, myvalues, SUBMITWEB_GET, 20, 80, nil, nil); myvalues = {Url1="$Url1"}; result1 = HTTP.Submit(http://www.MyDomain.com/mylist.php, myvalues, SUBMITWEB_GET, 20, 80, nil, nil); -- Insert a new item into the combobox at index. ComboBox.InsertItem("ComboBox9", 2, result, result1);
Utilizing PHP and HTTP Actions like you have... sounds like the area of issue.Intrigued
Comment
-
-
Originally posted by Intrigued View PostI am unable to duplicate the bug you see based on that.
Maybe if IR could allow regular old ActiveX's to be used; we coulse objects of a different kind... but that would introduce a whole new problem for running on target systems...
Comment
-
-
Hi David and Jassing,
I have created an example that proves AMS ComboBox number of display lines can be set by default at design time. It can also be controlled by your app users using radioboxes or etc.
In this example, by default the ComboBox will display 3 Dropdown items. Then users can choose either 5 or 10 display option. The changes can be seen live at runtime by using ComboBox.SetProperties() function.
OnShow will populate the ComboBox with Live Search Engines from a hardcoded table. After selecting one item, OnClick button will open a default browser.
I have not been able to upload files to this forum. So the example is in my server : www.azman.info/ams/DropDownControl.apzNewbie Examples
------> AMS 7.5 : amstudio.azman.info
----> AMS 6 & 5: www.azman.info/ams/
----> FB: facebook.com/GuideToWealth
----> Content Development Blog: www.AZMAN.asia
Comment
-
-
Originally posted by azmanar View PostHi David and Jassing,
I have created an example that proves AMS ComboBox number of display lines can be set by default at design time.
I'm not about to provide you with a flash movie of it failing to work for me; as you would just accuss me of altering the code....
-j
Comment
-
-
Hi Jassing,
Have you tried the example? Theres not much coding in it. At my end, the ComboBox settings are functioning. Intrigue has no problem too.
I suggest you open a ticket with IR.Newbie Examples
------> AMS 7.5 : amstudio.azman.info
----> AMS 6 & 5: www.azman.info/ams/
----> FB: facebook.com/GuideToWealth
----> Content Development Blog: www.AZMAN.asia
Comment
-
-
Hi Jassing,
I hope the issue you faced will be resolved soon.Newbie Examples
------> AMS 7.5 : amstudio.azman.info
----> AMS 6 & 5: www.azman.info/ams/
----> FB: facebook.com/GuideToWealth
----> Content Development Blog: www.AZMAN.asia
Comment
-
-
Originally posted by azmanar View PostHi Jassing,
I hope the issue you faced will be resolved soon.
Cheers
-josh
Comment
-
Comment