Is there an API2 replacement for Listbox1.ColumnAt(1).ActualWidth.

I use this to determine how much I can write into a listbox cell and then add another row if needed to give the impression of multiline.

API2 doesn’t like ColumnAt, or ActualWidth, if there isn’t some kind of replacement then I’m stuffed.

I tried using a CellType of TextArea but couldn’t get it to do what I want, seems it will use a TextArea for edit but will still display on a single line. I don’t need to edit but I do need multiline.

Looks like you need to use ColumnAttributesAt(1).widthactual see

Excellent, thanks. I’ll look at that.