请祥解!!
解决方案 »
- 如何画一个带单向箭头的连线啊!
- 一个经常出现的问题,关于数据库增加记录的
- 如何把DBgrid的数据导出为excel文档?
- 摄像头如何实时采集压缩图片并保存为视频
- 关于显示数据库记录的问题!用stringgrid或者drowstring能实现吗?
- 解答: Indy 是如何实现 服务器端发送数据,客户端接收数据的~!
- 请问能不能再自己的窗体里预览QuickRep打印效果,而不是另外弹出一个窗体?
- 我要作的第一个程序:要求数据库用VFP,请各位指点一下.现在只能加这点分,我会不断加分
- api?
- 谁用过SYBASE SQL ANYWHERE,能否两个WIN98连同一个数据库
- 关于delphi封装的http,ftp,udp,tcp等协议的使用问题
- 串口编程:MSCOMM32.OCX的使用
procedure TForm1.FormCreate(Sender: TObject);var
I : Integer;begin { First, initialize the page control }
PageControl1.TabWidth := PageControl1.ClientWidth div 4 - 1; PageControl1.ActivePage := PageControl1.Pages[0]; { set up the scrollbar to reflect the structure of the page control}
with ScrollBar1 do
begin
Max := PageControl1.PageCount - 1;
Min := 0;
SmallChange := 1;
{ set LargeChange to a single row of tabs }
LargeChange := PageControl1.ClientWidth div PageControl1.TabWidth;
end;end;procedure TForm1.PageControl1Change(Sender: TObject);begin
with Sender as TPageControl do
ScrollBar1.Position := ActivePage.PageIndex;end;procedure TForm1.ScrollBar1Scroll(Sender: TObject; ScrollCode: TScrollCode; var ScrollPos: Integer);begin
PageControl1.ActivePage := PageControl1.Pages[ScrollPos];
end;
可是如何使他也能往左滚动呢!!
有ERP源码和文档
http://www.czrx.com/get.asp?get=iamcfr
scPosition :
begin
///...//// 定位滑块位置,并放开鼠标按键
end;
scTrack :
begin
//////// 滑块时
end;
scLineUp :
begin
//////点左边(上边)的按钮时
end;
scLineDown :
begin
/////点下边的按钮时
end ;
scPageUp :
begin
////上翻页时
end;
scPageDown :
begin
////下翻页时
end;
scTop :
begin
////滑块移动到左边(上面)时;
end;
scBottom :
begin
/////滑块移动到右边(下面)时;
end;
scEndScroll :
begin
////停止滑动时
end;
end;
User clicked the top or left scroll arrow or pressed the Up or Left arrow key.
scLineDown
User clicked the bottom or right scroll arrow or pressed the Down or Right arrow key.
scPageUp
User clicked the area to the left of the thumb tab or pressed the PgUp key.
scPageDown
User clicked the area to the right of the thumb tab or pressed the PgDn key.
scPosition
User positioned the thumb tab and released it.
scTrack
User is moving the thumb tab.
scTop
User moved the thumb tab to the top or far left on the scroll bar.scBottom
User moved the thumb tab to the bottom or far right on the scroll bar.
scEndScroll
User finished moving the thumb tab on the scroll bar