| View previous topic :: View next topic |
| Author |
Message |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Fri Jan 04, 2008 8:18 pm Post subject: Borderless Edit Box? |
|
|
Hello,
Would anyone happen to have some API code for rendering a standard Edit Dialog Element borderless (i.e. flat, without borders)?
Thanks!
Keith "Boo" Long |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Fri Jan 04, 2008 9:30 pm Post subject: |
|
|
While I don't know any API code to do this, I know that CodeScript's VDSGUI DLL
has just what you are looking for--it has an element called "FEDIT" which is a
borderless edit box. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Fri Jan 04, 2008 9:37 pm Post subject: |
|
|
Hi FreezingFire,
Yeppers, I have that .dll and am aware of it. However, was hoping for a non-dll solution. But thanks anyway.
Cheers,
- Boo |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Sun Jan 06, 2008 11:29 am Post subject: |
|
|
One way to do this is to put four BITBTNs on top of the borders of the edit element.
| Code: | DIALOG CREATE,New Dialog,-1,0,308,127
DIALOG ADD,EDIT,EDIT1,50,50,200,20,EDIT1
DIALOG ADD,BITBTN,BITBTN1,50,50,200,1
DIALOG ADD,BITBTN,BITBTN2,50,50,1,20
DIALOG ADD,BITBTN,BITBTN3,50,249,1,20
DIALOG ADD,BITBTN,BITBTN4,69,50,200,1
DIALOG SHOW
dialog disable,BITBTN1
dialog disable,BITBTN2
dialog disable,BITBTN3
dialog disable,BITBTN4
wait event |
_________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| 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
|
|