Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 1 Jahr, 8 Monaten
Beteiligte Autoren:
David Egan

[WD21] CurrentField/ControlCurrent bug

Startbeitrag von David Egan am 06.07.2016 18:47

We use CurrentField/ControlCurrent fairly extensively, mainly within switch statements that handle database navigation. Fields which allow such navigation are always supercontrols. We've been doing it this way for years but in the latest update (& possibly before that) our navigation stopped working on some fields.

Investigation revealed that ControlCurrent on the first navigation control in a window returned correctly ("SC_Field1Name.EDT_Field") whereas subsequent navigation controls returned the window alias as well ("Alias00001.SC_Field2Name.EDT_Field"). I forwarded it to PCSoft who have acknowledged the problem & sent it to their developers.

I don't know if it's limited to supercontrols and/or MDI child windows but thought I'd give you all a heads up. In my case, once I knew what the problem was, it was easily worked around with a small procedure to strip out the alias name if necessary.




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.