messageBox font

Want to talk about something that isn't covered by another category?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

messageBox font

Post by richmond62 » Sun Jun 02, 2019 2:21 pm

Screenshot 2019-06-02 at 16.20.11.png
Screenshot 2019-06-02 at 16.20.11.png (24.18 KiB) Viewed 8503 times
-
Any bright ideas?

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: messageBox font

Post by Klaus » Sun Jun 02, 2019 6:23 pm

Enter something like this into the message box, move the cursor over the field-in-question and hit enter:

Code: Select all

set the textfont of the mousecontrol to "Your fancy font here...";set the textsize of the mousecontrol to 26
Then enter:

Code: Select all

save the mousestack
leave the cursor where it is and hit enter again (Optional)

Et voila font and size changed for THIS version of LC. :D

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: messageBox font

Post by richmond62 » Sun Jun 02, 2019 6:26 pm

That's great, especially as my efforts at editing the 'results' field in the 'Message Box'
stack wouldn't stick.

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: messageBox font

Post by Klaus » Sun Jun 02, 2019 7:28 pm

Yep, the "mouseXXXX" things come in quite handy from time to time! :D

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: messageBox font

Post by Mikey » Mon Jun 03, 2019 2:12 pm

dang. i learned something new today. i hate that.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: messageBox font

Post by dunbarx » Mon Jun 03, 2019 2:46 pm

This is another great example of the fact that everything in LC is "just a stack".

All hackable, though oftentimes at your peril.

Craig

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: messageBox font

Post by Klaus » Mon Jun 03, 2019 3:48 pm

Mikey wrote:
Mon Jun 03, 2019 2:12 pm
dang. i learned something new today. i hate that.
So sorry, Mister! :-)

Newbie4
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 327
Joined: Sun Apr 15, 2012 1:17 am
Location: USA
Contact:

Re: messageBox font

Post by Newbie4 » Wed Jun 05, 2019 3:05 am

You might try to use html to change the properties of the text. https://sites.google.com/a/pgcps.org/li ... euser/html

It worked on the answer command in previous versions
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: messageBox font

Post by bogs » Wed Jun 05, 2019 11:49 am

Heya Cyril,

Is there anyway to get a complete indexing of that pgcps site (preferably by topic)? I always find the information useful, but sometimes difficult to dig out.
Image

Newbie4
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 327
Joined: Sun Apr 15, 2012 1:17 am
Location: USA
Contact:

Re: messageBox font

Post by Newbie4 » Wed Jun 05, 2019 1:25 pm

Hi Bogs,
Sorry, I no longer have edit control of that website. I can not make any changes or updates. I do not have a site map, higher view or index of it.

I agree, there are many cool samples of code and solutions to problems that my students worked out. I wish I could expound on them and make them more visible.

I was going to move it to my new site but could not figure a way to do it easily. That site was written using Google webpages and has a lot of garbage and extraneous code. If you know a way, I would appreciate it.

Otherwise, there are so many other websites on LiveCode, I don’t know if it is worth the effort re-doing it.

Are you volunteering? 🤨

Thanks, it is good to here from you. Maybe next time I am in Europe, we can meet over a brew. 👍😊
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: messageBox font

Post by bogs » Thu Jun 06, 2019 12:57 pm

Newbie4 wrote:
Wed Jun 05, 2019 1:25 pm
Are you volunteering?
I'll see if I can get a decent scrape of it.
Image

Newbie4
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 327
Joined: Sun Apr 15, 2012 1:17 am
Location: USA
Contact:

Re: messageBox font

Post by Newbie4 » Mon Jun 10, 2019 3:26 pm

If you want to download the entire site, use sitesucker. http://ricks-apps.com/osx/sitesucker/index.html. It is a great utility.
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: messageBox font

Post by bogs » Mon Jun 10, 2019 3:57 pm

Will look into it, thanks! :D
Image

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: messageBox font

Post by FourthWorld » Mon Jun 10, 2019 8:37 pm

I would be happy to provide hosting for the repository in a subdomain at LiveCodeJournal.com if needed.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: messageBox font

Post by bogs » Mon Jun 10, 2019 9:09 pm

Very generous offer Richard, specially since we don't know the size of the site yet :shock: Much appreciated. :)
Image

Post Reply

Return to “Off-Topic”