Highlighted
Absent Member.
Absent Member.
461 views

[archive] Entry-field focus lost

[Migrated content. Thread originally posted on 10 September 2010]

We are using the old method of programming and i have a problem with the focus sinch we install active fax printer we print and after printing the program his capable to send message to the user but when the program ask the first question of the screen the focus his there but if you go to the next field the program go to the next field but the focus does not changed!

To solve the problem we click on a order window and click back and evething his ok!
I try
1-DISPLAY FLOATHING WINDOW
SET INPUT WINDOW TO H
CLOSE WINDOW HANDLE

2-move lc-main-window to ws-sys-handle
move lc-main-window to MAIN-WINDOW-HANDLE

MODIFY MAIN-WINDOW-HANDLE
VISIBLE FALSE
MODIFY MAIN-WINDOW-HANDLE
VISIBLE TRUE
MODIFY MAIN-WINDOW-HANDLE
ACTION ACTION-MAXIMIZE



SET ENVIRONMENT "DLL-CONVENTION" TO 1
CALL "USER32.DLL"

CALL "SetForegroundWindow" using
BY VALUE WS-SYS-HANDLE
END-CALL


CALL "ShowWindow" USING
BY VALUE WS-SYS-HANDLE
BY VALUE 6
END-CALL
CALL "ShowWindow" USING
BY VALUE WS-SYS-HANDLE
BY VALUE 9
END-CALL
CANCEL "USER32.DLL"
SET ENVIRONMENT "DLL-CONVENTION" TO 0.
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

RE: [archive] Entry-field focus lost

Is this reproducible small scale? If so, how about a sample program?

Which version of Extend is it? There has been some focus issues, it might have been resolved.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.