Xbase++ programming tools
PowerWin library

PowerWin, PowerSql, PowerCom, PowerWeb, PowerCrp, PowerUtl, DBM, DBA Windows

PowerWin library is an add-on library for desktop application development in Xbase++. It allows to quickly and easy convert Clipper/FoxPro applications to Xbase++ and develop new Windows applications. PowerWin library is function-oriented and implements top-down modular style of programming. Functions and their parameters are very flexible, user-friendly, intuitive and easy to use.

PowerWin functions represent object abstractions of Xbase Parts. The functions encapsulate most of the properties and events of Xbase Parts, which are defined as function parameters. The functions are generalized and automated and perform internally the logic of Xbase Parts. You don't need to know object-oriented programming, classes, methods, properties and events. Instead, use PowerWin functions as building blocks to create fast and efficient programs with a minimum number of code lines and that use the minimum amount of memory resources.

PowerWin library supports both graphic (pixel, lometric) and text (row, column) units for the coordinates and dimensions for screen and print output. The output unit can be specified at the global level or in each function.

All display and print elements created by PowerWin functions are fully configurable. Their positions, sizes, fonts, colors, types, aligns and other attributes can be defined by the user, using function parameters. The configuration parameters can be specified at the global level or in each function.

PowerWin functions display owner-drawn all owner-draw capable Xbase Parts, allowing dialog elements to have a border or not, and to have a one-color or two-color gradient background.

The following Xbase Parts are displayed owner-drawn:

PowerWin library allows applications to edit and browse SQL tables from a variety of database management systems (DBMSs). By using PowerSql library users can create Open Database Connectivity (ODBC) connection or ActiveX Data Objects (ADO) connection, open SQL tables into data set objects in memory, and create relations between them. PowerWin editing and browsing functions allow access and manipulation of data in SQL tables via data set objects.

PowerWin library contains multiple modules listed in the following table.

Module Description
PowerWinUi User interface
PowerWinEdit Edit data
PowerWinExp Export data
PowerWinGrp Graphs

PowerWin library supports Alaska Xbase++ V.1.9 and higher. It is available in Serbian and English language, but can be easy modified by the user in any language.

Demo program of PowerWin library with complete documentation and examples can be downloaded on the Download page.

PowerWin Library Features
PowerWinUi Module
Get Dialog elements for data input. Support all Xbase Parts for editing and selecting data.
  • TYPE "SL" - edits single-line character, numeric, date and logical data
  • TYPE "ML" - edits multi-line text, such as memo character fields
  • TYPE "BN" - edits binary data, such as FOX memo binary fields
  • TYPE "LB" - list box dialog
  • TYPE "CB" - combo box dialog
  • TYPE "RB" - radio box dialog
  • TYPE "2S" - check box button
  • TYPE "3S" - three state button
  • TYPE "SB" - spin button dialog
  • TYPE "SC" - scroll bar dialog
  • TYPE "TV" - tree view dialog
  • TYPE "BB" - browser and quick browser dialog
  • TYPE "VS" - variable set edits a two-dimensional array of variables in a browser
  • TYPE "RS" - record set edits an array of database records in a browser
  • TYPE "DS" - data set edits a two-dimensional array of data in a browser
Have the EVENT, WHEN, VALID and RANGE control clauses. Can display a pick button to pop-up a dialog window for helping input data into the Get variable.

Xbase++ programming tools - PowerWin library - Get1 Xbase++ programming tools - PowerWin library - Get2 Xbase++ programming tools - PowerWin library - Get3 Xbase++ programming tools - PowerWin library - Get4 Xbase++ programming tools - PowerWin library - Get5 Xbase++ programming tools - PowerWin library - Get6 Xbase++ programming tools - PowerWin library - Get7 Xbase++ programming tools - PowerWin library - Get8

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.

Xbase++ programming tools - PowerWin library - Stat1 Xbase++ programming tools - PowerWin library - Stat2 Xbase++ programming tools - PowerWin library - Stat3 Xbase++ programming tools - PowerWin library - Stat4 Xbase++ programming tools - PowerWin library - Stat5 Xbase++ programming tools - PowerWin library - Stat6 Xbase++ programming tools - PowerWin library - Stat7 Xbase++ programming tools - PowerWin library - Stat8

Control Dialog elements that perform output tasks.
  • push button
  • tool bar
  • status bar
  • tab set
  • data view
  • split bar
  • progress bar
  • up-down
  • animation
  • hypertext link
Xbase++ programming tools - PowerWin library - Ctr1 Xbase++ programming tools - PowerWin library - Ctr2 Xbase++ programming tools - PowerWin library - Ctr3 Xbase++ programming tools - PowerWin library - Ctr4 Xbase++ programming tools - PowerWin library - Ctr5 Xbase++ programming tools - PowerWin library - Ctr6 Xbase++ programming tools - PowerWin library - Ctr7

Menu Various menu types.
  • pop-up menu
  • selection menu
  • application menu
  • project menu
Xbase++ programming tools - PowerWin library - Menu1 Xbase++ programming tools - PowerWin library - Menu2 Xbase++ programming tools - PowerWin library - Menu3

Browse Display data from database files, SQL tables or arrays in a browser or quick browser. Can display multi-line text and caption with image. Have options to print, export and display graph.

BrwEdit() edits a database file, SQL table or array in a browser. Has options to edit in a form, change index, search and export.


