API 2.0 Replacement for Cell Borders and YieldToNextThread

Hi,

Working though >20,000 Syntax Errors and I can’t find a replacement for:

App.YieldToNextThread

CellBorderBottom
CellBorderTop
CellBorderLeft
CellBorderRight

BorderThinSolid
BorderDoubleThinSolid
BorderThinDotted
BorderThickSolid

Does anyone know what they might be?

Thanks -Chris

Shared method: Thread.YieldToNext

The others are listbox based, just check the DesktopListbox documentation

As one who tries to be a “glass half full” kind of guy, there are things I like about API 2. But yes, it’s the gift that keeps on giving. :slight_smile:

1 Like

:joy: tears of laughter at last!

Thanks for the shared yield.

I couldn’t find the border specifics (dotted, top, bottom, etc). Maybe I’m just gone blind from all of this :grinning_face:

Think it changed to this

I recall there are no more border for each cells, like in API1
you need to build your own using cellbackgroundpaint events
and a subclass of desktoplistbox

among many others : Borders in API2 - #26 by John_Allen

Thanks Jean-Yves. That’s what I was afraid of :pensive_face:

They broke the design of some tables for me in the past due to that. It was sad. I always wait adding more features, like adding borders at cell level as Excel, etc not a “from now on setting custom borders are gone”.

Thanks for clarifying this Rick. Coincidentally, the border feature is a bigger pain for me as I used it for formatting the cells in a listbox class I used to export the it’s formatted contents to an excel silk file