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

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Tue Apr 13, 2004 8:34 am Post subject: How can I change fonts on the fly with @fontdlg? |
|
|
How can I change fonts on the fly with @fontdlg in VDS4?
Edited by FreezingFire. Reason: Added more specific question to post. |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Apr 13, 2004 12:05 pm Post subject: |
|
|
You can't change fonts on the fly with VDS 4 by itself, however, the VDSGUI.DLL
extension allows this, the function is called "Dyna Font" I believe.
Get it at:
http://www.vdsworld.com/index.php?page=download&fileid=385 _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Wed Apr 14, 2004 8:52 am Post subject: |
|
|
Yes as FF said you can change the fonts on the fly using DYNAFONT command available in VDSGUI extension. You can use the VDS @fontdlg to allow the user select the font. (The demo examples show you how to do that).
You can do that on VDS dialog elements with a Handle (Edit/List etc - but not TEXT). _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Apr 14, 2004 9:50 am Post subject: |
|
|
Is it kinda like HTML ?
| Code: | | DIALOG ADD,TEXT,text,15,139,70,25,Color<font color="brown"; font face="Arial" size=2>text is cool |
That would be nice.. |
|
| Back to top |
|
 |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Wed Apr 14, 2004 10:08 am Post subject: |
|
|
| Cool, Thanks |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Thu Apr 15, 2004 1:54 pm Post subject: |
|
|
| vtol wrote: | Is it kinda like HTML ?
| Code: | | DIALOG ADD,TEXT,text,15,139,70,25,Color<font color="brown"; font face="Arial" size=2>text is cool |
That would be nice.. |
You can have a single color/font face / font size to all the Text within say an EDIT control using VDSGUI.
If you want different attributes to each line/word then youu need to use a RichEdit control - I did do a transparent RichEdit DSU but it has problems with XP. _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Fri Apr 16, 2004 5:47 am Post subject: |
|
|
So RichEdit wont work on XP, shucks..
Hey, is there a way to paint the backgrounds of the SPINNERs Tic and Radio dialogs?
That would be nice to have them same color as my EDIT LIST etc... |
|
| Back to top |
|
 |
|