Delphi使用方法

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 hiyaolee 的 blog

1.存儲過程動慴調用
    sp_exec.parameters.clear;
    sp_exec.procedurename := 'sp_transto';
    sp_exec.parameters.createparameter('@mailid', ftstring, pdinput, 50, mailid);
    sp_exec.parameters.createparameter('@result', ftinteger, pdoutput, 0, rowid);
    sp_exec.execproc;
2.在按鈕的左下角顯示彈出式菜單
var
  xy: tpoint;
begin
  xy := btnflow.clientorigin;
  xy.y := xy.y + btnflow.height;
  windows.clienttoscreen(hwnd_desktop, xy);
  mmmenu.popup(xy.x, xy.y);
3.windows消息

本文关键:Delphi使用方法
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top