View previous topic :: View next topic |
Author |
Message |
WidgetCoder Contributor
Joined: 28 May 2002 Posts: 126 Location: CO, USA
|
Posted: Tue Jan 09, 2007 3:53 am Post subject: DynPos Update v2 |
|
|
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 |
|
|
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1751 Location: Space and Time
|
|
Back to top |
|
|
WidgetCoder Contributor
Joined: 28 May 2002 Posts: 126 Location: CO, USA
|
Posted: Wed Jan 10, 2007 1:11 am Post subject: |
|
|
Let's try this again... The download above should work now
|
|
Back to top |
|
|
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1751 Location: Space and Time
|
Posted: Wed Jan 10, 2007 1:20 pm Post subject: |
|
|
Cool. Will try to get to it today.
_________________ Chris
Http://theblindhouse.com |
|
Back to top |
|
|
WidgetCoder Contributor
Joined: 28 May 2002 Posts: 126 Location: CO, USA
|
Posted: Wed Jan 10, 2007 10:46 pm Post subject: Updated Version 2.1 |
|
|
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 |
|
|
DaveR Valued Contributor
Joined: 03 Sep 2005 Posts: 413 Location: Australia
|
Posted: Thu May 10, 2007 1:54 am Post subject: |
|
|
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 |
|
|
uvedese Contributor
Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Thu May 10, 2007 7:28 pm Post subject: |
|
|
Dave®
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
_______________
Description: |
|
Filesize: |
46.79 KB |
Viewed: |
2111 Time(s) |
|
|
|
Back to top |
|
|
uvedese Contributor
Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Fri May 11, 2007 4:21 pm Post subject: |
|
|
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
______________
uVeDeSe
|
|
Back to top |
|
|
briguy Contributor
Joined: 09 Aug 2007 Posts: 79
|
Posted: Mon Apr 07, 2008 6:42 pm Post subject: |
|
|
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 |
|
|
WidgetCoder Contributor
Joined: 28 May 2002 Posts: 126 Location: CO, USA
|
Posted: Mon Apr 07, 2008 6:58 pm Post subject: |
|
|
Absolutely I will post an updated version soon... Thanks for the bug report.
|
|
Back to top |
|
|
briguy Contributor
Joined: 09 Aug 2007 Posts: 79
|
Posted: Mon Apr 07, 2008 7:02 pm Post subject: |
|
|
Very cool!!!
thanks!!!
|
|
Back to top |
|
|
WidgetCoder Contributor
Joined: 28 May 2002 Posts: 126 Location: CO, USA
|
Posted: Thu Apr 10, 2008 2:14 am Post subject: Updated DynPos.dsu for VDS 6 |
|
|
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 |
|
|
briguy Contributor
Joined: 09 Aug 2007 Posts: 79
|
Posted: Thu Apr 10, 2008 1:29 pm Post subject: |
|
|
wow.. thanks so much!! super quick update...
|
|
Back to top |
|
|
WidgetCoder Contributor
Joined: 28 May 2002 Posts: 126 Location: CO, USA
|
Posted: Fri Apr 11, 2008 3:50 am Post subject: |
|
|
You're quite welcome...
|
|
Back to top |
|
|
cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 763 Location: Eastman, GA
|
Posted: Thu Apr 14, 2011 3:49 am Post subject: |
|
|
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 |
|
|
|