Changeset 95 for trunk/Forms/UFormContact.pas
- Timestamp:
- Feb 3, 2022, 11:39:12 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormContact.pas
r93 r95 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 ComCtrls, ActnList, Menus, ExtCtrls, ExtDlgs, UContact, UFormProperties; 9 ComCtrls, ActnList, Menus, ExtCtrls, ExtDlgs, Buttons, UContact, LCLIntf, 10 UFormProperties; 10 11 11 12 type … … 172 173 PopupMenuPhoto: TPopupMenu; 173 174 SavePictureDialog1: TSavePictureDialog; 175 SpeedButtonHomeEmail: TSpeedButton; 176 SpeedButtonEmail: TSpeedButton; 177 SpeedButtonWorkEmail: TSpeedButton; 178 SpeedButtonWorkWeb: TSpeedButton; 179 SpeedButtonWeb: TSpeedButton; 180 SpeedButtonHomeWeb: TSpeedButton; 174 181 TabSheetSocial: TTabSheet; 175 182 TabSheetChat: TTabSheet; … … 188 195 procedure FormDestroy(Sender: TObject); 189 196 procedure FormShow(Sender: TObject); 197 procedure peedButtonHomeWebClick(Sender: TObject); 198 procedure SpeedButtonEmailClick(Sender: TObject); 199 procedure SpeedButtonHomeEmailClick(Sender: TObject); 200 procedure SpeedButtonWebClick(Sender: TObject); 201 procedure SpeedButtonWorkEmailClick(Sender: TObject); 202 procedure SpeedButtonWorkWebClick(Sender: TObject); 190 203 procedure TabSheetAllShow(Sender: TObject); 191 204 procedure TabSheetChatHide(Sender: TObject); … … 231 244 232 245 uses 233 UCore ;246 UCore, UCommon; 234 247 235 248 { TFormContact } … … 251 264 PageControlContact.TabIndex := Core.LastContactTabIndex; 252 265 UpdateInterface; 266 end; 267 268 procedure TFormContact.peedButtonHomeWebClick(Sender: TObject); 269 begin 270 if EditHomeWeb.Text <> '' then OpenURL(EditHomeWeb.Text); 271 end; 272 273 procedure TFormContact.SpeedButtonEmailClick(Sender: TObject); 274 begin 275 if EditEmail.Text <> '' then OpenEmail(EditEmail.Text); 276 end; 277 278 procedure TFormContact.SpeedButtonHomeEmailClick(Sender: TObject); 279 begin 280 if EditHomeEmail.Text <> '' then OpenEmail(EditHomeEmail.Text); 281 end; 282 283 procedure TFormContact.SpeedButtonWebClick(Sender: TObject); 284 begin 285 if EditWeb.Text <> '' then OpenURL(EditWeb.Text); 286 end; 287 288 procedure TFormContact.SpeedButtonWorkEmailClick(Sender: TObject); 289 begin 290 if EditWorkEmail.Text <> '' then OpenEmail(EditWorkEmail.Text); 291 end; 292 293 procedure TFormContact.SpeedButtonWorkWebClick(Sender: TObject); 294 begin 295 if EditWorkWeb.Text <> '' then OpenURL(EditWorkWeb.Text); 253 296 end; 254 297
Note:
See TracChangeset
for help on using the changeset viewer.