Skip to main content

Tabbing from an entry field to another resets zeros to blanks

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Tabbing from a numeric entry field that is supposed to become zeros if blanks get reset to blanks only when the application is run outside Net Express. This seems also to occur only on Windows 2000, not on Windows NT or XP. If the application is run within Net Express, the zeros remain in those fields. However, the zeros become blanks once it is run outside Net Express or in an Application Server environment.

Resolution:

A part of this problem is down to the code. For example, in the window dialog there is a GAINED-FOCUS event that would cause a REFRESH-OBJECT command for a list box. As this event is in the window dialog and does not exist in any of the object dialogs, this event will be called any time the window or any of its objects get the focus. This means that the event is called more than needed causing the problem with the numeric entry field to become blanks even if it should remain zeros.

The other part of the problem is related to entry field formatting routine incorrectly using the wrong descriptor when processing a termination command, and this has been fixed in the April 2004's Dialog System FixPack (dsy03n40.exe) for Net Express v4.0.

Old KB# 6558

0 replies

Be the first to reply!