diff options
Diffstat (limited to 'UConnectionProperties.pas')
| -rw-r--r-- | UConnectionProperties.pas | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/UConnectionProperties.pas b/UConnectionProperties.pas index 7b9ef1b..a7dd921 100644 --- a/UConnectionProperties.pas +++ b/UConnectionProperties.pas @@ -22,7 +22,7 @@ unit UConnectionProperties; interface uses - SysUtils, Types, Classes, Variants, GTKControls, GTKForms, GTKStdCtrls, GTKExtCtrls, GTKConsts, GTKMenus; + SysUtils, Classes, GTKControls, GTKForms, GTKStdCtrls, GTKExtCtrls, GTKConsts, GTKMenus; type TFConnectionProperties = class(TGTKDialog) @@ -207,15 +207,15 @@ begin Lock := True; - OnKeyDown := FormKeyDown; - NameEntry.OnChanged := NameEntryChanged; - URIEntry.OnChanged := URIEntryChanged; - ServiceTypeOptionMenu.OnChanged := ServiceTypeOptionMenuChanged; - ServerEntry.OnChanged := ServiceTypeOptionMenuChanged; - UserNameEntry.OnChanged := ServiceTypeOptionMenuChanged; - PasswordEntry.OnChanged := ServiceTypeOptionMenuChanged; - TargetDirEntry.OnChanged := ServiceTypeOptionMenuChanged; - MaskPasswordCheckButton.OnToggled := MaskPasswordCheckButtonToggled; + OnKeyDown := @FormKeyDown; + NameEntry.OnChanged := @NameEntryChanged; + URIEntry.OnChanged := @URIEntryChanged; + ServiceTypeOptionMenu.OnChanged := @ServiceTypeOptionMenuChanged; + ServerEntry.OnChanged := @ServiceTypeOptionMenuChanged; + UserNameEntry.OnChanged := @ServiceTypeOptionMenuChanged; + PasswordEntry.OnChanged := @ServiceTypeOptionMenuChanged; + TargetDirEntry.OnChanged := @ServiceTypeOptionMenuChanged; + MaskPasswordCheckButton.OnToggled := @MaskPasswordCheckButtonToggled; NameEntry.SetFocus; @@ -310,7 +310,7 @@ begin CurrentURI := MakeURI(False); URIEntry.OnChanged := nil; URIEntry.Text := MakeURI(MaskPasswordCheckButton.Checked); - URIEntry.OnChanged := URIEntryChanged; + URIEntry.OnChanged := @URIEntryChanged; NameEntryChanged(Sender); end; |
