فرم تغییر رمز عبور (ChangePasswordForm)
از منوی File گزینه New و سپس ...Other را انتخاب کنید. و مانند تصویر یک فرم جدید که از همان BaseForm ارث بری میکند ایجاد کنید.
نام فرم را به ChangePasswordForm تغییر داده و Unit آنرا با نام ChangePasswordUnit ذخیره کنید.[برای مشاهده لینک ها شما باید عضو سایت باشید برای عضویت در سایت بر روی اینجا کلیک بکنید]
روی فرم 3 عدد TIWEdit و یک عدد TIWGradButton قرار دهید و مشخصات آنها را به ترتیب زیر تغییر دهید :
کد:object IWEditCurrentPassword: TIWEdit [0] Left = 24 Top = 19 Width = 120 Height = 21 Cursor = crAuto ParentShowHint = False ShowHint = True ZIndex = 0 RenderSize = True Alignment = taLeftJustify BGColor = clNone FocusColor = clWebAQUAMARINE Editable = True NonEditableAsLabel = False Font.Color = clNone Font.Size = 10 Font.Style = [] FriendlyName = 'IWEditCurrentPassword' MaxLength = 0 ReadOnly = False Required = False ScriptEvents = <> SubmitOnAsyncEvent = True TabOrder = 0 PasswordPrompt = True end object IWEditNewPassword: TIWEdit [1] Left = 24 Top = 46 Width = 120 Height = 21 Cursor = crAuto ParentShowHint = False ShowHint = True ZIndex = 0 RenderSize = True Alignment = taLeftJustify BGColor = clNone FocusColor = clWebAQUAMARINE Editable = True NonEditableAsLabel = False Font.Color = clNone Font.Size = 10 Font.Style = [] FriendlyName = 'IWEditNewPassword' MaxLength = 0 ReadOnly = False Required = False ScriptEvents = <> SubmitOnAsyncEvent = True TabOrder = 1 PasswordPrompt = True end object IWEditConfirmNewPassword: TIWEdit [2] Left = 24 Top = 73 Width = 120 Height = 21 Cursor = crAuto ParentShowHint = False ShowHint = True ZIndex = 0 RenderSize = True Alignment = taLeftJustify BGColor = clNone FocusColor = clWebAQUAMARINE Editable = True NonEditableAsLabel = False Font.Color = clNone Font.Size = 10 Font.Style = [] FriendlyName = 'IWEditConfirmNewPassword' MaxLength = 0 ReadOnly = False Required = False ScriptEvents = <> SubmitOnAsyncEvent = True TabOrder = 2 PasswordPrompt = True end object IWGradButtonChangePassword: TIWGradButton [3] Left = 24 Top = 100 Width = 120 Height = 21 Cursor = crAuto ParentShowHint = False ShowHint = True ZIndex = 0 RenderSize = True Style.Border.Color = 818394 Style.Border.Width = 1 Style.BorderDisabled.Color = clWebGRAY Style.BorderDisabled.Width = 1 Style.Button.Alignment = taCenter Style.Button.Font.Color = clWebWHITE Style.Button.Font.FontFamily = 'Arial, Sans-Serif, Verdana' Style.Button.Font.Size = 10 Style.Button.Font.Style = [] Style.Button.FromColor = 1746426 Style.Button.ToColor = 2128628 Style.ButtonHover.Alignment = taCenter Style.ButtonHover.Font.Color = clWebWHITE Style.ButtonHover.Font.FontFamily = 'Arial, Sans-Serif, Verdana' Style.ButtonHover.Font.Size = 10 Style.ButtonHover.Font.Style = [] Style.ButtonHover.FromColor = 1150712 Style.ButtonHover.ToColor = 1401072 Style.ButtonActive.Alignment = taCenter Style.ButtonActive.Font.Color = clWebWHITE Style.ButtonActive.Font.FontFamily = 'Arial, Sans-Serif, Verdana' Style.ButtonActive.Font.Size = 10 Style.ButtonActive.Font.Style = [] Style.ButtonActive.FromColor = 2128628 Style.ButtonActive.ToColor = 1746426 Style.ButtonDisabled.Alignment = taCenter Style.ButtonDisabled.Font.Color = clWebWHITE Style.ButtonDisabled.Font.FontFamily = 'Arial, Sans-Serif, Verdana' Style.ButtonDisabled.Font.Size = 10 Style.ButtonDisabled.Font.Style = [] Style.ButtonDisabled.FromColor = clWebLIGHTGRAY Style.ButtonDisabled.ToColor = 7368816 Style.ColorScheme = csOrange Style.BoxShadow.ColorTransparency = 0.500000000000000000 Style.TextShadow.ColorTransparency = 0.500000000000000000 Caption = #1579#1576#1578' '#1585#1605#1586' '#1593#1576#1608#1585' '#1580#1583#1740#1583 Color = clBtnFace Font.Color = clNone Font.Size = 10 Font.Style = [] FriendlyName = 'IWGradButtonChangePassword' ScriptEvents = <> TabOrder = 3 end
----------------------------------------------------------------------------------------------------------------------------
فرم فراموشی رمز عبور (ForgetPasswordForm)
یک بار دیگر از منوی File گزینه New و سپس ...Other را انتخاب کنید. و یک فرم جدید که از همان BaseForm ارث بری میکند ایجاد کنید.
نام فرم را به ForgetPasswordForm تغییر داده و Unit آنرا با نام ForgetPasswordUnit ذخیره کنید.
روی فرم 1 عدد TTIWEmailEdit و یک عدد TIWGradButton قرار دهید و مشخصات آنها را به ترتیب زیر تغییر دهید :
کد:object IWEmailEdit: TTIWEmailEdit [0] Left = 24 Top = 19 Width = 161 Height = 21 Cursor = crAuto ParentShowHint = False ShowHint = True ZIndex = 0 RenderSize = True Alignment = taLeftJustify BGColor = clNone FocusColor = clWebAQUAMARINE Editable = True NonEditableAsLabel = False Font.Color = clNone Font.Size = 10 Font.Style = [] FriendlyName = 'IWEmailEdit' MaxLength = 0 ReadOnly = False Required = True ScriptEvents = <> SubmitOnAsyncEvent = True TabOrder = 0 Flat = False ErrorMessage = #1604#1591#1601#1575' '#1740#1705' '#1570#1583#1585#1587' '#1575#1740#1605#1740#1604' '#1605#1593#1578#1576#1585' '#1608#1575#1585#1583' '#1705#1606#1740#1583'.' WarnOnly = False end object IWGradButtonSendPassword: TIWGradButton [1] Left = 25 Top = 46 Width = 160 Height = 21 Cursor = crAuto ParentShowHint = False ShowHint = True ZIndex = 0 RenderSize = True Style.Border.Color = 818394 Style.Border.Width = 1 Style.BorderDisabled.Color = clWebGRAY Style.BorderDisabled.Width = 1 Style.Button.Alignment = taCenter Style.Button.Font.Color = clWebWHITE Style.Button.Font.FontFamily = 'Arial, Sans-Serif, Verdana' Style.Button.Font.Size = 10 Style.Button.Font.Style = [] Style.Button.FromColor = 1746426 Style.Button.ToColor = 2128628 Style.ButtonHover.Alignment = taCenter Style.ButtonHover.Font.Color = clWebWHITE Style.ButtonHover.Font.FontFamily = 'Arial, Sans-Serif, Verdana' Style.ButtonHover.Font.Size = 10 Style.ButtonHover.Font.Style = [] Style.ButtonHover.FromColor = 1150712 Style.ButtonHover.ToColor = 1401072 Style.ButtonActive.Alignment = taCenter Style.ButtonActive.Font.Color = clWebWHITE Style.ButtonActive.Font.FontFamily = 'Arial, Sans-Serif, Verdana' Style.ButtonActive.Font.Size = 10 Style.ButtonActive.Font.Style = [] Style.ButtonActive.FromColor = 2128628 Style.ButtonActive.ToColor = 1746426 Style.ButtonDisabled.Alignment = taCenter Style.ButtonDisabled.Font.Color = clWebWHITE Style.ButtonDisabled.Font.FontFamily = 'Arial, Sans-Serif, Verdana' Style.ButtonDisabled.Font.Size = 10 Style.ButtonDisabled.Font.Style = [] Style.ButtonDisabled.FromColor = clWebLIGHTGRAY Style.ButtonDisabled.ToColor = 7368816 Style.ColorScheme = csOrange Style.BoxShadow.ColorTransparency = 0.500000000000000000 Style.TextShadow.ColorTransparency = 0.500000000000000000 Caption = #1575#1585#1587#1575#1604' '#1585#1605#1586' '#1593#1576#1608#1585' '#1576#1607' '#1575#1740#1605#1740#1604 Color = clBtnFace Font.Color = clNone Font.Size = 10 Font.Style = [] FriendlyName = 'IWGradButtonSendPassword' ScriptEvents = <> TabOrder = 1 end
علاقه مندي ها (Bookmarks)