This forum is meant for requesting technical support or reporting bugs.
Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
by juhuwoorps » Mon Dec 29, 2008 8:37 pm
Hi at all!
Is there a way to change the textcolor of a textobject with VB-script?
-
juhuwoorps
- Code Master
-
- Posts: 622
- Joined: Tue Jul 08, 2008 3:13 pm
by mercedes » Tue Dec 30, 2008 12:44 am
Hi there...
I'm assuming you mean a textboxobject..If so..here it is..
- Code: Select all
Textboxobject(1).backcolor = RGB (255,255,255)
TextBoxObject(1).Forecolor =RGB (212,212,212)
TextBoxObject(1).Font = TimesNewRoman
I hope that helps..
Note; you can't go any higher than 255..
Peace
-

mercedes
- VIP
-
- Posts: 2460
- Joined: Sun Mar 09, 2008 10:43 pm
- Location: Canada..~
-
by juhuwoorps » Tue Dec 30, 2008 12:48 am
do this also work with the font color? I try it
-
juhuwoorps
- Code Master
-
- Posts: 622
- Joined: Tue Jul 08, 2008 3:13 pm
by mercedes » Tue Dec 30, 2008 12:49 am
Yes the forecolor is the font color...the back color is the background of the textbox..
Peace
-

mercedes
- VIP
-
- Posts: 2460
- Joined: Sun Mar 09, 2008 10:43 pm
- Location: Canada..~
-
by juhuwoorps » Tue Dec 30, 2008 12:52 am
Thank you!
Thats awsome to kow!
-
juhuwoorps
- Code Master
-
- Posts: 622
- Joined: Tue Jul 08, 2008 3:13 pm
Return to Adventure Maker Technical Support and Bug Reports
Who is online
Users browsing this forum: No registered users and 0 guests