Search found 1174 matches

by Tom
Fri Mar 03, 2023 3:20 am
Forum: eXpress++ Support
Topic: Problem with disabled windows on Terminal Server
Replies: 50
Views: 13407

Re: Problem with disabled windows on Terminal Server

This solution reminds me of a joke. :) But, to be honest. This simple and brillant solution (I was thinking about that direction) prevents any errors inside the FUNCTON _EditProtected from being trapped, or errors in which this function maybe involved, even indirectly (wrong codeblock). This is not...
by Tom
Fri Mar 03, 2023 1:21 am
Forum: eXpress++ Support
Topic: Problem with disabled windows on Terminal Server
Replies: 50
Views: 13407

Re: Problem with disabled windows on Terminal Server

I put this at the beginning of my error handler and it fixed the issue. Same here. Slight changes: IF IsWTSClientSession() FOR i := 0 TO 10 IF '_EDITPROTECTED' $ ProcName(i) Break(oError) ENDIF NEXT ENDIF * Somewhere else: // Check whether the current process runs in a Remote Desktop session. FUNCT...
by Tom
Thu Mar 02, 2023 5:14 am
Forum: eXpress++ Support
Topic: Problem with disabled windows on Terminal Server
Replies: 50
Views: 13407

Re: Problem with disabled windows on Terminal Server

Yes, I forgot to mention this, thanks. A RDP-session hosted by a Windows-10-machine will produce this error aswell.
by Tom
Thu Mar 02, 2023 1:20 am
Forum: eXpress++ Support
Topic: Problem with disabled windows on Terminal Server
Replies: 50
Views: 13407

Re: Problem with disabled windows on Terminal Server

Hi, Roger. A simple workaround for you may be to do this: Uh. Besides WHEN is completely different to EDITPROTECT, this would effect thousands of lines of code, it would effect the app behaviour (and the look of the UI) - and we have mixes of both. This is not a solution. Maybe I am returning a wron...
by Tom
Wed Mar 01, 2023 4:38 am
Forum: eXpress++ Support
Topic: Problem with disabled windows on Terminal Server
Replies: 50
Views: 13407

Re: Problem with disabled windows on Terminal Server

This looks like HandleEvent of the dialog is not involved. It's inside the event loop.
by Tom
Tue Feb 28, 2023 9:58 am
Forum: eXpress++ Support
Topic: Problem with disabled windows on Terminal Server
Replies: 50
Views: 13407

Re: Problem with disabled windows on Terminal Server

People just want to follower our excellent dialogues. 8-)

Anyway, same problem. I attached my _DCGETBX.PRG to help you to see the causing code.
erroragain.png
erroragain.png (160.58 KiB) Viewed 2309 times
by Tom
Tue Feb 28, 2023 2:27 am
Forum: eXpress++ Support
Topic: Problem with disabled windows on Terminal Server
Replies: 50
Views: 13407

Re: Problem with disabled windows on Terminal Server

Here is the log. It seems to be the xbeP_SystemPropertyChanged event causing trouble.
by Tom
Tue Feb 28, 2023 1:58 am
Forum: eXpress++ Support
Topic: Problem with disabled windows on Terminal Server
Replies: 50
Views: 13407

Re: Problem with disabled windows on Terminal Server

Sorry for my late answer; I once again had that top-modern corona-thing, although I'm vaccinated at least twenty or thirty times. 8)

I will test that later the day. Unfortunatley, I can't give you a guest access to our RDP server.
by Tom
Thu Feb 23, 2023 3:50 am
Forum: eXpress++ Support
Topic: Problem with disabled windows on Terminal Server
Replies: 50
Views: 13407

Re: Problem with disabled windows on Terminal Server

Hi, Roger. I was in contact with Till again about this problem. He confirmed the (mis-)behaviour, but Alaska is not going to change something there. This is what he wrote as a suggestion for a solution (translated with Google): Once again the proposed solution: in my tests, the xbeP_SetDisplayFocus ...