⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 example6_5.res

📁 protoolkit 程序设计电子书籍
💻 RES
字号:
!UI对话框示例程序资源文件:Example6_5.res
(Dialog Example5_5
     (Components  !对话框元件声明
         (Tab                            Tab1
                                         Layout01  	!选项卡1
                                         Layout02) 	!选项卡2
         (PushButton                     Cancel)
        
     )
    (Resources    !对话框资源(属性定义)
         !Cancel按钮属性定义
         (Cancel.Label                   "Exit")
		 (Cancel.Bitmap                  "cl_cancel")
         (Cancel.TopOffset               4)
         (Cancel.BottomOffset            4)
         (Cancel.LeftOffset              4)
         (Cancel.RightOffset             4)
         (Tab1.Decorated              	 True)
         (Tab1.LeftOffset              4)
         (Tab1.RightOffset             4)
  
        
         (.Label                         "Example6_5") !对话框标题
         (.StartLocation                  3) 
         (.Layout  	!对话框元件的布局
             (Grid (Rows 1 1 1) (Cols 1) 
               Tab1
               Cancel         
             )
         )
     )
 )


(Layout Layout01
    (Components
         (RadioGroup                     ViewType)
    )
    (Resources
         !单选按钮组标签“ViewTypeLabel”属性定义
         (ViewTypeLabel.AttachLeft       True)

         !单选按钮组“ViewType”属性定义
         (ViewType.Orientation          True)
		 (ViewType.AttachBottom         False)
         (ViewType.Names                "1"
                                         "2"
                                         "3"
										 "4"
										 "5")
         (ViewType.Labels                "清除窗口图形<clear>"
                                         "窗口重画<refresh>"
                                         "窗口刷新"
										 "调整窗口<refit>"
										 "模型树刷新<reftree>")
		(ViewType.TopOffset              4)
        (ViewType.BottomOffset           4)
        (ViewType.LeftOffset             4)
        (ViewType.RightOffset            4)

        (ViewType.SymbolNames           "clear"
                                        "prt"
                                        "refresh"
                                        "refit"
                                        "reftree")
        (ViewType.SymbolImages          "smm_clear"
                                        "prt_image"
                                        "refresh16x16"
                                        "zoom_to_fit"
                                        "reftree2")


        (.Label                         "视图(&V)")
        (.Decorated                     True)
        (.AttachLeft                    True)
        (.AttachRight                   True)
        (.TopOffset                     4)
        (.BottomOffset                  4)
        (.LeftOffset                    4)
        (.RightOffset                   4)
        (.Layout
            (Grid (Rows 1) (Cols 1)
                 ViewType               
            )
        )
    )
)

(Layout Layout02
    (Components
         (List						WinList)
    )
    (Resources
         (WinList.AttachLeft			True)
         (WinList.TopOffset			4)
         (WinList.BottomOffset		4)
         (WinList.LeftOffset			4)
         (WinList.RightOffset			4)
         (WinList.VisibleRows			8)
		 (WinList.Columns				12)
		 (WinList.ListType			1)
		 (WinList.ColumnLabel			"序号	窗口名	标识号")
         (WinList.TabStops			2 8 12)

         (.Label                         "窗口(&W)")
         (.Layout
            (Grid (Rows 1)(Cols 1)
                 WinList
            )
        )
    )
)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -