about TVirtualExplorerCombobox

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35599
    eric
    Participant

    How can i draw the scroolbar and the button of TVirtualExplorerCombobox on draw event?

    Thank you!

    code:

    Code:
    procedure TForm1.vrtshellcomboboxDraw(Sender: TCustomVirtualExplorerCombobox;
    ACanvas: TCanvas; AClientRect, AButtonRect: TRect;
    AComboState: TVETComboStates; Stage: TCustomDrawStage;
    var DefaultDraw: Boolean);
    begin
    vrtshellcombobox.Color:=sSkinManager1.GetActiveEditColor;
    vrtshellcombobox.PopupExplorerOptions.Color:=sSkinManager1.GetActiveEditColor;
    vrtshellcombobox.Font.Color:=sSkinManager1.GetActiveEditFontColor;
    end;

    [attachment=6156:11.jpg]

    [attachment=6157:22.jpg]

    #49964
    eric
    Participant

    You can download the demo there:

    [attachment=6158:test.zip]

    #49975
    Support
    Keymaster

    Thank you, Eric.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.