forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Hide line/group

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Fri Nov 18, 2011 8:36 pm    Post subject: Hide line/group Reply with quote

Is there a way to hide a line or group without hiding any controls that are inside?
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sat Nov 19, 2011 1:21 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sat Nov 19, 2011 7:07 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
bornsoft
Contributor
Contributor


Joined: 19 Feb 2009
Posts: 113
Location: Germany

PostPosted: Sat Nov 19, 2011 8:45 pm    Post subject: Reply with quote

.

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group