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 


Borderless Edit Box?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Fri Jan 04, 2008 8:18 pm    Post subject: Borderless Edit Box? Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Fri Jan 04, 2008 9:30 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Fri Jan 04, 2008 9:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sun Jan 06, 2008 11:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
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