|
|
pinEdit
Started by sfi_dev at 05-13-2011 12:06 . Topic has 5 replies.
 
 
|
|
Sort Posts:
|
|
|
|
05-13-2011, 12:06
|
sfi_dev
Joined on 05-12-2011
Posts 25
|
|
|
Hi There,
I can see how to the set the font using: editor.EditSetDefaultFont
Is there a way to get the font. For example, our application you can setup different email templates to later use in processing. We would like to save the current font selected on the toolbar so when the template is retrieved we can the set the correct font using EditSetDefaiultFont.
Thanks in advance.
Kind Regards,
Julie
|
|
|
|
|
Report
|
|
|
|
05-13-2011, 8:23
|
Pintexx Support
Joined on 08-30-2005
Posts 1.914
|
|
|
Hello,
if you use the ToolbarUpdate event then you get the current status of the toolbar.
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
06-27-2011, 4:37
|
sfi_dev
Joined on 05-12-2011
Posts 25
|
|
|
Hi there,
I am back onto this.
When I change the font or size, I have found that the the event EditorToolbarUpdate() is not trigered
I just put a msgbox "update" in Private Sub pinEdit1_EditorToolbarUpdate(ByVal data As String)
and it never enters the sub.
Probably a newbie issue, but I am using the internal toolbars.
Am I supposed to do anything else to ensure this event is triggered.
Thank-you
sfi_dev
|
|
|
|
|
Report
|
|
|
|
06-27-2011, 8:15
|
Pintexx Support
Joined on 08-30-2005
Posts 1.914
|
|
|
Hello,
the "ToolbarUpdate" event is triggered when you change cursor position by key or mouse.
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
06-27-2011, 8:19
|
sfi_dev
Joined on 05-12-2011
Posts 25
|
|
|
Thank-you for the response. Refrerring back to my original request, is there away to retrieve the font/font size information either when the user changes it or at anytime ?
We store this information on page save, so the user has not necessarily started typing/editing anything.
We are using the inbuilt toolbar.
Thank-you.
|
|
|
|
|
Report
|
|
|
|
06-28-2011, 7:55
|
Pintexx Support
Joined on 08-30-2005
Posts 1.914
|
|
|
Hello,
determine the font is not easy as the font can be inherited from the parent object.
You can try to get the active object with EditGetActiveObject and then read the styles font attribute.
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
|
Pintexx Forum » Developer Produ... » pinEdit » Re: Get Font
|
|
|
|