KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Reporting Frontmost Status Tool with 4D
PRODUCT: 4D | VERSION: 16R6 | PLATFORM: Mac & Win
Published On: March 27, 2018

Ever wondered how much time a user is actively using your 4D application? For all one may know is that it is just running in the background without being used at all. It is possible that someone may or may not be using your software in a productivity standpoint, which can cost dollars in wasted time. To get a baseline on actual time of 4D being used as frontmost of the screen, this technical note will dive into an implementation of tracking 4D clients’ elapsed time of being the frontmost application. One can argue that a 4D application can be the frontmost application and no activity can be done. But most of the time, if one is minimizing a window; they are actually focusing on another window, which is not the frontmost. Having 4D as the frontmost window is the big assumption that is being used.

The concept of reporting the frontmost status will be implemented in 4D's v16R6 latest features which are Storage, Workers, and Preemptive processing. 4D Server will have a window tool to see the connected client's status. These technologies will be coupled into a component, which can easily be dropped into any database. This document will go in depth with the component implementation and will be demonstrated in a sample database.

Download Complete Tech Note: Tech Note Document