| View previous topic :: View next topic |
| Author |
Message |
marcelo Contributor


Joined: 10 May 2008 Posts: 155
|
Posted: Thu Feb 11, 2010 2:24 pm Post subject: Table border |
|
|
Hi, is there any way to remove table bordes and scrolls?
Any example?
Thanks a lot in advance.
Marcelo |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Thu Feb 11, 2010 4:43 pm Post subject: |
|
|
There is a DSU called "VDS TABLE Control API" by Codescript that will do at least the border for you. Not sure if it offers any options regarding the scrollbar, but it might.
http://www.vdsworld.com/download.php?id=341&sid=819aac9ed209491499672b393040f43d _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
marcelo Contributor


Joined: 10 May 2008 Posts: 155
|
Posted: Fri Feb 12, 2010 8:19 pm Post subject: |
|
|
| Thanks Garret, this method doesn't work for me, but i solved placing disabled BITBTNs over the table borders.... |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Fri Feb 12, 2010 9:24 pm Post subject: |
|
|
I don't understand why it does not work for you though... I have used this method many times for Tables and other Elements in VDS and it has never failed me.
Try the following code, which is the code that the DSU itself uses.
| Code: | DIALOG CREATE,New Dialog,-1,0,240,160
DIALOG ADD,TABLE,TABLE1,7,9,223,144,Column 1[80]|Column 2[80]|Column 3[80]
LOADLIB USER32
%A = 80000
%H = @STRDEL(@WINEXISTS(~TABLE1),1,1)
IF %H
%Z = @LIB(USER32,SetWindowLongA,INT:,%H,-20,%A)
END
%A = $200000
IF %H
%Z = @LIB(USER32,SetWindowLongA,INT:,%H,-20,%A)
END
FREELIB USER32
DIALOG SHOW
WAIT EVENT
EXIT |
_________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
|
| Back to top |
|
 |
marcelo Contributor


Joined: 10 May 2008 Posts: 155
|
Posted: Tue Feb 16, 2010 2:45 am Post subject: |
|
|
| Thanks a lot, i will try all of this. |
|
| 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
|
|