請問各位高手<br>我如何將 table 的資料秀在 MSFlexGrid , 且會自動按照欄位大小來自動 autosize ???<br>謝謝!!..........
好像沒這項功能 我自己是自行 Code 啦!
實在是很麻煩!!要控制的很死!!.... 很討厭說!!..... With Grid .Rows = 10 .Cols = 5 .TextMatrix(0, 0) = "人事號" .TextMatrix(0, 1) = "刷卡日期" .TextMatrix(0, 2) = "刷卡時間" .TextMatrix(0, 3) = "刷卡狀態" .TextMatrix(0, 4) = "處理狀態" .ColWidth(0) = 300 * 3 .ColWidth(1) = 150 * 10 .ColWidth(2) = 150 * 10 .ColWidth(3) = 150 * 10 .ColWidth(4) = 150 * 10 .ColAlignment(0) = flexAlignLeftCenter .ColAlignment(1) = flexAlignLeftCenter .ColAlignment(2) = flexAlignLeftCenter .ColAlignment(3) = flexAlignLeftCenter .ColAlignment(4) = flexAlignLeftCenter End With 像這樣事吧!???
你的內容跟調整大小沒關... 你只有調整對齊方式... 我是用選單的方式處理 實作成果請參見 http://feitsui.hyd.ncku.edu.tw/TLCheng/Thiessen/ 或 http://feitsui.hyd.ncku.edu.tw/Paper/NetR99/NetR99.htm#Fig_4
你的內容跟調整大小沒關... 你只有調整對齊方式... 我是用選單的方式處理 實作成果請參見 http://feitsui.hyd.ncku.edu.tw/TLCheng/Thiessen/ 或 http://feitsui.hyd.ncku.edu.tw/Paper/NetR99/NetR99.htm#Fig_4
●具體範例,請到紀文和網站『VB入門網』 http://www.vbguide.com.tw/webback.asp 看看「個個擊破」 單元中的 --------------------------------------- 396 如何使用 MSFlexGrid 控制元件顯示資料? --------------------------------------- (1) 請先閱讀前言之說明。 (2) 若適合現狀者可以下載範例,評估研究程式。 (3) 參考其標示之『參考資料』及『網路資源』。 (4) 答案不是唯一,僅供參考用途。