0

Is there a way that I can keep my 3D groupbox always close?

asked 2012-06-19 19:52:05 +0800

pjiang gravatar image pjiang
46 2

I use list of 3D groupbox to implement a user list. When this user is disabled, the groupbox should not open when its caption is clicked.

Is there a way I can do it? like setOpenable(false)....

Thanks

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-06-19 22:13:04 +0800

twiegand gravatar image twiegand
1807 3

pjiang,

You definitely can do what you ask.  Simply use the combination of open and closable attributes in the groupbox.

Here is an example you can run to see what I mean:

<window>
	<groupbox mold="3d" closable="false" open="false">
		<caption label="Won't open"/>
		<separator height="100px"/>
		<label value="STUFF"/>
		<separator height="100px"/>
	</groupbox>
	<groupbox mold="3d" open="false">
		<caption label="Opens and closes"/>
		<separator height="100px"/>
		<label value="STUFF"/>
		<separator height="100px"/>
	</groupbox>
</window>

Hope that helps,

Todd

link publish delete flag offensive edit

answered 2012-06-19 22:43:11 +0800

pjiang gravatar image pjiang
46 2

It works perfect!

Thank you, Todd!

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-06-19 19:52:05 +0800

Seen: 103 times

Last updated: Jun 19 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More