Changeset 361 for branches/highdpi/Inp.pas
- Timestamp:
- Apr 9, 2021, 5:56:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Inp.pas
r253 r361 37 37 Canvas.Brush.Style := bsClear; 38 38 TitleHeight := Height; 39 InitButtons ();39 InitButtons; 40 40 Center := true; 41 41 end; … … 46 46 Frame(Canvas, 0, 0, ClientWidth - 1, ClientHeight - 1, 0, 0); 47 47 Frame(Canvas, 1, 1, ClientWidth - 2, ClientHeight - 2, 48 MainTexture. clBevelLight, MainTexture.clBevelShade);48 MainTexture.ColorBevelLight, MainTexture.ColorBevelShade); 49 49 Frame(Canvas, 2, 2, ClientWidth - 3, ClientHeight - 3, 50 MainTexture. clBevelLight, MainTexture.clBevelShade);50 MainTexture.ColorBevelLight, MainTexture.ColorBevelShade); 51 51 EditFrame(Canvas, EInput.BoundsRect, MainTexture); 52 52 BtnFrame(Canvas, OKBtn.BoundsRect, MainTexture); … … 84 84 begin 85 85 OKBtn.Caption := Phrases.Lookup('BTN_OK'); 86 EInput.Font.Color := MainTexture. clMark;86 EInput.Font.Color := MainTexture.ColorMark; 87 87 EInput.SelStart := 0; 88 88 EInput.SelLength := Length(EInput.Text);
Note:
See TracChangeset
for help on using the changeset viewer.