dBASE Plus release 2.61.2
ComboBox
The ComboBox has been overhauled to fix many long standing bugs and to make it simpler and easier to enhance in the future.
Added new ComboBox events, beforeDropDown and beforeCloseUp
beforeDropDown() - Fires just before dropdown list opens for a style 1 or 2 ComboBox
beforeCloseUp() - Fires just before dropdown list is closed for a style 1 or 2 ComboBox
Added new ComboBox events: onChangeCommitted(), onChangeCancel(), beforeEditPaint(), and onEditPaint()
onChangeCommitted() - Fires when the user takes an action indicating that they are choosing a value for the ComboBox. onChangeCommitted will fire in the following cases:
Left click on an item in the listbox (all styles) when the item is different from the current ComboBox value.
Press Enter with an item highlighted in the dropdown list (style 1 or 2) when the item is different from the current ComboBox value.
For style 0 or for style 1 or 2, with dropdown list closed, press the Up Arrow, Down Arrow, PgUp, or PgDn keys.
Left click on the ComboBox button for a style 1 or 2 ComboBox when the dropdown list is open and the highlighted item in the dropdown list is different from the current ComboBox value.
onChangeCommitted() fires only after the ComboBox's value property has been updated with the selected value.
onChangeCommitted() will not fire for a style 1 or 2 ComboBox when the dropdown list is open and the Up Arrow, Down Arrow, PgUp, or PgDn keys are pressed.
onChangeCancel() - Fires if the user takes an action that closes the dropdown list without actually choosing an item. For example, clicking on the form surface or on another component or some other window entirely. onChangeCancel() can be used to implement logic to change the ComboBox value back to some other value, perhaps the value it had just before the dropdown opened.
beforeEditPaint() - In a style 0 or 1 ComboBox - fires for each keystroke that modifies the value of a ComboBox. beforeEditPaint() fires just before displaying the new value for a ComboBox. It does not fire if the keystroke does not modify the ComboBox.
onEditPaint() - In a style 0 or 1 ComboBox - fires for each keystroke that modifies the value of a ComboBox. onEditPaint() fires just after displaying the new value for a ComboBox. It does not fire if the keystroke does not modify the ComboBox.
Notebook
Upgraded the Notebook to paint the area to the right of its tabs to match the background of its parent container when the Notebook's borderStyle is set to 0 - Default or 3 - None.
Project Explorer
Updated Project Explorer to build pe1028, which includes the new ability to hide the Project Explorer logo graphic at the left of the form, as well as support for Inno Script Generator, which replaces ScriptMaker as the supporting tool for creating Inno installers. More details are included below.
Changed Project Explorer to support Inno Script Generator instead of ScriptMaker.
Added a new menu item, Build->Compile script and execute, to directly compile the Inno script and run the compiled setup.exe.
Fixed a Run menu text error for non-English dBASE languages.
Fixed a problem that occurred when creating a new project, where an error dialog displayed if the Windows X button is used to close the project after only entering a project name.
Changed Inno [Code] lines output to support Runtime Uninstall call, and to add a function call for the dBASE Runtime Engine.
Added support for new Inno languages, Danish and Polish.
Added new fields (ComboBox and entryfield (ComboBox-Result) on the bottom of the Inno Default Tab at bottom ) to include Inno [Languages] section entries only for languages chosen by the user and not always all (Default _app.Language). Also added text and Speedtips to the DTF (language translation) files for these new fields.