Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
7
Erster Beitrag:
vor 4 Jahren, 10 Monaten
Letzter Beitrag:
vor 4 Jahren, 10 Monaten
Beteiligte Autoren:
Allard, Fabrice Harari, Peter Holemans, DarrenF

WD 18 odd error

Startbeitrag von Allard am 15.10.2013 13:07

Hi I have a window and that window willnot close when hitting the close system button.

I made it as a normal window. And than the problem was there as well. Now I conferted it top an MDI child window and the problem is still there.

How can I change the functionality of the system close X button ? For it seems there is something wron with it.
In a normal buttonif you add an action you can see that there is a close action in the code How is that for the system close X button? It seems to mee I can onley remove them ( in a normal window) in the style tab of the window.
But in the MDI modes that is not possible for it is mandatory.

If I do a test on the window. Construct a test then when running the test the window does close? Verry odd indeed. This odd bug onley appears in one window?


regards

Allard

Antworten:

Hi Allard,

Do you have a button somewhere that has a shortcut of ALT+F4?
The close button will in that case redirect to that button or control...
This is standard Windows behaviour.

Cheers,

Peter H.

von Peter Holemans - am 15.10.2013 13:17
Hi ,

No I have not, as far as I know. I'll take a look at the buttons , maybe there is a button that has this, but not by my hand

Thanks

Allard

von Allard - am 15.10.2013 13:41
Hi Allard,

Have you debugged your code, stepped thru line by line?

I had a similar issue and it was an event being triggered that I didn't expect and taking the program flow back into the processing.

von DarrenF - am 15.10.2013 23:21
Hi
Well I found part of the problem . I has todo with a button.( indeed 3 buttons)

In my screen there are planes. And if I acivate an other plane , where the buttons are invisible. Then it works fine

I have looked if one of the buttons has shift F4 but none of the bttons has anaything assigned to It
Huh this is a real show stopper. For now think I leave it as it is maybe look at it again some other time.

Thanks for your help

regards

Allard

von Allard - am 17.10.2013 09:42
Hi

from the top of my head, you will get that behavior not onlyu with ALT-F4 as shortcut, but ALSO with ESCAPE (which means that interruption buttons may be in cause here)

Best regards

von Fabrice Harari - am 17.10.2013 13:36
Hi

I have some rare behavior on the save button. It lights up al the time?? Can that be it?

Allard

von Allard - am 17.10.2013 17:52
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.