| 66 |
|
edit_current.Text := current; |
| 67 |
|
edit_new.EditType := etString; |
| 68 |
|
edit_new.Text := ''; |
| 69 |
– |
edit_new.LimitCheck := False; |
| 69 |
|
edit_new.MaxLength := 0; |
| 70 |
|
edit_new.Max := 0; |
| 71 |
|
edit_new.BorderStyle := bsSingle; |
| 109 |
|
Self.Width := 700; |
| 110 |
|
end; |
| 111 |
|
end; |
| 112 |
+ |
edit_new.Text := current; |
| 113 |
|
edit_new.SetFocus; |
| 114 |
|
edit_new.SelectAll; |
| 115 |
|
end; |
| 135 |
|
|
| 136 |
|
procedure TForm_ValueEdit.FormCreate(Sender: TObject); |
| 137 |
|
begin |
| 138 |
+ |
DecimalSeparator := '.'; |
| 139 |
|
edit_new := TCrossEdit.Create(Self); |
| 140 |
|
with edit_new do |
| 141 |
|
begin |
| 159 |
|
FocusAlignment := taLeftJustify; |
| 160 |
|
NoFocusAlignment := taLeftJustify; |
| 161 |
|
Precision := 15; |
| 162 |
< |
Decimals := 4; |
| 162 |
> |
Decimals := 14; |
| 163 |
|
FocusWidthInc := 0; |
| 164 |
|
EditType := etHex; |
| 165 |
|
NextDialogOnEnter := True; |