Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Product Manuals » Elevate Web Builder 3 Manual » Using Visual Controls » Showing Message Dialogs |
procedure ShowTrialMessage; begin if IsTrialVersion and (TrialDaysLeft > 0) then ShowMessage('You are using a trial version and have '+ IntToStr(TrialDaysLeft)' evaluation days '+ 'left until your trial version expires.') else ShowMessage('Your trial version has unfortunately expired.'); end;
procedure TMasterDetailForm.CheckDelete(DlgResult: TModalResult); begin if (DlgResult=mrYes) then begin Database.StartTransaction; CustomerOrders.Delete; Database.Commit; end; end; procedure TMasterDetailForm.DeleteOrderButtonClick(Sender: TObject); begin MessageDlg('Are you sure that you want to delete the '+ CustomerOrders.Columns['OrderID'].AsString+' order placed on '+ CustomerOrders.Columns['OrderDate'].AsString+' ?','Please Confirm', mtConfirmation,[mbYes,mbNo],mbNo,CheckDelete,True); end;
TMsgDlgResultEvent = procedure (DlgResult: TModalResult) of object;
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |