Menu

Commit [r1634]  Maximize  Restore  History

Modified Delete Category dialog box to refuse to permit a category to be chosen for deletion if it contains snippets.

delphidabbler 2011-10-24

changed /branches/v4-dev/Src/FmDeleteCategoryDlg.dfm
changed /branches/v4-dev/Src/FmDeleteCategoryDlg.pas
/branches/v4-dev/Src/FmDeleteCategoryDlg.dfm Diff Switch to side-by-side view
--- a/branches/v4-dev/Src/FmDeleteCategoryDlg.dfm
+++ b/branches/v4-dev/Src/FmDeleteCategoryDlg.dfm
@@ -1,17 +1,23 @@
 inherited DeleteCategoryDlg: TDeleteCategoryDlg
   Caption = 'Delete Category'
-  ExplicitWidth = 320
-  ExplicitHeight = 240
   PixelsPerInch = 96
   TextHeight = 13
   inherited pnlBody: TPanel
+    object lblErrorMsg: TLabel
+      Left = 0
+      Top = 144
+      Width = 156
+      Height = 13
+      Caption = 'Non-empty category: can'#39't delete'
+    end
     inline frmCategories: TCategoryListFrame
       Left = 0
       Top = 0
       Width = 320
-      Height = 240
+      Height = 138
       TabOrder = 0
       TabStop = True
+      ExplicitHeight = 138
       inherited lblCategories: TLabel
         Width = 60
         ExplicitWidth = 60
/branches/v4-dev/Src/FmDeleteCategoryDlg.pas Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.