Xbase++ programming tools - PowerWin library - Brw1 Xbase++ programming tools - PowerWin library - Brw2 Xbase++ programming tools - PowerWin library - Brw3 Xbase++ programming tools - PowerWin library - Brw4 Xbase++ programming tools - PowerWin library - Brw5 Xbase++ programming tools - PowerWin library - Brw6 Xbase++ programming tools - PowerWin library - Brw7

Common Pre-defined dialog windows for common tasks.
  • display message with optional choices
  • select from a list
  • select date
  • select color
  • select folder
  • select file
  • save file
Xbase++ programming tools - PowerWin library - Cmn1 Xbase++ programming tools - PowerWin library - Cmn2 Xbase++ programming tools - PowerWin library - Cmn3 Xbase++ programming tools - PowerWin library - Cmn4 Xbase++ programming tools - PowerWin library - Cmn5 Xbase++ programming tools - PowerWin library - Cmn6 Xbase++ programming tools - PowerWin library - Cmn7 Xbase++ programming tools - PowerWin library - Cmn8 Xbase++ programming tools - PowerWin library - Cmn9

Print Print system with print preview that create print reports of any form in a Clipper or GUI style. Can 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 can be saved to an image file.

Xbase++ programming tools - PowerWin library - Prn1 Xbase++ programming tools - PowerWin library - Prn2 Xbase++ programming tools - PowerWin library - Prn3 Xbase++ programming tools - PowerWin library - Prn4 Xbase++ programming tools - PowerWin library - Prn5 Xbase++ programming tools - PowerWin library - Prn6 Xbase++ programming tools - PowerWin library - Prn7 Xbase++ programming tools - PowerWin library - Prn8

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.
  • get system information
  • get and set system parameters
  • select folder
  • select file
  • save file
  • execute operation on files or folders
  • create shortcut
  • install and delete font
PowerWinEdit Module
Edit Standardized dialog windows for editing database files and SQL tables. Automatically control multi-user access in a network environment.

EditFile() edits a single database file or SQL table in a user-defined form. Edit data can be arranged in tab pages, variable sets and record sets. Has options to print, browse, change index, search, export, and nested edit related files to any depth. A trigger can be specified at any edit point.

EditDoc() edits two database files or SQL tables: document (parent, master) and item (child, detail), in a user-defined form. Item file edit data can be arranged in tab pages and record sets. Has options to print, browse, change index, search, export, and nested edit related files to any depth. A trigger can be specified at any edit point.

EditData() edits an array of Get objects that can be scrollable.


Xbase++ programming tools - PowerWin library - Edit1 Xbase++ programming tools - PowerWin library - Edit2 Xbase++ programming tools - PowerWin library - Edit3 Xbase++ programming tools - PowerWin library - Edit4 Xbase++ programming tools - PowerWin library - Edit5 Xbase++ programming tools - PowerWin library - Edit6

Report Standardized dialog windows for displaying reports in a user-defined form. Data can be displayed in tab pages. Have options to print and export.

Xbase++ programming tools - PowerWin library - Rpt1 Xbase++ programming tools - PowerWin library - Rpt2 Xbase++ programming tools - PowerWin library - Rpt3

Text Create and edit text files. Support Clipper style with SET ALTERNATE | PRINTER and ? | ?? commands.

EditText() edits a plain or RTF-formatted text file. Have options to load, save, print and mail.

ViewText() displays a text file. Have options to print, export and mail.


Xbase++ programming tools - PowerWin library - Text1 Xbase++ programming tools - PowerWin library - Text2

PowerWinExp Module
Export Export data and reports to DOC, XLS, PDF, HTML, XML, SDF, CSV and DBF formats. The report can contain text, text file, link, image, horizontal line, shape, array, browse or quick browse table, and database file.
PowerWinGrp Module
RMChart Create graphs and shapes using RMChart ActiveX control. Can create line, scatter, area, column, bar, pie, donut, pyramid and stock graph types. Some graph types can be 2-D and 3-D. Can create combination (multi-type) graphs on one or two Y axes. Graphs can be printed, saved to image files, and copied to clipboard.

Xbase++ programming tools - PowerWin library - Grm1 Xbase++ programming tools - PowerWin library - Grm2 Xbase++ programming tools - PowerWin library - Grm3 Xbase++ programming tools - PowerWin library - Grm4 Xbase++ programming tools - PowerWin library - Grm5 Xbase++ programming tools - PowerWin library - Grm6 Xbase++ programming tools - PowerWin library - Grm7 Xbase++ programming tools - PowerWin library - Grm8 Xbase++ programming tools - PowerWin library - Grm9

Excel Create graphs and shapes using Microsoft Excel program. Can create line, scatter, bubble, surface, radar, area, column, bar, pie, donut and stock graph types. Some graph types can be 2-D and 3-D. Can create combination (multi-type) graphs on one or two Y axes. Graphs can be printed, saved to image files, and copied to clipboard.

Xbase++ programming tools - PowerWin library - Gxl1 Xbase++ programming tools - PowerWin library - Gxl2 Xbase++ programming tools - PowerWin library - Gxl3 Xbase++ programming tools - PowerWin library - Gxl4 Xbase++ programming tools - PowerWin library - Gxl5 Xbase++ programming tools - PowerWin library - Gxl6 Xbase++ programming tools - PowerWin library - Gxl7 Xbase++ programming tools - PowerWin library - Gxl8 Xbase++ programming tools - PowerWin library - Gxl9 Xbase++ programming tools - PowerWin library - Gxl10