Thanks Cristobal. I have tested this function and it is able to meet my need. I just added a line at the end that strip out chr(0) because for some reason some of the RTF text that I used for testing has that embedded in it, causing empty() to always returns .f. eventhough there is nothing that can ...
This is a function that does a good conversion (still not perfect though) #include "Fivewin.ch"Function Main() ? SaveRtfAsTxt( ".\Tutorial2.rtf" )Return nil//----------------------------------------------------------------------------//Function SaveRtfAsTxt(...
... requests is to be able to remove all the formatting tags used by the control and obtain the text contained in the control without any formatting ( plain text ). I will study if it is possible, although the method does exist METHOD SaveAsHtml( cFile ) CLASS TRichEdit5 that is possible, make it easy ...
hi, i have search but not found Constant EM_SETTEXTMODE under FiveWin :o you can try this HB_FUNC() // RichEditBox_SetRTFTextMode ( hWndControl, lRTF )HB_FUNC ( RICHEDITBOX_SETRTFTEXTMODE ){ HWND hWndControl = (HWND) HMG_parnl (1); BOOL lRTF = ( HB_...
... also .. incorporated into the program is a integrated xbrowse incremental search using filters ( very fast ) .. also as you can see you can use plain old ansi Sql .. see how I create a new .mdb from scratch using code .. Code .... // Incremental Search#include "FiveWin.ch"#Include ...
Gemtleman I have been using ( plain ) ADO ( class and methods ) for many years .. 32 and 64 bits ... Have a look in the samples folder and compile AdoRick.prg .. Uses all the Fivewin code .. xbrowse, panels, folders ... etc. You can use ...
Gemtleman I have been using ( plain ) ADO ( class and methods ) for many years .. 32 and 64 bits ... Have a look in the samples folder and compile AdoRick.prg .. Uses all the Fivewin code .. xbrowse, panels, folders ... etc. You can use ...
Tim This code works with plain text, but not with rtf. Maybe Mr. Rao can tell us some solution. #include "fivewin.ch"function Main() local oPrn, cRtf, oBold, nPage := 1 cRtf := MEMOREAD( "fivedit.prg" ...
... that Marc's routine allows the user to pick the fields for the replace. This eliminates the possibility of using an index. So he has to use a plain filter which requires reading the entire database. And this requires the database to be in exclusive use mode, so it needs to be done when no ...
... that Marc's routine allows the user to pick the fields for the replace. This eliminates the possibility of using an index. So he has to use a plain filter which requires reading the entire database. And this requires the database to be in exclusive use mode, so it needs to be done when no ...
... that Marc's routine allows the user to pick the fields for the replace. This eliminates the possibility of using an index. So he has to use a plain filter which requires reading the entire database. And this requires the database to be in exclusive use mode, so it needs to be done when no ...