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!
DC_XbpBrowse:itemRbDown
Re: DC_XbpBrowse:itemRbDown
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: DC_XbpBrowse:itemRbDown
If I right click column 3 or higher, it selects the column I click.
I am running the code you gave me.
I wish I could figure this out.
Thanks for the good wishes.
I am running the code you gave me.
I wish I could figure this out.
Thanks for the good wishes.
The eXpress train is coming - and it has more cars.
Re: DC_XbpBrowse:itemRbDown
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."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: DC_XbpBrowse:itemRbDown
I use eXpress++ 2.0.166 with latest Xbase++ 2.0.
See pics attached!
1. click1.png: Right-click on column #2 (header "2") -> cursor stays at column #2.
2. click2.png: Right-click on column #3 (header "4") -> cursor moves to column #4.
See pics attached!
1. click1.png: Right-click on column #2 (header "2") -> cursor stays at column #2.
2. click2.png: Right-click on column #3 (header "4") -> cursor moves to column #4.
- Attachments
-
- click2.png (8.83 KiB) Viewed 8158 times
-
- click1.png (9.53 KiB) Viewed 8158 times
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: DC_XbpBrowse:itemRbDown
I tested with eXpress++ 266 and most current (267). Everything works fine.I use eXpress++ 2.0.166 with latest Xbase++ 2.0.
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.
Re: DC_XbpBrowse:itemRbDown
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."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: DC_XbpBrowse:itemRbDown
Ok, I will dig into this deeper to find out why it works for me.
The eXpress train is coming - and it has more cars.