Announcement

Collapse
No announcement yet.

A bug?

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

  • A bug?

    When I use a ListBox with a checklist, I cannot hide it...
    Does anyone know a solution?

    thanks

  • #2
    you cando that by this code :


    PHP Code:
    ListBox.SetProperties("ListBox1", {ListBoxType=0}); 

    :yes:yes:yes

    Comment


    • #3
      Maybe I was too brief: the problem is that I have a listbox that is hidden at first. Then it is unhidden (= shown).
      That works fine is the listbox does not contain checkboxes.
      If it does contain checkboxes, the listbox itself cannot be hidden.
      This looks like a bug to me.

      Can anyone replicate this ?

      Comment


      • #4
        PHP Code:
        result ListBox.GetProperties("ListBox1");
        if  
        result .ListBoxType == 0 then
        LB_LISTBOX
        =1
        ListBox
        .SetType("ListBox1"LB_LISTBOX);
        else
        LB_LISTBOX=0
        ListBox
        .SetType("ListBox1"LB_LISTBOX);
        end 

        Comment


        • #5
          That solves the problem indeed!
          Thanks.

          Comment


          • #6
            Enjoy

            Comment

            Working...
            X
            😀
            🥰
            🤢
            😎
            😡
            👍
            👎