It is a joke, a true joke...

My (second answer on that - and yes, I answered before you ask - ) answer is an answer:

How did you do with your FileOpen or FileSave MenuItem ?

Do the same with your Font MenuItem.

But maybe you didn't follow the documentation ?

So: add a MenuHandler.

READ the Tutorial and the User's Guide


Next question:
How do I apply the Font to a character, word, paragraph in my EditField, an EditField, the selected EditField ?


[EMAIL PROTECTED] wrote:

Subject: Finding out what font was selected
From: Brian Heibert <[EMAIL PROTECTED]>
Date: Sun, 23 Apr 2006 19:18:16 -0500

Hi,

I got this code in my enablemenuitems sub
  dim m as MenuItem
  dim i as Integer

  i = 0
  m = Fontfontname(i)
  while m <> nil
    m.Enable
    i = i + 1
    m = Fontfontname(i)
  wend


so the Font menu isn't grayed out anymore but how can I find out what font was selected
and change what font is being used in my edit field?




_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to