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

Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Wed Sep 17, 2003 1:45 pm Post subject: Change font on BitBtn? |
|
|
Does anyone know if there is a way to change the font on a BitBtn element? _________________ Joe Floyd |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Wed Sep 17, 2003 2:52 pm Post subject: |
|
|
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
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
jwfv Valued Contributor

Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Wed Sep 17, 2003 4:08 pm Post subject: |
|
|
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 |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Wed Sep 17, 2003 4:29 pm Post subject: |
|
|
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
Give your application a professional look with the VDSGUI Extension |
|
| 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
|
|