ICE17
ICE17 會檢查本主題結尾範例中顯示的情況。
結果
ICE17 會顯示範例中每個情況的錯誤或警告訊息。 下表顯示這類訊息的範例。
ICE17 錯誤或警告 | 描述 |
---|---|
PushButton:Dialog 的 Button1:MyDialog 沒有在 ControlEvent 數據表中定義的事件。 錯誤 |
Pushbutton 控件 未列在 ControlEvent 數據表中。 如果 ICE17 在 Enable Control 屬性或 Visible Control 属性未在 Control 數據表的 Attributes 數據行中設定此錯誤,請檢查控件是否也具有 ControlCondition 數據表中的專案。 如果 [條件] 數據行中的值變更為 True、Enable 或 Show,控件可能會意外啟用或顯示。 |
位圖:控件的 Bitmap1:Dialog 的 Bitmap1:MyDialog 不在 Binary 數據表中。 錯誤 |
或 圖示控件 位圖控件,但對應的點陣圖或圖示未列在 Binary 數據表中。 將點陣圖或圖示新增至二進位數據表。 |
RadioButtonGroup: RadioButton1 of Control: RadioButton1 of Dialog: MyDialog not in the RadioButton table. 警告 |
有一個 RadioButtonGroup 控件,其值為 [屬性] 數據行和 [Control] 數據表的 [屬性] 資料行;在 [屬性] 資料行中未設定 Indirect 位。 ICE17 會張貼警告,因為安裝程式會使用 屬性的值作為 RadioButton 數據表中的外鍵,但該數據表的主鍵遺漏值。 如果已設定 Indirect 位,則控件列出的屬性不會當做 屬性使用;相反地,它會當做實際使用之屬性的名稱使用。 如果在運行時間建立 控件,則可以忽略此警告。 例如,FilesInUse Dialog 上的 ListBox 控制件 只有在安裝期間使用檔案時,才會在運行時間建立。 |
ListBox:Control:ListBox1 的 ListBox1 對話框:MyDialog 不在 ListBox 數據表中。 警告 |
ListBox 控件Control 數據表的 [屬性] 資料行中具有值,且 [屬性] 資料行中未設定 Indirect 位。 ICE17 會張貼警告,因為安裝程式會將 屬性的值當做外鍵傳送至 ListBox 數據表,但該數據表的主鍵遺漏值。 如果設定 間接 位,控件會變更屬性的值,其名稱為與這個控件相關聯的屬性值。 如果在運行時間建立 控件,則可以忽略此警告。 例如,FilesInUse Dialog 上的 ListBox 控制件 只有在安裝期間使用檔案時,才會在運行時間建立。 |
ComboBox:控件的 ComboBox1:對話框的 ComboBox1:ByDialog 不在 ComboBox 數據表警告中 |
Control 資料表的 [屬性] 資料行中有一個值 ComboBox 控件,而且 [屬性] 數據行中未設定 Indirect 位。 ICE17 會張貼警告,因為安裝程式會將 屬性的值當做外鍵使用至 ComboBox 數據表,但該數據表的主鍵遺漏值。 如果設定 間接 位,控件會變更屬性的值,其名稱為與這個控件相關聯的屬性值。 如果在運行時間建立 控件,則可以忽略此警告。 例如,FilesInUse Dialog 上的 ListBox 控制件 只有在安裝期間使用檔案時,才會在運行時間建立。 |
ListView: ListView1 of Control: ListView1 of Dialog: MyDialog 不在 ListView 數據表中。 警告 |
ListView 控件控件數據表的 [屬性] 資料行,且 [屬性] 資料行中未設定 Indirect 位。 ICE17 會張貼警告,因為安裝程式會將 屬性的值當做外鍵用於 ListView 數據表,但該數據表的主鍵中遺漏值。 如果設定 間接 位,控件會變更屬性的值,其名稱為與這個控件相關聯的屬性值。 如果在運行時間建立 控件,則可以忽略此警告。 例如,FilesInUse Dialog 上的 ListBox 控制件 只有在安裝期間使用檔案時,才會在運行時間建立。 |
點陣圖:在二進位數據表錯誤中找不到對話框的 'Button2' 的 'Bitmap2': 'MyDialog' |
有一個 Pushbutton Control 或 複選框控件,其中 控件數據表的 Text 數據行 不包含外鍵到包含位圖或圖標的 二進位數據表記錄。 |
點陣圖:在二進位數據表中找不到對話框的 'RadioButton2' 的 'Bitmap3': 'MyDialog' 圖示:在二進製表中找不到對話框的 'RadioButton3' 控件的 'Icon1': 'MyDialog' 錯誤 |
有一個 RadioButtonGroup 控件,其中 RadioButton 數據表的 Text 數據行 不包含外鍵到包含位圖或圖示 二進位 數據表的記錄。 |
圖片控制件:對話框的 'Button3' :'MyDialog' 的圖示和點陣圖屬性都已設定錯誤 |
、CheckBox或 RadioButtonGroup 控件PushButton 位或 位圖 位在Control 數據表的 [屬性] 資料行中設定。 您無法同時設定這兩個屬性。 |
例
控制項資料表 (部分)
對話_ | 控制 | 類型 | 屬性 | 財產 | 發簡訊 |
---|---|---|---|---|---|
MyDialog | Button1 | 按鈕 | 0 | 還行 | |
MyDialog | Bitmap1 | 點陣圖 | 0 | Bitmap1 | |
MyDialog | RadioButton1 | RadioButtonGroup | 0 | RadioButton1 | |
MyDialog | ListBox1 | ListBox | 0 | ListBox1 | |
MyDialog | ComboBox1 | ComboBox | 0 | ComboBox1 | |
MyDialog | ListView1 | ListView | 0 | ListView1 | |
MyDialog | Button2 | 按鈕 | 262144 | Bitmap2 | |
MyDialog | RadioButton2 | RadioButtonGroup | 262144 | Property2 | |
MyDialog | RadioButton3 | RadioButtonGroup | 524288 | Property3 | |
MyDialog | Button3 | 按鈕 | 786432 | 模棱兩可1 |
RadioButton 資料表 (部分)
財產_ | 次序 | 發簡訊 |
---|---|---|
Property2 | 1 | Bitmap3 |
Property3 | 2 | Icon1 |
下表是空的:
相關主題