Hi guys,
In wordpad, a text formatted as hyperlink appears nicely like this
but in FWH the full url is shown too in addition to the text like this
How to get it to appear as in wordpad?
TIA
Function MnuTypesUnder( lBtt )
local oMnu
DEFAULT lBtt := .F.
MENU oMnu POPUP 2015
MENUITEM "make Link" ACTION oRTF:SetLink( .t. )
MENUITEM "UnderLineHeavywave" ACTION oRTF:SetTypeUnderline( 12 )
MENUITEM "UnderLineDoublewave" ACTION oRTF:SetTypeUnderline( 11 )
MENUITEM "UnderLineHairline" ACTION oRTF:SetTypeUnderline( 10 )
MENUITEM "UnderLineThick" ACTION oRTF:SetTypeUnderline( 9 )
MENUITEM "UnderLineWave" ACTION oRTF:SetTypeUnderline( 8 )
MENUITEM "UnderLineDashdotdot" ACTION oRTF:SetTypeUnderline( 7 )
MENUITEM "UnderLineDashdot" ACTION oRTF:SetTypeUnderline( 6 )
MENUITEM "UnderLineDash" ACTION oRTF:SetTypeUnderline( 5 )
MENUITEM "UnderLineDotted" ACTION oRTF:SetTypeUnderline( 4 )
MENUITEM "UnderLineDouble" ACTION oRTF:SetTypeUnderline( 3 )
SEPARATOR
MENUITEM "UnderLineWord" ACTION oRTF:SetTypeUnderline( 2 )
ENDMENU
//if lBtt
//ACTIVATE MENU oMnu
//endif
Return oMnu
hua wrote:Hi guys,
In wordpad, a text formatted as hyperlink appears nicely like this
but in FWH the full url is shown too in addition to the text like this
How to get it to appear as in wordpad?
TIA
Silvio.Falconi wrote:I saw there is the possibilty to use html commands as in trichedit with MsftEdit.dll but Cristobal not make the function yet
MENUITEM "Save As HTML" ACTION oRTF:SaveAsHtml() // oRTF:SaveAsHtml( "c:\fwh\myfile.html" )
MENUITEM "Import HTML" ACTION oRTF:ImportHtml()
cnavarro wrote:Do you have solved this topic?
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 87 guests