找回密码
 加入
搜索
查看: 1217|回复: 2

GUICtrlCreateLabel可以显示在GUICtrlCreateListView控件列表之上吗?

[复制链接]
发表于 2009-12-28 23:45:28 | 显示全部楼层 |阅读模式
本帖最后由 81206954 于 2009-12-29 16:36 编辑

$Label1 = GUICtrlCreateLabel("欢迎光临", 140, 170, -1, -1)
$ListView1 = GUICtrlCreateListView("55555", 8, 8, 487, 161)


GUICtrlCreateLabel的内容, 可以显示在GUICtrlCreateListView控件列表之上吗?,效果请看图:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入

×

评分

参与人数 1金钱 +10 收起 理由
pusofalse + 10 移动主题至“已解决问题区”。

查看全部评分

发表于 2009-12-29 15:03:00 | 显示全部楼层
本帖最后由 landays 于 2009-12-29 15:06 编辑

控件顺序的问题吧
先创建label控件 然后再创建listview控件
这样label就排在前端了 是不是就你说的效果?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入

×
 楼主| 发表于 2009-12-29 16:35:19 | 显示全部楼层
回复 2# landays



谢谢~~
是顺序问题,但是原来多了两个按钮就又不看不见了~~~

#include <GUIConstantsEx.au3>
$Form1 = GUICreate("Test", 506, 210, -1, -1)
$Button1 = GUICtrlCreateButton("退出", 192, 176, 73, 22)

GUICtrlCreateLabel("11", 140, 170, -1, -1)
GUICtrlCreateLabel("11", 140, 140, -1, -1 )
$ListView1=GUICtrlCreateListView("序|      名 称 |", 8, 8, 487, 161    )
GUICtrlCreateListViewItem("-1|4||6546|", $ListView1)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
  Case $GUI_EVENT_CLOSE, $Button1
   Exit
EndSwitch
WEnd
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-28 02:14 , Processed in 0.115737 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表