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 


DynPos.DSU
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Units
View previous topic :: View next topic  
Author Message
WidgetCoder
Contributor
Contributor


Joined: 28 May 2002
Posts: 126
Location: CO, USA

PostPosted: Tue Jan 09, 2007 3:53 am    Post subject: DynPos Update v2 Reply with quote

I got tired of waiting for VDS 6 to be released before updating my files...

Updated Version 2.0

Changes:
1. Now supports VDS's Browser element!
2. Controlling process's (drop-file) path may be changed


V4 Download Link as of 9/3/2014:
https://eckles.net:5001/fbsharing/vtB1EBYp


Last edited by WidgetCoder on Wed Sep 03, 2014 9:28 pm; edited 4 times in total
Back to top
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


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

PostPosted: Tue Jan 09, 2007 1:24 pm    Post subject: Reply with quote

Twisted Evil Very Happy
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
WidgetCoder
Contributor
Contributor


Joined: 28 May 2002
Posts: 126
Location: CO, USA

PostPosted: Wed Jan 10, 2007 1:11 am    Post subject: Reply with quote

Let's try this again... The download above should work now Embarassed
Back to top
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


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

PostPosted: Wed Jan 10, 2007 1:20 pm    Post subject: Reply with quote

Cool. Will try to get to it today.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
WidgetCoder
Contributor
Contributor


Joined: 28 May 2002
Posts: 126
Location: CO, USA

PostPosted: Wed Jan 10, 2007 10:46 pm    Post subject: Updated Version 2.1 Reply with quote

Updated Version 2.1

Bug Fixed: Browser element intermittently failing to re-size.

I have also included the source files in case someone would like to improve or customize it.


New Version 3 below...


Last edited by WidgetCoder on Thu Apr 10, 2008 3:23 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Thu May 10, 2007 1:54 am    Post subject: Reply with quote

Hi WidgetCoder and uVeDeSe (and anyone who has experience with either of these DSUs),

I've played with both DynPos.dsu v2.1 and ResizeDSU.dsu but neither seem able to do what I need - unless I'm missing something obvious.

I have 2 tables side by side (with a button between them) and need both tables to increase in width when the window is widened.

Before I tried ResizeDSU I spent some time translating ResizeDSU's rtf document into English (and skipped the section on the X and Y paremters) so I may have lost something in the translation.

ResizeDSU comes close to being able to do it. But the position and width of the table on the right is not exactly correct after resizing.

With DynPos I can only adjust the width of 1 of the 2 tables.

Am I missing a something?

_________________
cheers

Dave
Back to top
View user's profile Send private message
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 169
Location: Spain

PostPosted: Thu May 10, 2007 7:28 pm    Post subject: Reply with quote

Dave® Very Happy

I use my resizeDSU exactly in my program " FileSincro vds " with two EDITS elements and a button in the center of the window.

The solution consists of placing the button in 50 % of the width of the window and both tables them of fitting to the button:


Code:

  resz ini
  resz ele,button1,L,50
  resz ele,table1,X,L,button1
  resz ele,table2,X,button1,R


Good luck
______________

uVeDeSe

_______________



scshot.jpg
 Description:
 Filesize:  46.79 KB
 Viewed:  2111 Time(s)

scshot.jpg


Back to top
View user's profile Send private message Visit poster's website
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 169
Location: Spain

PostPosted: Fri May 11, 2007 4:21 pm    Post subject: Reply with quote

Here they have an example of use:

Code:

  #include resizeDSU.dsu
 
  DIALOG CREATE,resize test,-1,0,336,149,RESIZABLE
  DIALOG ADD,TABLE,table1,2,2,150,144,Column 1[140]
  DIALOG ADD,TABLE,table2,1,184,150,144,Column 1[140]
  DIALOG ADD,BUTTON,button1,2,152,32,32,*
  DIALOG SHOW

  resz ini
  resz ele,button1,l,50
  resz ele,table1,x,l,button1
  resz ele,table2,x,button1,r
  resz ele,table1,h
  resz ele,table2,h
 
