mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Apply DBtree's OnPaintText code to dialog for selecting user privilege object, so we get bold focused path there as well. Related to #785
This commit is contained in:
@ -31,6 +31,9 @@ type
|
||||
procedure TreeDBOInitNode(Sender: TBaseVirtualTree; ParentNode, Node:
|
||||
PVirtualNode; var InitialStates: TVirtualNodeInitStates);
|
||||
procedure ValidateControls(Sender: TObject);
|
||||
procedure TreeDBOPaintText(Sender: TBaseVirtualTree;
|
||||
const TargetCanvas: TCanvas; Node: PVirtualNode; Column: TColumnIndex;
|
||||
TextType: TVSTTextType);
|
||||
private
|
||||
{ Private declarations }
|
||||
FConnection: TDBConnection;
|
||||
@ -201,4 +204,11 @@ begin
|
||||
Include(InitialStates, ivsExpanded);
|
||||
end;
|
||||
|
||||
procedure TfrmSelectDBObject.TreeDBOPaintText(Sender: TBaseVirtualTree;
|
||||
const TargetCanvas: TCanvas; Node: PVirtualNode; Column: TColumnIndex;
|
||||
TextType: TVSTTextType);
|
||||
begin
|
||||
MainForm.DBtreePaintText(Sender, TargetCanvas, Node, Column, TextType);
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Reference in New Issue
Block a user