专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
新建一个应用,在窗体form1上添加两个tlabel组件名为label1,label2; 添加两个tbutton组件名为button1,button2;添加一个tmemo组件名为memo1。 然后在代码编辑器中添加以下代码。    void __fastcall tform1::button1click(tobject *sender)    {    label1→caption=sendmessage(memo1→handle,em_linefromchar,-1,0)+1;    }    void __fastcall tform1::button [阅读全文] [PDF]
1 共1条 分1页