:evloop
  wait event
  %e = @event(()
  goto %e
 
:Close
  exit
 
:resize
  resz res,336,149
  goto evloop


Good luck Wink
______________

uVeDeSe
Back to top
View user's profile Send private message Visit poster's website
briguy
Contributor
Contributor


Joined: 09 Aug 2007
Posts: 79

PostPosted: Mon Apr 07, 2008 6:42 pm    Post subject: Reply with quote

WidgetCoder

I'm getting an invalid command at line 265, 688, and 691 when I try to run this under vds 6. now this only happends if I choose to compile using the vds 6 standard executable if I choose to compile it under the vds 5 standard executable it works fine..

I was wondering would it be possible for you to take a look at this.. I use the dsu quite alot..

Thanks.
Back to top
View user's profile Send private message
WidgetCoder
Contributor
Contributor


Joined: 28 May 2002
Posts: 126
Location: CO, USA

PostPosted: Mon Apr 07, 2008 6:58 pm    Post subject: Reply with quote

Absolutely I will post an updated version soon... Thanks for the bug report.
Back to top
View user's profile Send private message Send e-mail
briguy
Contributor
Contributor


Joined: 09 Aug 2007
Posts: 79

PostPosted: Mon Apr 07, 2008 7:02 pm    Post subject: Reply with quote

Very cool!!!

thanks!!!
Back to top
View user's profile Send private message
WidgetCoder
Contributor
Contributor


Joined: 28 May 2002
Posts: 126
Location: CO, USA

PostPosted: Thu Apr 10, 2008 2:14 am    Post subject: Updated DynPos.dsu for VDS 6 Reply with quote

DynPos Unit v4 Final Release (2008.04.25) for VDS v6/5.*

This unit will dynamically position and/or re-size dialog elements while the window is being sized manually via mouse. Unlike VDS's "Resize" event which waits until the mouse button has been released this DSU will automatically manage elements while the window is changing size.

Version 4.0 Changes:

- Fixed browser child window hierarchy bug
- Source code included for debugging

Version 3.5 Changes:

- Added Proportional Resizing and Positioning for multiple horizontally or vertically aligned elements.
- Flags “TLWH” may now be used in any combination or separately
- Same DSU for both VDS versions 5 and 6
- Source code included for debugging

Version 3.0 Changes:

- Added VDS 6 support for both standard and integrated executables
- Vista compatibility - This version is self-contained and does NOT write any files to the hard drive
- DSU size reduced by 24kb - the file is now less than 7kb

NEW DOWNLOAD LINK as of 9/3/2014:

Version 4.0 Download Link (23kb):
https://eckles.net:5001/fbsharing/vtB1EBYp


Last edited by WidgetCoder on Wed Sep 03, 2014 9:22 pm; edited 8 times in total
Back to top
View user's profile Send private message Send e-mail
briguy
Contributor
Contributor


Joined: 09 Aug 2007
Posts: 79

PostPosted: Thu Apr 10, 2008 1:29 pm    Post subject: Reply with quote

wow.. thanks so much!! super quick update... Smile
Back to top
View user's profile Send private message
WidgetCoder
Contributor
Contributor


Joined: 28 May 2002
Posts: 126
Location: CO, USA

PostPosted: Fri Apr 11, 2008 3:50 am    Post subject: Reply with quote

You're quite welcome...
Back to top
View user's profile Send private message Send e-mail
cnodnarb
Professional Member
Professional Member


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

PostPosted: Thu Apr 14, 2011 3:49 am    Post subject: Reply with quote

I'm having a problem in Windows 7 VDS 5.0 where the instanced copy of the executable that resizes the controls will not close on exit.

Currently I'm using this workaround:

Code:
:DynPos_Free
 # Removed v3.2
 # list close,31
  list close,32
  dialog remove,%%RS_Cname

rem WORKAROUND
 runh taskkill /IM @name(%0).exe /F
  exit


Is there a better way?

Thanks,

cnodnarb
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Units All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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