Below is the list of fixes and improvements in Active Query Builder VCL Edition v.184.108.40.206.
- PostgreSQL: Fail to parse expressions "like 'qwe' || 'qwe2'" that were entered in the grid. Fixed now. - Internal query loading issues were fixed. - The new OnValidatePopupMenu event is added to modify internal pop-up menus. See example and definition in details.
[ Legend: ] [ + New feature ] [ = Improved/changed feature ] [ - Bug fix ] [ ! Important notice ]
The new event that allows you to modify internal popup menus of the component is added.
type TacOnValidatePopupMenu = procedure (Sender: TacQueryBuilder; AControlOwner: TacQueryBuilderControlOwner; AForControl: TControl; APopupMenu: TPopupMenu) of object;
The OnValidatePopupMenu is the event of TacQueryBuilder object. An example of usage is below:
procedure TForm2.qbValidatePopupMenu(Sender: TacQueryBuilder; AControlOwner: TacQueryBuilderControlOwner; AForControl: TControl; APopupMenu: TPopupMenu); var mi:TMenuItem; begin if (AControlOwner is TacUnionSubQuery) and (AForControl is TacQueryBuilderWorkArea) then begin // remove all items APopupMenu.Items.Clear; // add custom item mi := TMenuItem.Create(Self); mi.Caption := 'My menu item'; // assign handler //mi.OnClick := MyOnClick; APopupMenu.Items.Add(mi); end; end;
This example modifies popup menu of the query building area. The following combinations are available for the AControlOwner and AForControl parameters:
You can always get the latest trial version of Active Query Builder VCL Edition at the download page.
We have been using Active Query Builder for over a year and must say that both the product and support have been outstanding!
We chose Active Query Builder due to its flexibility and features, but have been truly pleased by its power and hidden capabilities. ...
In summary Active Query Builder provides excellent components, great support and a very flexible feature set. It has allowed us to provide features to our end users that I did not think would be possible in the first release of our new tools and in a timeframe that was much shorter than planned. I would recommend that anyone dealing with databases in the .Net world should be aware of this component and its capabilities!