Raize Components 5.1.2 Modifications The following is a list of all of the modifications that have been made for version 5.1.2 of Raize Components. For a list of all modifications made to previous versions of Raize Components 5, please see the "RC 5 All Modifications.txt" file. -------------------------------------------------------------------------------- Build: 5.1.2 Date: 11 Jun 2009 -------------------------------------------------------------------------------- RzButton.pas * The TRzToolButton now takes into account the Alignment property of a TPopupMenu that is connected to the button via the DropDownMenu property. That is, the menu will be aligned to the appropriate side of the button depending on the Alignment property. For example, when the Alignment is set to paLeft, the menu is displayed along the left edge of the button. * The positioning of the DropDownMenu in TRzToolButton has also been updated to better handle displaying popup menus that are close to the edge of the active monitor. RzCmboBx.pas * Fixed issue with the display of TRzComboBox controls under Windows Vista, when FlatButtons was set to True. RzCommon.pas * Added XorColors function that combines a foreground color with a background color using XOR. The resulting color is identical to the colors that result when using cmSrcInvert values for TCanvas.CopyMode. RzDBCmbo.pas * Added new SelectOnTab property to TRzDBLookupComboBox. When this property is set to True and the drop-down list is visible, pressing the Tab key will cause the currently selected item in the list to be selected in the combo box control. Pressing the Tab key when the list is closed will cause the focus to change to the next control on the form. RzDBEdit.pas * Added new AllowScientificNotation property to TRzDBNumericEdit. When set to True (the default), the control allows entering "E" and "e" to specify a number in scientific notation. Setting this property to False, prevents the control from accepting "E" and "e" during data-entry and parsing. * The TRzDBNumericEdit has also been enhanced to handle presses of the Del key on the numeric keypad by inserting the DecimalSeparator into the edit area. This change allows the numeric keypad to be used to enter floating point numbers even if the user locale's numeric settings uses a symbol other than a period for the decimal separator. RzDBNav.pas * Added new EnablementStyle property to TRzDBNavigator, which affects the way certain buttons of the navigator are enabled and disabled. The default value for this property is nesTraditional, which is the standard style in which the browsing buttons (First, Prior, Next, Last) remain enabled when a dataset is put into Insert or Edit mode. The new nesNoBrowseOnEdit style can be used to disable all buttons except for the Post and Cancel buttons when a dataset is in Insert or Edit mode. RzEdit.pas * Added new AllowScientificNotation property to TRzNumericEdit. When set to True (the default), the control allows entering "E" and "e" to specify a number in scientific notation. Setting this property to False, prevents the control from accepting "E" and "e" during data-entry and parsing. * The TRzNumericEdit has also been enhanced to handle presses of the Del key on the numeric keypad by inserting the DecimalSeparator into the edit area. This change allows the numeric keypad to be used to enter floating point numbers even if the user locale's numeric settings uses a symbol other than a period for the decimal separator. RzListVw.pas * Fixed issue where editing an item in a TRzListView would result in an access violation when running under Vista. RzPanel.pas * Fixed issue with TRzPanel and descendants where setting AutoSize to True would not take into account the borders of the panel. * Fixed a separate but related issue to the above where changing the size of a control on a TRzPanel with AutoSize set to True would cause the panel to adjust its own size incorrectly. RzRadGrp.pas * Fixed issue in TRzRadioGroup and TRzCheckGroup where item captions that included double ampersands (&&) would be incorrectly displayed with line breaks. RzShellCtrls.pas * Fixed scrolling issue in TRzShellTree when Mouse Wheel settings were set to scroll one screen at a time. RzTabs.pas * Added new DragIndicatorColor property to TRzPageControl and TRzTabControl that is used to change the color of the indicator that is displayed when dragging tabs. * Fixed issue where the Tab Menu would appear on an adjacent monitor under certain situations. RzTray.pas * Fixed issue in TRzTrayIcon where application button on the Task Bar would not get hidden when used in BDS 2007. This resulted from the fact that the Application.MainFormOnTaskBar property was added in BDS 2007, but by default, the distributed files for Raize Components are built with BDS 2006. Both BDS 2006 and 2007 use the same version of the VCL. The solution to this problem was to utilize the fact that in BDS 2007 and later, the MainFormOnTaskBar property controls the presence of the WS_EX_APPWINDOW window style being present in the Application.MainForm.Handle. Therefore, the component now checks for the style bit under BDS 2006 and 2007. RzTreeVw.pas * Fixed issue where calling SetAllNodes on an empty TRzCheckTree would result in an exception. * Fixed scrolling issue in TRzTreeView when Mouse Wheel settings were set to scroll one screen at a time. --------------------------------------------------------------------------------