-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
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
Asked: 2012-06-19 19:52:05 +0800
Seen: 103 times
Last updated: Jun 19 '12