在代码中滚动面板.. [英] Scroll a Panel in code ..

查看:60
本文介绍了在代码中滚动面板..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有人可以帮忙吗?我需要在代码中滚动一个面板,因为我

不想在屏幕上显示滚动条。


任何建议。


N.


Can anyone help here? I need to scroll a panel in code, because I
don''t want to display the scroll bar on screen.

Any suggestions.

N.

推荐答案

面板中有什么?控制或图片?如果它们是控件,你可以自己移动它们。


Dim c as Control

对于Panel1.Controls中的每个c br />
''新地点

c.Location =''无论你想要它

下一页


如果是图片只是画出需要看到的部分。


" n。史密斯和QUOT; < NI *** @ yahoo.dk>在消息中写道

news:t7 ******************************** @ 4ax.com ...
What''s in the panel? Controls or a picture? If they are controls you can
move them yourself .

Dim c as Control
For each c in Panel1.Controls
'' New Location
c.Location = ''Wherever you want it
Next

If it''s a picture just draw part that needs to be seen.

"n. Smith" <ni***@yahoo.dk> wrote in message
news:t7********************************@4ax.com...

有人可以帮忙吗?我需要在代码中滚动一个面板,因为我不想在屏幕上显示滚动条。

任何建议。

N.

Can anyone help here? I need to scroll a panel in code, because I
don''t want to display the scroll bar on screen.

Any suggestions.

N.



嗨史密斯,


我们的主要卷轴之一可能还有10天的时间,请检查自己

这些关于此主题的消息来自他。

http:/ /tinyurl.com/3sufx


我希望这有帮助吗?


Cor
Hi Smith,

One of our main scrollers is probably still 10 days away, check yourself
these messages about this subject from him.

http://tinyurl.com/3sufx

I hope this helps?

Cor


这真是一个非常巧妙的答案,真的非常令人印象深刻。


Hr H在哪里呢?


-


OHM(特里伯恩斯)

。 。 。单手人。 。

如果你需要我的电子邮件,请问我


当你不知道自己在做什么时,过得很快


" Cor Ligthert" <无************ @ planet.nl>在消息中写道

news:eT ************** @ TK2MSFTNGP09.phx.gbl ...
What an ingenious answer, that''s quite impressive really.

Where is Hr H anyways ?

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don''t know what you''re doing

"Cor Ligthert" <no************@planet.nl> wrote in message
news:eT**************@TK2MSFTNGP09.phx.gbl...
Hi Smith,

我们的主要卷轴之一可能还有10天之后,请检查一下这些关于这个主题的消息。

http://tinyurl.com/3sufx

我希望这有帮助吗?

Cor
Hi Smith,

One of our main scrollers is probably still 10 days away, check yourself
these messages about this subject from him.

http://tinyurl.com/3sufx

I hope this helps?

Cor



这篇关于在代码中滚动面板..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