Search found 167 matches: plain

Return to advanced search

Re: How to obtain plain text from a RTF control?

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 ...
by hua
Wed Dec 28, 2022 8:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to obtain plain text from a RTF control?
Replies: 8
Views: 419

Re: How to obtain plain text from a RTF control?

Yes, that is another possibility that I was studying
by cnavarro
Wed Oct 19, 2022 7:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to obtain plain text from a RTF control?
Replies: 8
Views: 419

Re: How to obtain plain text from a RTF control?

hi,

what if you "select" hole RTF and copy into Clipboard and paste back to "Memoedit" (TMultiGet ? )
by Jimmy
Wed Oct 19, 2022 7:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to obtain plain text from a RTF control?
Replies: 8
Views: 419

Re: How to obtain plain text from a RTF control?

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(...
by cnavarro
Wed Oct 19, 2022 7:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to obtain plain text from a RTF control?
Replies: 8
Views: 419

Re: How to obtain plain text from a RTF control?

... 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 ...
by cnavarro
Wed Oct 19, 2022 6:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to obtain plain text from a RTF control?
Replies: 8
Views: 419

Re: How to obtain plain text from a RTF control?

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_...
by Jimmy
Wed Oct 19, 2022 6:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to obtain plain text from a RTF control?
Replies: 8
Views: 419

How to obtain plain text from a RTF control?

Which DATA or METHOD in a rtf class should be used to get the content in plain text (without changing the actual content)?
TIA
by hua
Wed Oct 19, 2022 3:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to obtain plain text from a RTF control?
Replies: 8
Views: 419

Re: ADS - The future is <sadly> now so where do you go ?

... 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 ...
by Rick Lipkin
Fri Apr 22, 2022 12:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADS - The future is <sadly> now so where do you go ?
Replies: 26
Views: 2794

Re: ADO RDD xHarbour

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 ...
by Marc Venken
Thu Apr 21, 2022 4:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447047

Re: ADO RDD xHarbour

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 ...
by Rick Lipkin
Wed Apr 20, 2022 12:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447047

Re: Pring RTF 22.03

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" ...
by cmsoft
Mon Apr 11, 2022 11:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing RTF 22.03
Replies: 6
Views: 577

Re: System info, Tips & Tricks, scharing project info

... 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 ...
by Marc Venken
Sun Jan 16, 2022 11:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: System info, Tips & Tricks, scharing project info
Replies: 20
Views: 1453

Re: System info, Tips & Tricks, scharing project info

... 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 ...
by Marc Venken
Sun Jan 16, 2022 11:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: System info, Tips & Tricks, scharing project info
Replies: 20
Views: 1453

Re: System info, Tips & Tricks, scharing project info

... 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 ...
by James Bott
Sun Jan 16, 2022 1:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: System info, Tips & Tricks, scharing project info
Replies: 20
Views: 1453
PreviousNext

Return to advanced search