Ignore:
Timestamp:
Jan 10, 2026, 12:15:35 PM (4 weeks ago)
Author:
chronos
Message:

Merged revision(s) 705-716 from trunk:

  • Fixed: Subversion properties.
  • Fixed: Better start screen location calculation for lower than 800x600 resolutions to make visible entire window.
  • Fixed: Memory overflow in minimap drawing with some higher DPI settings.
  • Fixed: Crashes with mini map drawing in Start screen with some DPI resolutions.
  • Added: Enter key confirms battle dialog window.
  • Fixed: Potential battle dialog drawing issue.
  • Modified: Code cleanup.
  • Fixed: Disable auto selection of input text in message dialog.
  • Fixed: Edit boxes to have black background and blue selection.
  • Fixed: Automatically create Saved and Maps user data directories if they don't exist yet.
  • Modified: Code cleanup.
  • Fixed: Wrong unit models opened after click on Military report foreign units.
  • Modified: Do not store .png file extension in graphics names in book files. This is for compatibility with older C-evo versions.
  • Fixed: Support both books with graphics name with and without .png file extensions.
Location:
branches/zoom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/zoom

  • branches/zoom/Packages/DpiControls/Dpi.StdCtrls.pas

    r673 r717  
    3838  TEdit = class(TWinControl)
    3939  private
     40    function GetAutoSelect: Boolean;
    4041    function GetSelLength: Integer;
    4142    function GetSelStart: Integer;
     43    procedure SetAutoSelect(AValue: Boolean);
    4244    procedure SetSelLength(AValue: Integer);
    4345    procedure SetSelStart(AValue: Integer);
     
    5658    property BorderStyle default bsSingle;
    5759    property ParentFont;
     60    property AutoSelect: Boolean read GetAutoSelect write SetAutoSelect default True;
    5861  end;
    5962
     
    303306end;
    304307
     308function TEdit.GetAutoSelect: Boolean;
     309begin
     310  Result := GetNativeEdit.AutoSelect;
     311end;
     312
    305313function TEdit.GetSelLength: Integer;
    306314begin
     
    311319begin
    312320  Result := GetNativeEdit.SelStart;
     321end;
     322
     323procedure TEdit.SetAutoSelect(AValue: Boolean);
     324begin
     325  GetNativeEdit.AutoSelect := AValue;
    313326end;
    314327
Note: See TracChangeset for help on using the changeset viewer.