avatar
Panel能彻底Invisible吗?# DotNet - 窗口里的风景
m*i
1
设置了panel的property "visiable" = false. 但是panel占的那块空间
还是存在的。假设panel 下面是label. 怎么能panel invisiable的同时,
下面的那个label自动上移,好象panel根本不存在的样子。
大虾指教,多谢!
avatar
d*r
2
another solution.
draw to panels, one with a panel and label, another one with label only.
put both of the panels into a container and set one as dock=center, visible =
true,
and another one as dock = none, visiable = false. then switch the dock and vis
ible
of the two panels

【在 m**i 的大作中提到】
: 设置了panel的property "visiable" = false. 但是panel占的那块空间
: 还是存在的。假设panel 下面是label. 怎么能panel invisiable的同时,
: 下面的那个label自动上移,好象panel根本不存在的样子。
: 大虾指教,多谢!

avatar
n*g
3
如果是web的话, label会自动上移

【在 m**i 的大作中提到】
: 设置了panel的property "visiable" = false. 但是panel占的那块空间
: 还是存在的。假设panel 下面是label. 怎么能panel invisiable的同时,
: 下面的那个label自动上移,好象panel根本不存在的样子。
: 大虾指教,多谢!

avatar
m*i
4
抱歉,还有一点前提条件偶没有说清楚。所有这些Panel,label是在
一个大Table的一个cell中。
如图:
__________________________________________________________
| cell1 |
|_________________________________________________________|
| | |
| | (Cell3) |
| | Panel |
| Cell2 | |
| |

【在 d*r 的大作中提到】
: another solution.
: draw to panels, one with a panel and label, another one with label only.
: put both of the panels into a container and set one as dock=center, visible =
: true,
: and another one as dock = none, visiable = false. then switch the dock and vis
: ible
: of the two panels

avatar
m*i
5
多谢,是Web form的。但如果这些panel,label是在一个大Table中。
实际上属于tabel的一个Cell,怎么办呢?
thanks!

【在 n*********g 的大作中提到】
: 如果是web的话, label会自动上移
avatar
n*g
6
put panel out of the or , it works fine with me.

【在 m**i 的大作中提到】
: 多谢,是Web form的。但如果这些panel,label是在一个大Table中。
: 实际上属于tabel的一个Cell,怎么办呢?
: thanks!

m**i
发帖数: 650
7
or 不就是table的设定吗?
Panel放在外面,就违反了Panel是Table cell的前提
条件了吧?
或者我理解的问题,请再解释。
多谢!
还有一个问题,Panel如果是Web类型,是不是只可以Flow Layout?
不能让其中的Button, Label排置的更漂亮一些,例如上下排列?
多谢!

【在 n*********g 的大作中提到】
: put panel out of the or , it works fine with me.
n*********g
发帖数: 75
8
just tested, put Panel inside works too.

【在 m**i 的大作中提到】
: or 不就是table的设定吗?
: Panel放在外面,就违反了Panel是Table cell的前提
: 条件了吧?
: 或者我理解的问题,请再解释。
: 多谢!
: 还有一个问题,Panel如果是Web类型,是不是只可以Flow Layout?
: 不能让其中的Button, Label排置的更漂亮一些,例如上下排列?
: 多谢!
s***d
发帖数: 14
9
can be put outside of tr, td, and you can also hide tr, td directly with
out using
or .
you may need check your machine.config or web.config for since Mac
may interpret it as which will give your some headaches.
running them as server control will not just 'hide' them, but instead not even
send back to client's browser.

【在 m**i 的大作中提到】
: or
不就是table的设定吗?
: Panel放在外面,就违反了Panel是Table cell的前提
: 条件了吧?
: 或者我理解的问题,请再解释。
: 多谢!
: 还有一个问题,Panel如果是Web类型,是不是只可以Flow Layout?
: 不能让其中的Button, Label排置的更漂亮一些,例如上下排列?
: 多谢!
1(共1页)
相关主题
asp.net membership /existing databaseanyone playing around 508 compliant
Package / Insert Designer or Designer AssistantIE developer toolbar
Java Swing -- autohide panel widgets?[合集] IE developer toolbar
今年交的nsf career有出来结果的么?如何让Razor view engine可以渲染htm/html文件
table and div选择哪种 application form (转载)
asp.net Ajax timer to update panel only but refresh whole page why? Thank you!怎么样才能让control随window的大小变化而变化?
请教:Asp.net如何给jq class 赋值怎样用c#.net生成一个动态表格?
How to check a linked table?ASP help
相关话题的讨论汇总
话题: panel话题: table话题: label话题: invisible话题: cell1
avatar
m*i
7
or 不就是table的设定吗?
Panel放在外面,就违反了Panel是Table cell的前提
条件了吧?
或者我理解的问题,请再解释。
多谢!
还有一个问题,Panel如果是Web类型,是不是只可以Flow Layout?
不能让其中的Button, Label排置的更漂亮一些,例如上下排列?
多谢!

【在 n*********g 的大作中提到】
: put panel out of the or , it works fine with me.
n*********g
发帖数: 75
8
just tested, put Panel inside works too.

【在 m**i 的大作中提到】
: or 不就是table的设定吗?
: Panel放在外面,就违反了Panel是Table cell的前提
: 条件了吧?
: 或者我理解的问题,请再解释。
: 多谢!
: 还有一个问题,Panel如果是Web类型,是不是只可以Flow Layout?
: 不能让其中的Button, Label排置的更漂亮一些,例如上下排列?
: 多谢!
s***d
发帖数: 14
9
can be put outside of tr, td, and you can also hide tr, td directly with
out using
or .
you may need check your machine.config or web.config for since Mac
may interpret it as which will give your some headaches.
running them as server control will not just 'hide' them, but instead not even
send back to client's browser.

【在 m**i 的大作中提到】
: or
不就是table的设定吗?
: Panel放在外面,就违反了Panel是Table cell的前提
: 条件了吧?
: 或者我理解的问题,请再解释。
: 多谢!
: 还有一个问题,Panel如果是Web类型,是不是只可以Flow Layout?
: 不能让其中的Button, Label排置的更漂亮一些,例如上下排列?
: 多谢!
1(共1页)
相关主题
asp.net membership /existing databaseanyone playing around 508 compliant
Package / Insert Designer or Designer AssistantIE developer toolbar
Java Swing -- autohide panel widgets?[合集] IE developer toolbar
今年交的nsf career有出来结果的么?如何让Razor view engine可以渲染htm/html文件
table and div选择哪种 application form (转载)
asp.net Ajax timer to update panel only but refresh whole page why? Thank you!怎么样才能让control随window的大小变化而变化?
请教:Asp.net如何给jq class 赋值怎样用c#.net生成一个动态表格?
How to check a linked table?ASP help
相关话题的讨论汇总
话题: panel话题: table话题: label话题: invisible话题: cell1
avatar
n*g
8
just tested, put Panel inside
avatar
s*d
9
can be put outside of tr, td, and you can also hide tr, td directly with
out using
or .
you may need check your machine.config or web.config for since Mac
may interpret it as which will give your some headaches.
running them as server control will not just 'hide' them, but instead not even
send back to client's browser.

【在 m**i 的大作中提到】
: or
不就是table的设定吗?
: Panel放在外面,就违反了Panel是Table cell的前提
: 条件了吧?
: 或者我理解的问题,请再解释。
: 多谢!
: 还有一个问题,Panel如果是Web类型,是不是只可以Flow Layout?
: 不能让其中的Button, Label排置的更漂亮一些,例如上下排列?
: 多谢!
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。