Welcome! Log In Create A New Profile

Advanced

[WB24] Change the Font for Toastdisplay

Posted by Michael Drechsel 
[WB24] Change the Font for Toastdisplay
May 15, 2020 09:43AM
Hi,

is there any way to change the default font for ToastDisplay() Messages in Webdev ?

regards Michael

regards Michael
Re: [WB24] Change the Font for Toastdisplay
May 15, 2020 11:04AM
Hi Michael,

Yes, you can use the gFont like this:

ToastDisplay(gFontBold() + gFont("Arial") + gFontSize(11) + gPen(LightYellow) + " You Message. ", toastShort, vaMiddle, haCenter, RGB(144,39,39))

With above combination of gxxx functions you can define the desired font, size, color. etc.
Hope to help

Regards

Vassilis Boutsikas
Re: [WB24] Change the Font for Toastdisplay
May 15, 2020 09:20PM
Hi Vassilis,

this works also in Webdev ?

regards Michael
Re: [WB24] Change the Font for Toastdisplay
May 16, 2020 08:46AM
Hi Michael,

Unfortunately the use of gxxxx family functions is no available for WB.
IMHO the WB is at least 5 years behind today technology.

Regards

Vassilis Boutsikas
Re: [WB24] Change the Font for Toastdisplay
May 16, 2020 07:03PM
Yes, thats true.

regards Michael
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: