当在CheckListBox上单击鼠标右键时,弹出一个菜单?请问如何做到?
给出代码,谢谢!
给出代码,谢谢!
解决方案 »
- memo里无法换行
- 请问VecAPI编程是怎么一回事情?怎么用Delphi实现?
- NND, delphi 的 installshield 为什么不能编 script ?
- 一个简单的连接数据库问题
- pc→单片机的串口通讯,使用spcomm控件,发送时好时坏,怀疑是pc与单片机不同步,应该怎么调?
- ACtivex 中的快捷键问题,急急急急急急
- 请教!如何在一个窗口中引用其他窗口定义的变量
- 怎样实现金山词霸的功能?
- 在Delphi5.0中安装ADO补丁时为什么输入序列号不对?
- 求cxCalcEdit 问题
- 简单问题!!
- ***************已经解决了word转化为html的问题,但是ppt文件的转换函数还没有找到!
我是不知道右键点击checklistbox的事件在哪里?以及怎样判断是右键?
请告诉我吧。
if ssright in shift then
begin
//
end;
Shift: TShiftState; X, Y: Integer);
begin
if Button = mbLeft then
ShowMessage('×ó¼ü');
if Button = mbRight then
ShowMessage('ÓÒ¼ü');
end;
mousept:Tpoint; getCursorPos(mousept);
popmenu1.Popup(mousept.x,mousept.y);