Appendix BClient端元件\InfoRefButton

InfoRefButton

 

【功能說明】

用途:使用於 Client 端透過此元件呼叫關聯選單的資料,並充分利用關聯的資料的內容,用於顯示名稱與輸入查表選單或將其部份欄位帶回來,使 User 介面更親和。

 

【元件屬性】

Name( 名稱 )(string)

元件名稱,用於識別該元件。

 

infoTranslate(Translate 元件 ID)(InfoTranslate)

用於設置在開窗選單時,使用的回傳 InfoTranslate 元件 ID 。

 

Panel( 顯示資料 )(Panel)

用於設定顯示開窗選單的資料顯示 Panel 。

 

multiSelect( 多項選擇 )(bool)

設定是否開窗選單可以復選, true 表示可以多選。

 

RefButtonMatchs( 回傳匹配設定 )(Collection)

用於設定當開窗選中資料回傳所對應的元件名稱。

 

Columns( 設定所要顯示的 Column)(collection)

在 AutoPanel = true 時,系統自動顯示 Column 中設定要顯示的欄位

 

Column( 欄位名稱 )(string) :要顯示的欄位名稱。

        DefaultCellStyle( 顯示格式 )(string) :設定資料顯示格式。

HeaderText( 抬頭 )(string) :要顯示欄位的表頭。此屬性可使用 DD 資料字典功能,在新增 Column 時,系統會自動到系統表 COLDEF 中找到該資料表該欄位的抬頭內容。

        Width( 寬度 )(int32) :欄位的寬度。

        Visible( 顯示 )(bool) :用來設定是否顯示。

 

FormHeight( 表單高度 )(int32)

用於設定打開的表單高度。

 

FormWidth( 表單寬度 )(int32)

用於設定打開的表單寬度。

 

【注意】

在設定 InfoRefButton 時,必須 infoTranslate 與 Panel 配合使用

 

 

Top of Page