Power library is an add-on library for rapid application development in Xbase++. It allows to fast and easy convert Clipper/FoxPro applications to Xbase++ and develop new Windows applications in Xbase++. Power library implements top-down modular style of programming. It is function-oriented because functions are more comfortable for writing programs than commands, and programs are shorter and faster. The functions and their arguments are very flexible, user-friendly, intuitive, simple and easy to use. The most of function arguments are arranged in arrays and subarrays so that the number of inline arguments is reduced.
Power functions represent the wrappers for Xbase++ Parts, whose properties and events are defined as functions arguments. The functions are generalized and automated so that the most of Xbase++ Parts logic is performed internally by the functions. You don't have to know anything about object-oriented programming, classes, methods, properties, events, etc. Just use Power functions as building blocks to create fast and efficient programs with minimum number of code lines and which use minimum amount of memory resources.
Power library supports both graphic (pixel, lometric) and text (row, column) units for the coordinates and dimensions for the screen and print output. The output unit may be specified at the global level or in each function.
All display and print elements created by Power functions are fully configurable. Their positions, sizes, fonts (name, size, style), colors, types, aligns and other attributes may be defined by the user. The configuration parameters may be specified at the global level or in each function.
Power functions display entirely owner-drawn all owner-draw capable Xbase++ Parts. Being owner-drawn, they have the same look on any Windows operating system. Power library implements innovative, advanced and flexible owner-drawing solutions, allowing the dialog elements to have a border or not, to have a rounded or straight corners, and to have a one-color or two-color gradient background. On non-visual-style Windows systems, all data referencing dialog elements are displayed with a border, like they use a visual style.
The following Xbase++ Parts are displayed owner-drawn:
The following Xbase++ Parts may be displayed with dynamic HTML/CSS style:
Power library introduced the following new Xbase++ Parts for data referencing. There purpose is to edit or select data and enter it into a variable or entry field.
Power library requires Alaska Xbase++ versions 2.0 or 1.9, and doesn't support earlier Xbase++ versions. It is available in Serbian and English language, but can be easy modified by the user into every language.
You can order Xbase++ programming tools on the Order page.
Demo programs of Xbase++ programming tools with complete documentation and examples can be downloaded on the Download page.
You can read about Xbase++ applications developed with Xbase++ programming tools on the Applications page.
|Power Library Features|
|Universal @...GET||Encompasses in one command all Xbase++ Parts for editing and selecting data,
using the CLASS clause. Implements some new edit and select dialog elements.
List box and combo box may be system-drawn or owner-drawn (default). When owner-drawn, they may display caption with image and user-drawing. May be displayed with HTML/CSS style.
|Static||Display values of any data type, angled text, text box, formatted text,
caption with image, system icon, line, rectangle, box, group box, shape and
arc. The most of static elements are owner-drawn. May be displayed with
|Control||Dialog elements that perform output tasks.
|Interface||Black box routines that display pre-defined dialog windows.
|Edit||Standardized edit dialogs for database files, arrays and text in a
comfortable way. Automatically control multi-user access in a network
EditFile() edits a database file in a custom form. Edit data may be arranged in tab pages, variable sets and record sets. Has the options to print, browse, change index, search, export, and nested edit related files to any depth. A trigger may be specified at any edit point.
EditDoc() edits two database files, document (parent, master) and item (child, detail), in a custom form. Item file edit data may be arranged in tab pages and record sets. Has the options to print, browse, change index, search, export, and nested edit related files to any depth. A trigger may be specified at any edit point.
BrwEdit() edits a database file or an array in a browser. Has the options to edit in a form, change index, search and export.
EditData() edits an array of Get objects which may be scrollable.
EditText() edits a formatted text.
|Browse||Display data from a database files or arrays in a browser or quick browser.
The header and footer are owner-drawn and may display caption with image.
The data area may be system-drawn or owner-drawn. Owner-drawn data area
may display multi-line text, caption with image, and user-drawing. Have the
options to print, export, e-mail, and display graph. Support ADS files and ODBC
|Report||Custom report dialog windows. Data may be displayed in tab pages. Have
the options to print, export and e-mail.
|Export||Data and reports export to DOC, XLS, PDF, HTML, XML, SDF, CSV and DBF formats. The report may contain text, text file, link, image, horizontal line, shape, array, browse or quick browse table, and database file.|
|Graph||Graphs and shapes using Microsoft Excel program. May create line, scatter,
bubble, surface, radar, area, column, bar, pie, doughnut, stock and Gantt graph
types. Some graph types may be 2-D and 3-D. Combination (multi-type) graph
on one or two Y axes may be also created. The graphs and shapes may be
printed, saved in a JPG format, and copied to clipboard.
|Print system with print preview create print reports of any form in a
Clipper or GUI style. May print values of any data type, angled text, text box,
formatted text, caption with image, line, box, shape, arc, browse table, and
graph. Support color printing anywhere in the report. The preview report may
be saved in a MetaFile format.
|Session||DAC sessions to open ADS files and ODBC tables, and retrieve information
from data store.
|Internet||Send and receive e-mails, upload and download files.
|Registry||Control Windows registry keys and values. Use Windows API functions to create, set, list and delete registry keys and values.|
|Windows||Use Windows API functions to perform various tasks in the Windows system.
|System||Set the configuration parameters for the library and the default parameters for the screen and print output. Define the default attributes for many objects created by library, such as Get, Say, push button, tab, menu bar, menu, browser, tool bar, status bar, calendar, message dialogs, etc. The default attributes may be overloaded in each function that create the corresponding object.|