我如何始终保持表格顶部 [英] How can i keep form always in TOP

查看:67
本文介绍了我如何始终保持表格顶部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想将我的表格始终放在顶部!

谢谢

Hi every buddy

i would like keep my Form always in TOP !

Thank you

推荐答案

尝试:
Me.Topmost=True


亲爱的朋友,

请点击以下链接:http://www.vbforums.com/showthread.php?p = 3249342

使用计时器将表单属性设置为form1.topmost = true.

将计时器设置为每1秒.

这是代码片段:
私有子Timer1_Tick(ByVal发送者作为System.Object,ByVal e作为System.EventArgs)处理Timer1.Tick
Me.TopMost = True
结束子

如果有帮助,请将其标记为您的答案:-)

谢谢
Dear Friend,

Follow the link:- http://www.vbforums.com/showthread.php?p=3249342

Use a timer, to keep setting the form property to form1.topmost = true.

Set the timer to every 1 second.

Here is the code snipet:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Me.TopMost = True
End Sub

Mark this as your answer if it helps you out :-)

Thanks


这篇关于我如何始终保持表格顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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