Announcement

Collapse
No announcement yet.

ComboBox.InsertItem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • rexzooly
    replied
    Originally posted by David REMD View Post
    OK. Here is the .apz that is calling up the data from my domain to populate the ComboBox. As you will see, the "Lines to display in dropdown" is set to 6. However, all 21 items populate the list. Only 6 should display and a scroll bar should be present.
    ok why don't you get the info first then get the combo to open it its becasue its loading in to the box as you open it i think thats whats making the problem.
    matbe get the info download it to the load system in maybe a text formate and then added or set it in to a table frist then call it that way.

    /////EDITE

    Yes i let it load and now i just get 6 you need to download the contect before the user users the combo.

    Leave a comment:


  • David REMD
    replied
    OK. Here is the .apz that is calling up the data from my domain to populate the ComboBox. As you will see, the "Lines to display in dropdown" is set to 6. However, all 21 items populate the list. Only 6 should display and a scroll bar should be present.
    Attached Files

    Leave a comment:


  • rexzooly
    replied
    Originally posted by David REMD View Post
    The Combo Box should now list all 21 entries and run off the page...even though the properties is set to 6 lines to display. Have you recreated the same issue?
    erm ok i seem to unable to get this problem i got it when i opend the first one
    with the error but now its not doing it anymore since you posted this one
    it dose not give me that many it just gives me 6 i have tested it but the contect from the php file is not been show in the combo

    Leave a comment:


  • David REMD
    replied
    The Combo Box should now list all 21 entries and run off the page...even though the properties is set to 6 lines to display. Have you recreated the same issue?

    Leave a comment:


  • rexzooly
    replied
    Originally posted by David REMD View Post
    Yes. Now remove the following code from the Page "On Show" and you will get the original result that prompted the post.

    Code:
    for n=2,21 do
    	ComboBox.InsertItem("ComboBox9", n, n, "")
    end
    ok will do give me a moment.

    .....EDITED

    Ok i now see just blank fields
    can i ask why this is like this
    Code:
    gCommunitiesData.gCommunitiesData
    and this is like this?
    Code:
    gCommunitiesData = {gCommunitiesData="http://localhost/test/communities.php"};
    i just wonder why you are including gCommunitiesData in the gCommunitiesData = part then calling gCommunitiesData.gCommunitiesData
    Last edited by rexzooly; 03-23-2008, 09:59 PM.

    Leave a comment:


  • David REMD
    replied
    Yes. Now remove the following code from the Page "On Show" and you will get the original result that prompted the post.

    Code:
    for n=2,21 do
    	ComboBox.InsertItem("ComboBox9", n, n, "")
    end

    Leave a comment:


  • rexzooly
    replied
    ok now get no errors but i get around 22 blank fields and then numbers after the blank fields starting with 2.

    Leave a comment:


  • rexzooly
    replied
    Originally posted by David REMD View Post
    My apologies. I am using a username & password verification in the actual application. I have removed it. Here is the updated .apz
    ok i will give this one a tst give me 5

    Leave a comment:


  • David REMD
    replied
    My apologies. I am using a username & password verification in the actual application. I have removed it. Here is the updated .apz
    Attached Files

    Leave a comment:


  • rexzooly
    replied
    Originally posted by David REMD View Post
    Here it is. Please let me know.
    ok i have tested this on my localhost server and i just get on select error line 6

    Leave a comment:


  • David REMD
    replied
    Here it is. Please let me know.
    Attached Files

    Leave a comment:


  • jassing
    replied
    Originally posted by Intrigued View Post
    Perhaps, trying out a basic example like I did and seeing if that works.
    I've replicated it w/o code -- all in the gui -- add some items, set the display # to 4 -- and it displayed all the items....

    Leave a comment:


  • holtgrewe
    replied
    Is it possible to create this problem on a small single page project and post it so several sets of eyes could analyse this problem...? As well as IR.

    If your example fails on everyone's system, it will certainly be easy to diagnose and fix. Environmental problems are sometimes impossible to diagnose.

    Leave a comment:


  • Intrigued
    replied
    It's odd this has not come up before (or has it?) in all the years this action has been available to us developers. And times that by all the applications that have gone out to clients. That's got to be in the 10s of thousdands, or more, interactions with that action.

    Wild stuff there... I wish you the best in tracking that bug down. Perhaps, trying out a basic example like I did and seeing if that works. If not, then that would really get me scratching my head, as it works, has been working, for me fine.

    *scene where ghosts are seen moving across the forums*

    Leave a comment:


  • David REMD
    replied
    It's definately not machine specific. I tested on 3 other machines and got the same result. What good is the ComboBox.InsertItem action, when populating the list with external data, if one can not control the object properties? Either this is a bug or there are other actions needed to control the number of lines to display. Still in need of a solution...

    Leave a comment:

Working...
X