| View previous topic :: View next topic |
| Author |
Message |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Fri Nov 18, 2011 8:36 pm Post subject: Hide line/group |
|
|
Is there a way to hide a line or group without hiding any controls that are inside? _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sat Nov 19, 2011 1:21 am Post subject: |
|
|
You can if none of the elements appearing inside it are associated with it.
Create the Group or Line outside the bounds of any of the elements so that nothing gets associated with it.
| Code: | DIALOG ADD,GROUP,LONER,0,0,0,0
DIALOG SHOW
DIALOG SET,LONER,10,5,100,50 |
Then after DIALOG SHOW use DIALOG SET to position it where you really want it. You can then HIDE/SHOW at will.
The trick is to make sure you create the GROUP/LINE before any elements that you might want to seem as in it. Too bad there isn't a Transparent style for either. |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sat Nov 19, 2011 7:07 pm Post subject: |
|
|
I do have elements inside. I want to be able to move all the elements at once using the group/line, but I don't want it to show. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
bornsoft Contributor

Joined: 19 Feb 2009 Posts: 113 Location: Germany
|
Posted: Sat Nov 19, 2011 8:45 pm Post subject: |
|
|
.
How about making a simple costum command to move everything at once?
| Code: |
#DEFINE Command,MoveElements
... blabla
MoveElements 40,20
:MoveElements
dialog position,Elem_1,@sum(@dlgpos(Elem_1,T),%1),@sum(@dlgpos(Elem_1,L),%2)
dialog position,Elem_2,@sum(@dlgpos(Elem_2,T),%1),@sum(@dlgpos(Elem_2,L),%2)
dialog position,Elem_3,@sum(@dlgpos(Elem_3,T),%1),@sum(@dlgpos(Elem_3,L),%2)
dialog position,Elem_4,@sum(@dlgpos(Elem_4,T),%1),@sum(@dlgpos(Elem_4,L),%2)
exit
|
Greetings
bornSoft
. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|