mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Highlight active tab of most page controls, by adding greyscale icons to image list and using these for all inactive tabs. See https://www.heidisql.com/forum.php?t=41323
This commit is contained in:
@ -77,6 +77,7 @@ type
|
||||
procedure btnDiscardClick(Sender: TObject);
|
||||
procedure comboDefinerDropDown(Sender: TObject);
|
||||
procedure btnMoveParamClick(Sender: TObject);
|
||||
procedure PageControlMainChange(Sender: TObject);
|
||||
private
|
||||
{ Private declarations }
|
||||
FAlterRoutineType: String;
|
||||
@ -181,6 +182,7 @@ begin
|
||||
btnRunProc.Left := Width - btnRunProc.Width - 3;
|
||||
Mainform.actRunRoutines.Enabled := ObjectExists;
|
||||
Mainform.ShowStatusMsg;
|
||||
TExtForm.PageControlTabHighlight(PageControlMain);
|
||||
Screen.Cursor := crDefault;
|
||||
end;
|
||||
|
||||
@ -202,6 +204,11 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TfrmRoutineEditor.PageControlMainChange(Sender: TObject);
|
||||
begin
|
||||
TExtForm.PageControlTabHighlight(PageControlMain);
|
||||
end;
|
||||
|
||||
procedure TfrmRoutineEditor.comboTypeSelect(Sender: TObject);
|
||||
var
|
||||
isfunc: Boolean;
|
||||
|
Reference in New Issue
Block a user