If I right-click on column #3 or higher, the column cursor moves one column right. This does not happen if no column is deleted. The reason seems to be "oColumn:ColumnPos", which is not actualized when I delete columns (and it is only used with Xbase++ 2.0, as you see in your code which I posted here). I can add some code to my app to get this going. Not a big problem. I thought this was an error which has to be shown to you.
And: Congrats, Grampa!
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Strange. I have to check the eXpress++-version. Which one is actual? And what about my subscription? I remember I wrote some mails to you last year or maybe in 2017.
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
I tested with eXpress++ 266 and most current (267). Everything works fine.
I haven't tested with latest Xbase++. That may be the problem. I'm using build 1176.
The eXpress train is coming - and it has more cars.
This happend with earlier versions of Xbase++ 2.0 aswell. The reason is the iVar "ColumnPos", which you introduced for 2.0 and which is used in DC_XbpBrowse:itemRbDown to set the cursor on a right-click - the code from _DCXBPROW.PRG I posted before. If I recalculate oColumn:ColumnPos when a column is deleted, everything works fine. I can't believe this works at your site. If oBrowse:InsColumn or oBrowse:DelColumn is used, there is no overloaded method in your code, so oColumn:ColumnPos can't be set or changed. It must behave wrong. Very strange.
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."