in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

additem and column width

Last post 01-31-2008 5:03 PM by ntbuddy. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 09-23-2003 3:33 PM

    additem and column width


    I am using the listbox and setting the datamode to additem. Using the column collection editor, i add several columns and set their widths and captions. When i compile, i get a message in VB:
    Option Strict On disallows implicit conversions from 'System.Collections.ICollection' to 'System.Drawing.Image'.

    I can fix this but it is a bug.
    More important to me tho is that when i call additem to add a row to the list, the col headings and width all revert to defaults. I tried turning off autosize but to no avail. what am i doing wrong?

    Click here to view the original newsgroup article (read only).

  • 09-26-2003 2:55 PM In reply to

    Re: additem and column width

    This is a bug, please notice the announcement of the dropping of the next
    build.

    Thanks.



    "jerry " wrote in message
    news:3f70a020$1@vger5.componentone.com...
    >
    > I am using the listbox and setting the datamode to additem. Using the
    column collection editor, i add several columns and set their widths and
    captions. When i compile, i get a message in VB:
    > Option Strict On disallows implicit conversions from
    'System.Collections.ICollection' to 'System.Drawing.Image'.
    >
    > I can fix this but it is a bug.
    > More important to me tho is that when i call additem to add a row to the
    list, the col headings and width all revert to defaults. I tried turning off
    autosize but to no avail. what am i doing wrong?
    >


    Click here to view the original newsgroup article (read only).

  • 01-16-2008 4:30 PM In reply to

    • lterry
    • Not Ranked
    • Joined on 01-16-2008
    • Posts 5

    Re: additem and column width

    Do you know if this bug has been fixed?  I do not get the same compiler error but I am seeing the same outcome.  I need one of my columns to either have a width of 0 or have visibilty set to false.  When I set it up in the designer it goes back to the defaults at runtime.

    Thanks,

    Lindsay

    Filed under: ,
  • 01-31-2008 5:03 PM In reply to

    Re: additem and column width

    That worked perfectly. Thanks. Now all I have to do is work on the columns being displayed and I'll be good. Thanks again! John

Page 1 of 1 (4 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.