| View previous topic :: View next topic |
| Author |
Message |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Aug 08, 2002 6:07 am Post subject: need tips on getting buttons in-line!!!! |
|
|
hello all
for the life of me i can't get my buttons to look nice and even...I even tried the f2 that help some but not much.. wife thinks i'am crazy for spending so much time on trying to get them in-line
any tips please
thanks |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Thu Aug 08, 2002 6:21 am Post subject: |
|
|
Refine them by using the values of the buttons>
DIALOG ADD,BUTTON,BUTTON1,10,10,200,23
change the first two numbers, they are the TOP and LEFT position. Make sure all the buttons you want to line up have either the same TOP number or LEFT number depending on if you want to line up your buttons from up-down or left-right. |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Aug 08, 2002 7:04 am Post subject: ok but |
|
|
ok but:
what about buttons that are underthe other set of buttons?
like this
_ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _
_ _ _
the _ are buttons sorry for the poor pictures
thanks |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Aug 08, 2002 7:49 am Post subject: |
|
|
I'd recommend losing the Dialog Designer and
get your hands in the actual code to figure out
how/where this stuff works...
| Code: |
rem -- X is pixels horizontally from the left,
rem -- Y is pixels vertically from the top.
rem -- These are are all 30 x 20 pixels in size.
rem -- Each row start at (X) 5 and each button is
rem -- located 35 pixels farther to the right than
rem -- the last one, to allow 5 pixels space between...
rem -- The four numbers for each button are:
rem -- upper left (Y), upper left (X), width, height
DIALOG CREATE,Test,-1,0,145,80
rem -- Row 1, all start at (Y) 5 --
DIALOG ADD,BUTTON,B01,5,5,30,20
DIALOG ADD,BUTTON,B02,5,40,30,20
DIALOG ADD,BUTTON,B03,5,75,30,20
DIALOG ADD,BUTTON,B04,5,110,30,20
rem -- Row 2, all start at (Y) 30 --
DIALOG ADD,BUTTON,B05,30,5,30,20
DIALOG ADD,BUTTON,B06,30,40,30,20
DIALOG ADD,BUTTON,B07,30,75,30,20
DIALOG ADD,BUTTON,B08,30,110,30,20
rem -- Row 3, all start at (Y) 55 --
DIALOG ADD,BUTTON,B09,55,5,30,20
DIALOG ADD,BUTTON,B10,55,40,30,20
DIALOG ADD,BUTTON,B11,55,75,30,20
DIALOG ADD,BUTTON,B12,55,110,30,20
DIALOG SHOW
WAIT EVENT
EXIT
|
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
VDSuser Contributor


Joined: 21 Mar 2002 Posts: 58 Location: Somewhere in time
|
Posted: Thu Aug 08, 2002 5:04 pm Post subject: |
|
|
| Have you tried to use the "Snap to grid" feature of Dialog Designer? |
|
| 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
|
|