You've already forked lazarus-ccr
tvplanit: Add datastore method DeleteResource.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8351 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -4,11 +4,12 @@ object MainForm: TMainForm
|
||||
Top = 134
|
||||
Width = 959
|
||||
Caption = 'Turbo Power VisualPlanIt Demo'
|
||||
ClientHeight = 596
|
||||
ClientHeight = 576
|
||||
ClientWidth = 959
|
||||
Menu = MainMenu1
|
||||
OnCloseQuery = FormCloseQuery
|
||||
OnCreate = FormCreate
|
||||
LCLVersion = '2.3.0.0'
|
||||
object Panel1: TPanel
|
||||
Left = 125
|
||||
Height = 596
|
||||
@ -58,7 +59,7 @@ object MainForm: TMainForm
|
||||
Height = 548
|
||||
Top = 48
|
||||
Width = 834
|
||||
PageIndex = 4
|
||||
PageIndex = 0
|
||||
Align = alClient
|
||||
TabOrder = 1
|
||||
TabStop = True
|
||||
|
@ -363,7 +363,7 @@ begin
|
||||
|
||||
if MessageDlg(Format(RSConfirmDeleteRes, [res.Description]), mtConfirmation, [mbYes, mbNo], 0) = mrYes then
|
||||
begin
|
||||
VpControlLink1.Datastore.PurgeResource(res);
|
||||
VpControlLink1.Datastore.DeleteResource(res);
|
||||
UpdateOtherResourcesList;
|
||||
end;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user