[Migrated content. Thread originally posted on 22 February 2006]
Does anyone know how to get the font verb to become active
in the richtextbox popup menu
or play with the fonts inside the box
I can use a pop menu attached to the window via a popup menu
that I can then change the current font the box uses by makeing theselection via w$font but it can only be called form a blank area of the screen will not activate
from the richtextbox and even if it did then the problem becomes
how to control the auto verb feature cut copy paste...
once I turn it off.
I would really like to get this to happen via the richtextbox
popup vs creating a font control on the window via a push button
:confused:
[Migrated content. Thread originally posted on 22 February 2006]
Does anyone know how to get the font verb to become active
in the richtextbox popup menu
or play with the fonts inside the box
I can use a pop menu attached to the window via a popup menu
that I can then change the current font the box uses by makeing theselection via w$font but it can only be called form a blank area of the screen will not activate
from the richtextbox and even if it did then the problem becomes
how to control the auto verb feature cut copy paste...
once I turn it off.
I would really like to get this to happen via the richtextbox
popup vs creating a font control on the window via a push button
:confused:
I am sorry, but this was confusing. Is all you want to do, to change the current font, or is it imperative that you do this via a pop up menu and then programmatically?
If all you want to do, is to change the current font, all you have to do is to:
Modify Richtext SelFontName = "Courier New".
Is this it?
[Migrated content. Thread originally posted on 22 February 2006]
Does anyone know how to get the font verb to become active
in the richtextbox popup menu
or play with the fonts inside the box
I can use a pop menu attached to the window via a popup menu
that I can then change the current font the box uses by makeing theselection via w$font but it can only be called form a blank area of the screen will not activate
from the richtextbox and even if it did then the problem becomes
how to control the auto verb feature cut copy paste...
once I turn it off.
I would really like to get this to happen via the richtextbox
popup vs creating a font control on the window via a push button
:confused:
Hi Gisle
No that part I can handle as long as my focus is not
the Richtextbox.
I can set the font to anything I want change size and all
other functions of the font
the problem is that when the richtextbox has the focus
I cannot change fonts other then to put some other
control on the screen to call it like a push button
I want to be able to select (highlight) some text
right click the mouse get the popup and change font.
but the richtextbox popup menu only has the cut paste delete
copy undo functions. how do I get a font function to appear
on this popup as it does using word pad.
I have tried creating my own popup but when the richtextbox
has the focus it never pops.
created a push button that calls the font dialog and it works
but seem a little hocky to select some text
then move the mouse to the button to change it when it
would be nicer to highlight it, right click select font form there
in order to make the change.
[Migrated content. Thread originally posted on 22 February 2006]
Does anyone know how to get the font verb to become active
in the richtextbox popup menu
or play with the fonts inside the box
I can use a pop menu attached to the window via a popup menu
that I can then change the current font the box uses by makeing theselection via w$font but it can only be called form a blank area of the screen will not activate
from the richtextbox and even if it did then the problem becomes
how to control the auto verb feature cut copy paste...
once I turn it off.
I would really like to get this to happen via the richtextbox
popup vs creating a font control on the window via a push button
:confused:
Hi Gisle
No that part I can handle as long as my focus is not
the Richtextbox.
I can set the font to anything I want change size and all
other functions of the font
the problem is that when the richtextbox has the focus
I cannot change fonts other then to put some other
control on the screen to call it like a push button
I want to be able to select (highlight) some text
right click the mouse get the popup and change font.
but the richtextbox popup menu only has the cut paste delete
copy undo functions. how do I get a font function to appear
on this popup as it does using word pad.
I have tried creating my own popup but when the richtextbox
has the focus it never pops.
created a push button that calls the font dialog and it works
but seem a little hocky to select some text
then move the mouse to the button to change it when it
would be nicer to highlight it, right click select font form there
in order to make the change.
[Migrated content. Thread originally posted on 22 February 2006]
Does anyone know how to get the font verb to become active
in the richtextbox popup menu
or play with the fonts inside the box
I can use a pop menu attached to the window via a popup menu
that I can then change the current font the box uses by makeing theselection via w$font but it can only be called form a blank area of the screen will not activate
from the richtextbox and even if it did then the problem becomes
how to control the auto verb feature cut copy paste...
once I turn it off.
I would really like to get this to happen via the richtextbox
popup vs creating a font control on the window via a push button
:confused:
Hi Gisle
No that part I can handle as long as my focus is not
the Richtextbox.
I can set the font to anything I want change size and all
other functions of the font
the problem is that when the richtextbox has the focus
I cannot change fonts other then to put some other
control on the screen to call it like a push button
I want to be able to select (highlight) some text
right click the mouse get the popup and change font.
but the richtextbox popup menu only has the cut paste delete
copy undo functions. how do I get a font function to appear
on this popup as it does using word pad.
I have tried creating my own popup but when the richtextbox
has the focus it never pops.
created a push button that calls the font dialog and it works
but seem a little hocky to select some text
then move the mouse to the button to change it when it
would be nicer to highlight it, right click select font form there
in order to make the change.
[Migrated content. Thread originally posted on 22 February 2006]
Does anyone know how to get the font verb to become active
in the richtextbox popup menu
or play with the fonts inside the box
I can use a pop menu attached to the window via a popup menu
that I can then change the current font the box uses by makeing theselection via w$font but it can only be called form a blank area of the screen will not activate
from the richtextbox and even if it did then the problem becomes
how to control the auto verb feature cut copy paste...
once I turn it off.
I would really like to get this to happen via the richtextbox
popup vs creating a font control on the window via a push button
:confused:
I see, sorry I didn't understand you in the first place.
I was looking in the definition file for the component, there are events for both mouseclicks and popups, but if there is a possiblity hidden in there, I really have no idea.
Sorry.