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 


Need help to Resize dialog with inside control [SOLVED]

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Mon May 30, 2011 5:15 pm    Post subject: Need help to Resize dialog with inside control [SOLVED] Reply with quote

Hi,

I have to resize and reposition the entries from a dialog, when I resize, I tried to use dynapos4 but I had some problems, this is the code of the dialog on which I work:
Code:
  DIALOG CREATE,%%Titolo,-1,0,460,441,RESIZABLE,BALLOONTIPS,DRAGDROP,CLASS Main,ONTOP MAIN
  DIALOG ADD,STYLE,Simboli,Webdings,8,B,BLACK,,B,BLACK,
  DIALOG ADD,STYLE,lice,Times New Roman,12,BIUC,,RED
  DIALOG ADD,STYLE,Mess,Verdana,8,B,80FF00,
  DIALOG ADD,STYLE,STYLE1,Verdana,8,B,,
  DIALOG ADD,STYLE,STYLE2,Verdana,8,,,
  DIALOG ADD,STYLE,STYLE3,Verdana,,B,66|160|255,
  DIALOG ADD,STYLE,STYLE4,Verdana,,BL,,
  DIALOG ADD,TABLE,TABLE1,69,8,446,350,Contents[220]|File comment[221],,,CLICK,COLUMNSORT,DBLCLICK,STYLE3
  DIALOG ADD,COMBO,Gruppi,45,60,271,23,,,LIST,CLICK
  DIALOG ADD,TEXT,TEXT1,51,13,50,13,Groups:,,STYLE1
  DIALOG ADD,STATUS,Stato,Stato
  DIALOG ADD,ANIICON,Wait,14,392,40,36,#Wait.ani
  Dialog Show
  dialog hide,wait

I know it's easy to do masinceramente I have trouble understanding how to do Stupid , I can search for some kind soul please help? Rolling Eyes


Last edited by Tdk161 on Mon May 30, 2011 7:34 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Mon May 30, 2011 6:32 pm    Post subject: Reply with quote

Little confused here about whether you want help with a dynpos solution or just resize...or a dynpos like solution due to other requirements.

Here's how to resize your table using standard means.

Code:
  :resize
  dialog setpos,table1,,,@diff(@dlgpos(,w),15),@diff(@dlgpos(,h),100)
  goto evloop


Thanks,

cnodnarb
Back to top
View user's profile Send private message AIM Address
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Mon May 30, 2011 7:34 pm    Post subject: Reply with quote

Very Happy cnodnarb

a lot of thanks, your code work fine and solved my problem

and about dynpos4 using your code sample I decided to not use for my actual project, maybe in the future prj yes
thank you again
Back to top
View user's profile Send private message Send e-mail
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