One object to change fonts of other objects?

If only I knew where to steal code from . . .

https://forums.wincustomize.com/372018/get;2480884

In another thread the question came up asking if all fonts in a desktop theme could be changed.

I suggested that another object could be created that could run through all teh existing objects and use the Object.SetFont to apply the font the user wanted.

Is that possible?

12,955 views 18 replies
Reply #1 Top

Yeah, Eve....what he said?

Reply #2 Top

Hi Zu,

YES!

For example you may create a simple Font Editor with DesktopX.Form:

 

Then somewhere in you program must be several lines:

For each item in Array("obj1","obj2","obj3".....) '<== the names of textobjects you want to change fonts and font colors...

desktopx.object(item).SetFont FontName, Size, Bold, Italic, 0,0,0

desktopx.object(item).textcolor = textcolor

Next

That's all.

Reply #3 Top

Would it be better to have an object build teh array usign DesktopX.Objects.item(x) in a loop . .then run teh setfont and loop?

That way the end user would have to do nothing except run the Change font object, right?

Reply #4 Top

 

Been working on/tweaking these (and others) for months. I guess now's as good a time as any to test it.

Here's the Group Control beta, which should do all text objects: http://www.box.net/shared/4q4kpd9e4y

Just import it into Buildermode. Click on the 'i' information button (not in the screenshot version) to see the help file instructions. PM or Email me feedback. Don't want to threadjack.

 

+1 Loading…
Reply #5 Top

That way the end user would have to do nothing except run the Change font object, right?

Yes. But where it will store the data? :omg:

In your case this "object" must be a part of DX Client. Otherwise you must run it each time you will want to change something in your DX Theme.

Reply #6 Top

In your case this "object" must be a part of DX Client. Otherwise you must run it each time you will want to change something in your DX Theme.
That is very true . . but much better than having to edit every objects font settign or having to add every objects name to teh array, right?

Reply #7 Top

Quoting sViz, reply 4

Been working on/tweaking these (and others) for months. I guess now's as good a time as any to test it.

Here's the Group Control beta, which should do all text objects: http://www.box.net/shared/4q4kpd9e4y

Just import it into Buildermode. Click on the 'i' information button (not in the screenshot version) to see the help file instructions. PM or Email me feedback. Don't want to threadjack.

Nice.  I showed Xen around at SD and they found it interesting.  Nice to see you still working on it!  :)

Reply #8 Top

That is very true . . but much better than having to edit every objects font settign or having to add every objects name to teh array, right?

Quite right! And it would be great to see this option in DX 4.X (:grin: ) together with the other our wishes...

Reply #9 Top

Nice. I showed Xen around at SD and they found it interesting. Nice to see you still working on it!

Hmmm... sViz is not hired to Stardock however she works hard on a new useful tools. It would be very interesting to know what Stardock's employees are doing at the same time? Just examines the sViz's widgets?... :blush:

Reply #10 Top

Wow! Eve, that is awesome!!  Can I use it, or is it rocket science?  lol

Reply #11 Top

Quoting sViz, reply 4


Been working on/tweaking these (and others) for months. I guess now's as good a time as any to test it.

Here's the Group Control beta, which should do all text objects: http://www.box.net/shared/4q4kpd9e4y

Just import it into Buildermode. Click on the 'i' information button (not in the screenshot version) to see the help file instructions. PM or Email me feedback. Don't want to threadjack.

 

 

Thank you, thank you, thank you, sViz!!! Works for me. I just tried the font change part and it worked great. I have to spend some time getting familiar with DX, and this will work great for me. :thumbsup:

 

Thanks Zubaz for posting this question! :sun:

 

Vad_M - what you suggested might be easy for some but is over my head! Would be nice if it was incorporated into the program though! :star:

 

And thanks Jim for all those great skins you've designed that I'm about to go and download, now that I can change the font! |-)

Reply #12 Top

Awesome tool sViz.  I modified VXP to use the font based on my handwriting:

Reply #13 Top

And thanks Jim for all those great skins you've designed that I'm about to go and download, now that I can change the font!

LOL....I aim to please!!   :grin:

Reply #14 Top

font based on my handwriting:

Enlighten me as to how you did that, you have a font maker?   Share dude.....:grin:

 

 

BTW, Nice DX Theme....:-"

Reply #15 Top

Glad to see it works properly...thus far. :)

Quoting RedneckDude, reply 10
Wow! Eve, that is awesome!!  Can I use it, or is it rocket science?  lol

It's pretty straightforward, I think. As far as text goes, it works like Vad_M's suggestion with a DX form to change different font properties, etc.

+1 Loading…
Reply #17 Top

Quoting DarcyBall, reply 16
That looks great Zubaz. How did you get your own handwriting on there or did you just create a new font? If so how? Thanks.Darcy
  I ahve a tabletPC (circa 2001) and used software to create my own font from my handwritign.

 My Font Tool for Tablet PC 

From http://www.microsoft.com/windowsxp/downloads/powertoys/tabletpc.mspx

Reply #18 Top

Quoting Zubaz, reply 17



Quoting DarcyBall,
reply 16
That looks great Zubaz. How did you get your own handwriting on there or did you just create a new font? If so how? Thanks.Darcy  I ahve a tabletPC (circa 2001) and used software to create my own font from my handwritign.


 My Font Tool for Tablet PC 

From http://www.microsoft.com/windowsxp/downloads/powertoys/tabletpc.mspx

You call that handwriting?  Good thing the spelling was already done, huh....lol. 

You know we love to razz you, Zu.  We love ya tho...;)