不知有没有一种类似ComBox的第三方控件!
可以实现把鼠标放在控件上则自动把下拉框展开;
当用鼠标一点击时,则选中。
可以实现把鼠标放在控件上则自动把下拉框展开;
当用鼠标一点击时,则选中。
解决方案 »
- delphi断点设置无效
- 将从用fontdialog取出Tfont属性,转换成logfont结构,为什么logfont.lfFaceName取出的值是空的或是乱码?
- 散分
- 我即将更换机器了,请推荐几个好的品牌和型号?笔记本或台式机器!!!!
- 谁用delphi做过大型MIS系统?经来指点一下,在线等待,及时结贴!
- 从外部拖动经过TreeView的节点时,如何及时改变节点图标?
- 兄弟们过年好!有人有显示、保存、打印数学公式的程序/代码吗?给点意见也行...急啊...
- 我是新手,请高手帮助!
- delphi form1根form2的变量修改form1控件的属性
- 一个控件制作问题
- 在sqlserver2000上,应该修改哪个属性,可是系统不显示出系统自带的文件?
- 急!!!DBGRID小问题(在线等待,高分相送)
var Handled: Boolean);
var
vRect: TRect;
begin
case Msg.message of
WM_MOUSEMOVE: begin
vRect := ComboBox1.BoundsRect;
if ComboBox1.DroppedDown then
vRect.Bottom := vRect.Bottom +
Min(ComboBox1.DropDownCount, ComboBox1.Items.Count + 1) *
ComboBox1.ItemHeight;
if PtInRect(vRect, ScreenToClient(Mouse.CursorPos)) then
if not ComboBox1.DroppedDown then
ComboBox1.DroppedDown := True
else
else if ComboBox1.DroppedDown then
ComboBox1.DroppedDown := False;
end;
end;
end;
Left = 32
Top = 88
Width = 145
Height = 21
ItemHeight = 13
TabOrder = 0
Text = 'ComboBox1'
Items.Strings = (
'Line.1'
'Line.2'
'Line.3')
end
object ApplicationEvents1: TApplicationEvents
OnMessage = ApplicationEvents1Message
Left = 80
Top = 32
end