XClass++
The Base-Addon
for
Alaska Xbase++
XClass++ is a framework with classes and
functions for Alaska Xbase++ and allows quick and
professiona application development.
XClass++ is object oriented designed and thus
easy understand, to learn and to deploy.
Advantages of XClass++:
develop quickly professional Windows GUI
applications
powerful data browse control with enormous
possibilities for configurations
directly usable classes for data processing
easy maintenance because of object oriented
design
multi language capability, switchable at runtime
interactive help system
easy transferring of Clipper applications to GUI
application
ample samples and documentation
developer version with sourcecode
English
and German documentation/help
Here the most important components in overview:
Applikation classes:
AppSplitter, with navigation bars at the margins,
similar to Outlook.
MDI application, several dialogs/windows can be
opened at the same time, also with maximized
display.
SDI application, always only one visible window.
Dialog application, modal window.
Window classes:
dsDialog, enhances Xbase++ with
o menu, toolbar
o statusbar, with integrated progressbar
o callback slots to adapt the standard behaviour:
-ReadData, display of data, record position
-PostWrite, additional updates during the internal
save process
-AppendData, create a new record
-DeleteData, delete a record
-ChangeState, control of menu, toolbar and other
situation dependent settings
o registration of dependent child windows with
refresh of the data
o manage hotkeys
o manage change of window size
dsDataDialog, inherits from dsDialog:
o dialog is connected with a data table and receives
notifications. Additional data tables can be
connected with the dialog
o preset delete-and append methods
o WriteData with precheck of the data record and
internal control of record locking
o close of all connected data tables with the dialog's
destroy
dsDataEditDialog, inherits from dsDataDialog:
o data display with Readonly mode
o switch into edit mode with record locking
o record unlock after timeout
dsTabControl, dsTabPage, tabpages will be
registered at the tabcontrol, but only after activating
the :Init and :Create process will be passed. Thus the
build up of the dialog happens significant faster,
because less resources are used.
dsTabEditpage, same behavious like
dsDataEditDialog.
dsSplitcontrol with horizontal or vertical split
windows
dsProgress, displays a dependent advance bar
control classes: all Xbase++ classes are inherited and
are extended with new methods:
Class
dsSle ;
from xbpSle, dsParent, dsTooltip, dsEdit
Exported:
Class Var oDefaultConextmenu SHARED
Access Assign Method EnableSelect
Access Assign Method Selectblock
Access Assign Method Longtext
Access Assign Method PreValidate
Access Assign Method PostValidate
o The configuration of input controls (SLE, MLE,
Listbox, Combobox, Radiobutton, Checkbox,...) are
enormous simplified and can be individual adapted
through codeblocks
o tooltip for all controls
o SLE with integrated select button for searching data
and display of a cleartext for a key
o calendar control for date selection
dsFormgrid, simple and fast possibility to build up a
window without the use of a form designer. A window
is filled with a virtual grid and the single cells are filled
with controls. Cells, columns and rows can be merged.
With the :Create of the mask the positions and sizes of
the window and the controls are calculated.
The crucial advantage: thus the controls are first
defined at runtime the window's size is scaled to the
used font size.
dsReport class for fast creation of print
report/preview based on rows.
dsDictionary to amintain the tables, indexes and
paths.
Error system with log and Windows debug outputs.
and much more…
dsXBrowse, dsXColumn, for the versatile demands for a
data browse this class was basically new developed.
Thus one have a complete control about all
functionalities.
Highlights of the class:
o cell-or row edit treatment with pre- and
postvalidation
o group header to embrace several columns, column
header text wrapping
o tooltip for every cell
o automatic calculation of the column's width
o moving columns, resizeable columns
o data dependent color/font for a complete row or a
single cell
o link a column with an index and sorting with mouse
click into the column header
o context menu for the data area and the column
header
o search entry at the bottom of the data browse
o single and multi selection
o callbacks for event handling
o preset methods for delete- and append data
o browse of data arrays
o ownerdrawn cells, i.e. shift scheduling
dsRtf, complete configured RTF Control with menu bar
and statusbar.
dsTable, class for all tables (DBFNTX, FOXCDX, ODBC
and SQL
*
Abfragen, ADS and SQL
**
, Arrays) Data
handling is encapsulated in classes. These objects are
clear useable and specially independent from an alias.
These classes are created dynamically with the opening.
The access to data fields ensues with ACCESS / ASSIGN
methods, navigation, filter, index, etc. ensues with
methods.
* needs ODBCDBE of Alaska, ** contained in AdsClass++
A trialversion with full funktionality, dokumentation and
samples can be downloaded from
www.ds-datasoft.de
Contact:
DS-Datasoft GmbH&Co.KG
An der Kirche 5
D-87654 Friesenried
Tel. (++49) 8347 981370
info@ds-datasoft.de