Xojo Conferences
XDCMay2019MiamiUSA

Re: [MBS] WebPreferencesMBS on Mactel (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] Webkit again
Next thread: [MBS] Hide Dock Icon?


Re: [MBS] WebPreferencesMBS on Mactel   -   Beatrix Willius
   [MBS] WebPreferencesMBS on Mactel   -   Beatrix Willius
    [MBS] Re: WebPreferencesMBS on Mactel   -   Beatrix Willius
    Re: [MBS] WebPreferencesMBS on Mactel   -   Christian Schmitz

Re: [MBS] WebPreferencesMBS on Mactel
Date: 05.01.07 11:31 (Fri, 5 Jan 2007 11:31:26 +0100)
From: Beatrix Willius
Hello Christian,

thanks. It was my code: the second row was missing.

On 05.01.2007, at 00:56, Christian Schmitz wrote:

> Beatrix Willius <<email address removed>> wrote:
>
>> The following code is working on my G5, but doesn't change font and
>> font size on the MacBook.
>
> In the example "TestWebKit with UI Events.rb" I add a button with the
> following code:
>
> dim thePrefs as WebPreferencesMBS
>
> thePrefs=w.Preferences
> thePrefs.DefaultFontSize = 24
> thePrefs.StandardFontFamily = "System"
> w.Preferences = thePrefs
>
> and it works.



Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

[MBS] WebPreferencesMBS on Mactel
Date: 30.12.06 09:20 (Sat, 30 Dec 2006 09:20:06 +0100)
From: Beatrix Willius
The following code is working on my G5, but doesn't change font and
font size on the MacBook.

theWebView(theIndex) = new WebViewMBS
dim e as integer = theWebView(theIndex).Create
theWebView(theIndex).FixHandle
WKBody(theIndex).WebView = theWebView(theIndex)
WKBody(theIndex).Visible = true

dim thePrefs as new WebPreferencesMBS
thePrefs.DefaultFontSize = 11
thePrefs.StandardFontFamily = "System"
theWebView(theIndex).Preferences = thePrefs

Using RB2006R5 and MBS 6.5 on 10.4.7/6

A happy new year to all of you.

Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

[MBS] Re: WebPreferencesMBS on Mactel
Date: 01.01.07 16:12 (Mon, 1 Jan 2007 16:12:47 +0100)
From: Beatrix Willius
Addition: it also doesn't work for the built app on the G5/Universal
Build.

Begin forwarded message:

> From: Beatrix Willius <<email address removed>>
> Date: 30. Dezember 2006 09:20:06 MEZ
> To: MBS REALbasic Plugin List <<email address removed>>
> Subject: WebPreferencesMBS on Mactel
>
> The following code is working on my G5, but doesn't change font and
> font size on the MacBook.
>
> theWebView(theIndex) = new WebViewMBS
> dim e as integer = theWebView(theIndex).Create
> theWebView(theIndex).FixHandle
> WKBody(theIndex).WebView = theWebView(theIndex)
> WKBody(theIndex).Visible = true
>
> dim thePrefs as new WebPreferencesMBS
> thePrefs.DefaultFontSize = 11
> thePrefs.StandardFontFamily = "System"
> theWebView(theIndex).Preferences = thePrefs
>
> Using RB2006R5 and MBS 6.5 on 10.4.7/6
>
> A happy new year to all of you.
>

Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] WebPreferencesMBS on Mactel
Date: 05.01.07 00:56 (Fri, 5 Jan 2007 00:56:31 +0100)
From: Christian Schmitz
Beatrix Willius <<email address removed>> wrote:

> The following code is working on my G5, but doesn't change font and
> font size on the MacBook.

In the example "TestWebKit with UI Events.rb" I add a button with the
following code:

dim thePrefs as WebPreferencesMBS

thePrefs=w.Preferences
thePrefs.DefaultFontSize = 24
thePrefs.StandardFontFamily = "System"
w.Preferences = thePrefs

and it works.

RB 2007r1, 7.0pr2 plugins.

Gruß
Christian

-