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 


Change font on BitBtn?

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


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Wed Sep 17, 2003 1:45 pm    Post subject: Change font on BitBtn? Reply with quote

Does anyone know if there is a way to change the font on a BitBtn element?
_________________
Joe Floyd
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Wed Sep 17, 2003 2:52 pm    Post subject: Reply with quote

I don't know if this is what U want. If U want colors then I think U need to enclose the BITBTN in a GROUP element and apply the style to it.
Code:
  DIALOG CREATE,New Dialog,-1,0,240,160
  DIALOG ADD,STYLE,STYLE1,Tahoma,18,,
  DIALOG ADD,BITBTN,BITBTN1,63,64,74,33,,@CHR(56),,STYLE1
  DIALOG SHOW

 
:EVLOOP
WAIT EVENT
GOTO @EVENT()

:CLOSE
EXIT

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Wed Sep 17, 2003 4:08 pm    Post subject: Reply with quote

Were styles for BitBtn elements just implemented in VDS5? It was my understanding that in VDS4 styles were not recognized.

I tried your example in vds5 and it works - thanks much.

_________________
Joe Floyd
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Wed Sep 17, 2003 4:29 pm    Post subject: Reply with quote

Yes implemented in VDS 5 I think.
If U want in VDS 4.x you can enclose the BITBTN by a group dialog element just a little larger in size without caption and apply styles/font to it.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
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