Skip to main content

Hi All,

has anyone an idea to Display the current time in an active Window (Dialog System 3.0).

The method <accept time> is not good enough.

Thanks, Georg

Hi All,

has anyone an idea to Display the current time in an active Window (Dialog System 3.0).

The method <accept time> is not good enough.

Thanks, Georg

please, try this...

77  W-N-HORA-HMS            PIC 99B99B99B99.

.

.

ACCEPT W-N-HORA-HMS FROM TIME                

INSPECT W-N-HORA-HMS CONVERTING ' ' TO ':'  


Hi All,

has anyone an idea to Display the current time in an active Window (Dialog System 3.0).

The method <accept time> is not good enough.

Thanks, Georg

Georg,

Can you please be more specific about what it is that you are trying to achieve?

If you would like to display an active clock on the screen then you might want to look at using a status bar and refreshing the time on a timer click.

There is an example in NX 5,1 that shows how to use a status bar in the location

C:\\Program Files (x86)\\Micro Focus\\Net Express 5.1\\Examples\\Dialog System\\COMMONCONTROLS\\STATUSBAR

This might be in a different location in your product version.


Hi All,

has anyone an idea to Display the current time in an active Window (Dialog System 3.0).

The method <accept time> is not good enough.

Thanks, Georg

Chris, Thank You that's it.