Search found 173 matches: formatting

Return to advanced search

Re: RichType Print

... .. it looks like what you see above .. when you retrieve the value of the memo field as a variable .. it looks exactly the same with all the formatting ( garbage ) .. add an image .. and all you see is trash for the image and formatting garbage for the text .. I am at a loss .. it seems like ...
by Rick Lipkin
Thu May 11, 2017 5:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RichType Print
Replies: 25
Views: 4441

RichType Print

... Any Ideas ... I get the Image to print ( a masthead logo ) but I cannot figure out how to print cRtf out and preserve the formatting and text. Any help would be appreciated. Rick Lipkin
by Rick Lipkin
Tue May 09, 2017 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RichType Print
Replies: 25
Views: 4441

Re: ADD COLUMN TO XBROWSE

... FIELDLEN() and FIELDDEC() and also depending on the Global setting in FWNumformat(). XBrowse determines the thousands separator and country based formatting based on FWNumFormat() settings. (d) XBrowe decides the GETSET codeblock in such a way that it is possbile to substitute a different alias ...
by nageswaragunupudi
Tue Mar 21, 2017 11:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADD COLUMN TO XBROWSE
Replies: 2
Views: 739

Re: 1st FWH + [x]Harbour 2017 international conference

... Progress-bars, Charts, etc in Cells. - Cell formattig, like positioning of various elements inside the cell, usage of multiple fonts. - Additional formatting available in xbrowse. - Ownerdraw of cells, rows, headers and footers - Issues when browsing slow access datasources. - Fastdraw - Auto-calculation ...
by nageswaragunupudi
Fri Feb 10, 2017 1:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: 1st FWH + [x]Harbour 2017 international conference
Replies: 68
Views: 274630

Re: remove formatting within a memo field

What I mean is that the string does not read from a RichEdit control, does it?
by cnavarro
Fri Jan 27, 2017 12:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: remove formatting within a memo field
Replies: 6
Views: 1261

Re: remove formatting within a memo field

correct.

I'm wishing to print the memo data on a report without all of the embedded formatting.
by don lowenstein
Fri Jan 27, 2017 12:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: remove formatting within a memo field
Replies: 6
Views: 1261

Re: remove formatting within a memo field

You are not going to have a TRichEdit control?
It's just going to have a formatted string, right?
by cnavarro
Thu Jan 26, 2017 9:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: remove formatting within a memo field
Replies: 6
Views: 1261

Re: remove formatting within a memo field

Cristobal,

That is essentially what I did.
thanks for providing your input.

Don.
by don lowenstein
Thu Jan 26, 2017 9:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: remove formatting within a memo field
Replies: 6
Views: 1261

Re: remove formatting within a memo field

This function is not perfect, but it is an idea #include "Fivewin.ch"Function Main()   local cString   local cTmp1   := ""   local nPos1   := 0   local nPos2   := 0      cString := "{\rtf1\ans...
by cnavarro
Thu Jan 26, 2017 7:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: remove formatting within a memo field
Replies: 6
Views: 1261

Re: remove formatting within a memo field

Don I have used this to remove CRLF and carriage returns .. try this : cText := HardCr( oRs:Fields("Memo"):Value )  HardCR() Replaces soft carriage returns with hard CRs in a character string. Syntax HardCR( <cString> ) --> cConvertedString Arguments <cString>...
by Rick Lipkin
Thu Jan 26, 2017 5:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: remove formatting within a memo field
Replies: 6
Views: 1261

remove formatting within a memo field

I am reading a SQL database via ADO. one of the data Items I'm using is a memo field, with embedded formatting. here is an example: {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 JH - Sue let me know ...
by don lowenstein
Thu Jan 26, 2017 4:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: remove formatting within a memo field
Replies: 6
Views: 1261

Re: RTF files

Never mind.

My original files were created in Word then saved as RTF files. They lose some formatting so I can't go with RTF.

Is there any way to do the same type of thing with Word files, without having Word installed?
by Jeff Barnes
Thu Nov 24, 2016 4:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF files
Replies: 12
Views: 2477

Default font under Win 8 and 10

... affect existing apps? One other concern is that if the font is dynamically changed depending on the Windows version, is this going to affect the formatting design? Other thoughts on this welcome. James
by James Bott
Sun Aug 14, 2016 3:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Default font under Win 8 and 10
Replies: 11
Views: 3577

Re: How to convert snippet for TCBrowse into XBrowse

... If we are displaying totals in footers, it even automatically refresh the footers. When we migrate to xbrowse, we need to remove all the code for formatting, editing, etc. Please save this code into \fwh\samples folder and try: #include "fivewin.ch"#include "xbrowse.ch"function ...
by nageswaragunupudi
Thu Jun 30, 2016 8:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to convert snippet for TCBrowse into XBrowse
Replies: 1
Views: 489

Richedit( ) function problems

... we get the function fixed so it returns the cText to be saved in a memo field ? 2) Using the PRINT class, can you show me a sample of keeping RTF formatting when printing using @ Row, Column print syntax ( just like I do with a normal memo field ) 3) Can we recall and display the RTF in PREVIEW ...
by TimStone
Fri Jun 24, 2016 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit( ) function problems
Replies: 27
Views: 6959
PreviousNext

Return to advanced search

cron