Simplicty and flexibility!


DataEase 8.2 - GetCurrent updated with a lot of new features (Ver. 8.2.0.1665)

Started by DataEase
You will need to Sign In to be able to comment on the Blog!

DataEase 8.2 - GetCurrent updated with a lot of new features (Ver. 8.2.0.1665)

Download Sample

GetCurrent() is our "jack of all trades" where we add useful info features.

It already return RowNumber, RecordNumber, File positions etc.

The latest additions are:

GetCurrent("Width"[,"Objectname"]) - get the current width of an object (without optional Objectname it will return width of main window).

GetCurrent("Height"[,"Objectname"])  ex. GetCurrent("Height","MyObject") will return the height of MyObject .

GetCurrent("AppName") -- Will return the name of the current application.
GetCurrent("WindowName") -- will return the full caption of the current window.
GetCurrent("DocName") -- will return the document name of the current window .
GetCurrent("DocFileName") -- Will return the full file name of the current FRM file.
GetCurrent("WindowState") -- Tell if the window is normalized, minimized or Maximized. This can be used in combination with Maximize(), Normalize() etc to change the windowstate if it is "undesirable"...

Download the sample above and you will see all the different features for yourself.


Written by DataEase 11/11/14 at 18:02:50 Dataease [{8}]FIVE
DG3_BlogList