ObjectPM Custom Control Pack Description ======================================== (Extracted from the Secant's WWW Home Page: http://www.secant.com) The Custom Control Pack provides a set of controls that do not exist in OS/2 itself. Some of these controls build upon familiar OS/2 controls and some are completely new. All of the controls are supported by Prominare Designer and the forthcoming Universal Resource Editor from IBM (the next generation resource editor). Each control has an implementation for ObjectPM, Borland's OWl and IBM's ICLUI class libraries as well as a C interface. If you purchase ObjectPM, the ObjectPM implementations are automatically included. These controls are just a start, so look for more in the future! The following is a description of the controls included in the pack. Click on the control name to see a screenshot of that control. SpreadSheet ----------- The SpreadSheet control consists of rows and columns of cells, just like your favorite spreadsheet program. Each cell has a number of attributes associated with it including text color and font, fillpattern, borders and alignment, which can be changed. The rows and columns have headers on them which can be hidden and whose text can be changed. The rows and columns can be sized or hidden, resulting in all the cells in the row or column having their size changed or geing hidden. The cells contain textual data which can be directly edited. No formula processing is provided by the control. Rather, it is up to the programmer to add additional functionality. Calendar -------- The Calendar control displays a calendar, one month at a time, allowing a user to click on a day to select it or to flip between months and years. You can manipulate the calendar in a number of ways. Days can be disabled, hidden, replaced by bitmaps or have their color set. Additionally, you can specify a range of valid dates and the control will automatically disable dates before and after those specified. The weekday names can be changed, have their color set or replaecd by bitmaps. You can set a list of special dates (such as holidays, bithdays, etc) which have their color changed, etc. This control is very useful when you need to prompt the user for a valid date, as all validation is done for you and you can limit the users choices by setting a range. DateComboBox ------------ The DateComboBox control combines the functionality of a standard OS/2 combo box and the new Calendar control, allowing a user to "drop-down" a calendar and pick a day. It supports the simple and drop-down-list styles of a normal combo box control, but replaces the list of choices with a calendar. The drop-down list style is particularly useful, as it saves space on a crowded dialog by only displaying the calendar when the user is making a choice. CellBox ------- The CellBox control provides enhancements, including multiple columns and colors, to the standard PM List Box. Each row of the wCellBox consists of a number of cells, forming columns within the wCellBox. Text can be placed into these cells and can also be assigned different colors and attributes. Rows can be underlined and columns rightscored and bitmaps and icons can be placed in the cells. In addition, multiple column "groups" can be created, each having their own set of subcolumn definitions. This is useful, for instance, for creating a title row that spans multiple subcolumns. You would create 2 column groups, 1 with 1 subcolumn 75 units wide and another with 3 subcolumns of 25 units. CellComboBox ------------ The CellComboBox control is another one which combines the functionality of a normal OS/2 comobo box with a new control - in this case the CellBox. Using this control, you can create a multi-column listbox that "drops-down" instead of the usual single-column OS/2 list box (of course you could still use it with only a single column). Additionaly, the CellComboBox supports multiple selection, allowing a user to select multiple items from the list and having them be displayed as a comma-separated list in the edit field portion of the control. ControlList ----------- The ControlList control "contains" other controls, allowing them to be scrolled. This allows a larger number of controls to fit in an area than otherwise would be possible. The control displays a title and controls in a two-column format with the title on the left. With the ControlList, you can create a scrollable list of "options", using edit fields, checkboxes, etc (possibly for a setup program or questionaire). RTFViewer --------- The RTFViewer control is a displayer/printer for Rich Text Format (RTF) files. RTF is a tagged file format which preserves character, paragraph, and document formatting such as bold, italic, left indent, page size, etc. It is an optional output format for many word processors. With this control, you can create highly formatted documents from other programs and use this control to view and print them. It currently supports most of the RTF spec including tables, headers/footers, stylesheets, multiple fonts, character formatting, left/right/first paragraph indents, etc. It currently does not support multiple snaking columns, left/right/first page formatting differences, footnotes or multipe sectioned documents but that will change in the future as it is updated. Thermometer ----------- The Thermometer control is a static slider-like control that displays a numeric value as mercury in a thermometer. You can set the indicator color and title text, as well as the range, tick marks and tick mark text. SplitBar -------- The SplitBar control is rather simple. It is displayed as a vertical or horizontal bar that you can click and drag around a window. When you release the mouse button, it notifies its owner of the move, allowing the owner to update sizes and positions of other windows. GIFImage -------- The GIFImage loads a ".GIF" file and converts it to a bitmap for displaying or manipulating. The ObjectPM, OWL, and ICLUI implentations derive from their respective bitmap or (bitmap handle) classes, allowing a GIF to be treated as a bitmap object. The C interface loads a GIF file and returns a bitmap handle for displaying and manipulating. GIFControl ---------- The GIFControl custom control is a static control like the bitmap or icon static controls. By specifying the name of a ".GIF" file as the text of the control (Using WinSetText or equivalent class method call), it will load and display it. The control shrinks to wrap around the image it is displaying. Formatted Data Entry Control ---------------------------- The DataField control is an extension of the standard OS/2 PM single line entry control. It adds the ability to do masks, as well as using a buffer to store and retrieve data in its native type. For example, you can specify a mask of "(999) 999-9999" and a character buffer to prompt a user for a telephone number. To prompt for a date, you could either use a character buffer and "99-99-9999" as a mask, or a BDATE and "%m-%d-%y" to automatically generate a mask for month, day and year. In this scenario, the data buffer would be a BDATE structure which would be filled in for you. You can use a "long" as a buffer and specify all numeric input, in which case the Convert() and Update() methods would store and retrieve the user input in a "long" instead of requiring you to do the conversion yourself. If you are already own one of our products and need support, send your question/comment to support@secant.com and we will reply as soon as possible. If you would like additional information on any of our products or services, send a message to info@secant.com. email to: info@secant.com Web page: http://www.secant.com ------- * GIF and 'Graphics Interchange Format'are trademarks (tm) of Compuserve, Incorporated, an H&R Block Company.