線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:1696
推到 Plurk!
推到 Facebook!

TComboBox 的問題

答題得分者是:tester_61566
Eruruu
一般會員


發表:9
回覆:13
積分:9
註冊:2006-07-22

發送簡訊給我
#1 引用回覆 回覆 發表時間:2006-08-04 17:56:02 IP:61.223.xxx.xxx 未訂閱

TComboBox 元件右邊的箭頭按一下就可以列出內容。

請問要怎麼按左邊的選單也能列出內容呢?

------
わたしは..わたし
tester_61566
一般會員


發表:1
回覆:2
積分:5
註冊:2006-09-01

發送簡訊給我
#2 引用回覆 回覆 發表時間:2006-09-02 09:51:13 IP:220.137.xxx.xxx 未訂閱
TComboBoxStyle
TComboBoxStyle is the type for the Style property of combobox components.
Description
These are the values in the TComboBoxStyle type:
Value
Meaning

csDropDown
Creates a drop-down list with an edit box for manually entered text. All items are strings of the same height.

csSimple
Creates an edit box with a fixed list (list box) underneath. The length of the list is determined by the Height of the combo box.

csDropDownList
Creates a drop-down list with no edit box; the user cannot enter text manually. All items are strings of the same height.

csOwnerDrawFixed
Creates an owner-draw drop-down list with no edit box. Each item in the list is the height specified by the ItemHeight property.
csOwnerDrawVariable
Creates an owner-draw drop-down list with no edit box. List items can have varying heights.
點選你的TComboBox元件及變更Object Inspector - Propeerties - 屬性(Style)設定,
csDropDownList ,csOwnerDrawFixed,csOwnerDrawVariable 都能做到
===================引 用 文 章===================

TComboBox 元件右邊的箭頭按一下就可以列出內容。

請問要怎麼按左邊的選單也能列出內容呢?

------
N/A
系統時間:2024-04-29 4:07:34
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!