How to use a FormTreeControl

Getting started First of all you will need a form with a control of the type FormTreeControl. Set the Autodeclaration property to yes. In this guide we assume, that the control is named “tree”. Form tree items A tree consists of a number of FormTreeItems. Each FormTreeItem has these visual attributes:        <StateCheckedIcon><StateImage><Image><Text>  StateCheckedIcon This icon…

3

Showing Operation Progress

The operation progress form The form showing the progress has five important parts:1. Caption2. Animation3. Operation description4. Progress indicator5. Time remaining calculation Initialization Before you can begin, you must initialize the class SysOperationProgress: SysOperationProgress progess = new SysOperationProgress(); Alternatievly you can use on of the static new methods on the SysOperationProgress Class. Setting the caption…

2

Delaying method calls

Using the settimeout method on forms. The element on a form has a settimeout method. element.setTimeOut(str _method, int _waittime [boolean _idle = true]) The _method parameter specifies which method to call.The _waitime parameter specifies the period of time in milliseconds before the method is called.The _idle paramter specifies if the time should start right away…

0

Global variables

The need for global variables often arises because of flawed implementation design. However, when used for caching purposes global variables can provide performance boosts. This article describes how you can implement a global variable with zero maintenance during upgrade. Why use this approach? Using the approach described below, no standard application classes are modified and…

1

The user friendly Infolog

When the user receives a message in the infolog, he is interrupted in his work. It is crucial for the user to be guided in the best possible manner, so he can continue his work. Use short informative messages Give the user a message he can use. Do not use error codes or similar and do…

3