Lasse

Forum Replies Created

Viewing 20 posts - 181 through 200 (of 205 total)
  • Author
    Posts
  • in reply to: Flashing black background when resizing a form #56911
    Lasse
    Participant

    I managed to solve this when not using extended borders mode:

    Code:
    procedure TBaseForm.FormCreate(Sender: TObject);
    begin
    inherited;

    SetClassLong(Handle, GCL_HBRBACKGROUND, GetSysColorBrush(COLOR_WINDOW));
    end;

    in reply to: Slow procedure #56766
    Lasse
    Participant

    Thanks, atleast my problem is fixed. 🙂

    in reply to: Slow procedure #56757
    Lasse
    Participant

    I have noticed similar slow down with my own editor control – basic text selection seems very sluggish. I used a sampling profiler and there seems to be a lot of FillRect32 calls in sAlphaGraph. This has not been noticeable before.

    I am using SkinManager.Options.OptimizingPriority = opSpeed.

    in reply to: Memory leak in v.11.23 #56012
    Lasse
    Participant

    Oh, I see GetExternalSkinNames has changed and is now creating objects which I need to free. Ok, that fixed this.

    in reply to: TsColorBox #55818
    Lasse
    Participant

    Thanks, that is working. I did fix static border color thou.

    Code:
    Bmp.Canvas.Brush.Color := clBlack; // ColorToBorderColor(ColorToRGB(C));
    in reply to: TsSlider button #55735
    Lasse
    Participant

    Thanks, it fixed that.

    in reply to: Open and save dialogs in v.11.02 #55079
    Lasse
    Participant

    I used Windows 10 skin. Unfortunately I already went back to version 10.29.

    in reply to: Title bar #54287
    Lasse
    Participant

    You can use your demo:

    1. Add new item into sTitleBar1

    2. Set Align = tbaRight

    3. Set Caption = This_is_a_test.pas

    4. Set DropdownMenu = PopupMenu1

    5. Set Style = bsMenu

    in reply to: Title bar #54249
    Lasse
    Participant

    If FontData.UseSysFontName is False, it works. Ok, I can live with that. 🙂

    in reply to: Title bar #54237
    Lasse
    Participant

    Ok, I will test your demo when I get home tonight. With an underscore the arrow disappears (see attachment).

    in reply to: Page control #54189
    Lasse
    Participant

    This seems to be fixed but there is now same problem, if the menu button is the last page.

    in reply to: Virtual tree #54014
    Lasse
    Participant

    You can close this. “Enable Runtime Themes” was false in project options. I go to the corner ashamed. 🙂

    in reply to: Virtual tree #54012
    Lasse
    Participant

    I created this simple demo. But guess what, it works with both XE8 and Seattle. 🙂 I will investigate why my project does not.

    Code:
    var
    i: Integer;
    LNode: PVirtualNode;
    begin
    VirtualDrawTree.BeginUpdate;
    for i := 0 to 5 do
    begin
    LNode := VirtualDrawTree.AddChild(nil);
    LNode.CheckType := ctCheckBox;
    case i of
    0: LNode.CheckState := csUncheckedNormal; // unchecked and not pressed
    1: LNode.CheckState := csUncheckedPressed; // unchecked and pressed
    2: LNode.CheckState := csCheckedNormal; // checked and not pressed
    3: LNode.CheckState := csCheckedPressed; // checked and pressed
    4: LNode.CheckState := csMixedNormal; // 3-state check box and not pressed
    5: LNode.CheckState := csMixedPressed;
    end;
    VirtualDrawTree.AddChild(LNode); // child
    end;
    VirtualDrawTree.EndUpdate;
    end;
    in reply to: Virtual tree #53989
    Lasse
    Participant

    That Delphi XE8 build in Windows 7 is showing checkbox without skin (see attachment).

    in reply to: TsColorBox error #53652
    Lasse
    Participant

    Version is the latest 10.12 (Delphi XE8).

    Thanks, “Selected” property works fine.

    in reply to: TsTabSheet close button #53646
    Lasse
    Participant

    Here is a simple sample project (see attachment). Change the project path.

    1. Run

    2. Move mouse over the close button. (first time it looks ok)

    3. Push button and 'X' is inserted into caption

    4. Repeat from 2.

    Just tested and the problem is still there.

    in reply to: Windows 10 skin #53588
    Lasse
    Participant

    This can be closed. The reason for this was an unnecessary set of tab sheet's SkinData.SkinSection when a tab sheet was created. After removing it everything works like it should. 🙂

    in reply to: TsTabSheet close button #53517
    Lasse
    Participant

    I forgot to mention that I was using Delphi XE8 on Windows 7, if that is relevant.

    in reply to: Windows 10 skin #53516
    Lasse
    Participant

    There are still Windows 10 skin related problems with resizing (see attachment). Other skins are working perfectly.

    in reply to: Windows 10 skin #53507
    Lasse
    Participant

    I did fix the problem. It was caused by setting the editor's Visible property from False to True when creating a frame for a tab sheet. Not sure why it didn't work with the Windows 10 skin but now it works. 🙂

Viewing 20 posts - 181 through 200 (of 205 total)