Where did my listbox rows and columns go?

  1. 7 months ago

    Brian O

    9 Jan 2019 Pre-Release Testers, Xojo Pro Calgary, AB
    Edited 7 months ago

    Does deleteallrows from a listbox reset the number of columns and their titles?
    If I add a bunch of rows to a listbox from an event, is there a method like update or redraw or paint that I need to call?
    The listbox is inside a container control.

    The actual listbox is a subclass of listbox, however it is blank with only one column after tried to repopulate it.
    Thoughts?

  2. Roger C

    9 Jan 2019 Lewis Center, OH

    it doesn't reset the number of cols, but it does (as advertised) delete all rows. You will need to listbox1.addrow to re-establish your data.

    with only one column after tried to repopulate it.

    I don't know what you are seeing here.

  3. Brian O

    9 Jan 2019 Pre-Release Testers, Xojo Pro Calgary, AB

    Sorry.. my mistake.. nermind...

or Sign Up to reply!