Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #4399
| Subject | Re: Printing tabs from rtf |
|---|---|
| From | Camille Kater <katercamXXX@pt.lu> |
| Date | 2012-11-28 11:00 +0100 |
| Message-ID | <50B5E0DB.1040604@pt.lu> (permalink) |
| References | <1dfe8f69-b8e8-4ead-8e2b-7838400fe955@googlegroups.com> <a84d37fa-146e-48f1-b623-bf85435ef74f@googlegroups.com> |
| Newsgroups | comp.lang.clipper.visual-objects |
Krystian,
Did you inherit the RTF control (not the Datawindow class) from my
suggested class ?
You can do that in the Window Editor.
Camille
On 28/11/2012 02:06, Krystian wrote:
> W dniu czwartek, 22 listopada 2012 00:25:38 UTC+1 użytkownik Krystian napisał:
>> Hi,
>>
>>
>>
>> 1.
>>
>> when I print from a RichEdit control a rtf file formated with tabs, the listing is not correct - the subsequent rows do not start from the same column (I prepare a text in a winword in rtf format; I set normal tabs for 0,5 cm). How should I map tabs spacing from file into printer ?
>>
>>
>>
>> 2.
>>
>> When I press a tab key in richedit window editor, the whole text is marked - but I want to insert one tab point - how to achieve it ?
>>
>>
>>
>> Thanks in advance
>>
>> Krystian
>
> Hi Camille,
>
> Thank you very much for answer, but (it is shame to write), i do not understand this mechanism; i paste your code to my app but the tab key still marks the whole text. I made it a method of this class called during editting of the file
> CLASS Edycja_RTF INHERIT DATAWINDOW
>
> PROTECT oDCOkno_RTF AS RICHEDIT
>
> //{{%UC%}} USER CODE STARTS HERE (do NOT remove this line)
> PROTECT plik_rtf AS STRING
> PROTECT katalog_rtf AS STRING
> ...
> I see in a debugger, that the program enters the code but it does not recognize the tab key sequence.
>
> Thank you
> Krystian
>
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Printing tabs from rtf Krystian <softb@softb.pl> - 2012-11-21 15:25 -0800
Re: Printing tabs from rtf Camille Kater <katercamXXX@pt.lu> - 2012-11-22 10:13 +0100
Re: Printing tabs from rtf Krystian <softb@softb.pl> - 2012-11-27 17:06 -0800
Re: Printing tabs from rtf Camille Kater <katercamXXX@pt.lu> - 2012-11-28 11:00 +0100
Re: Printing tabs from rtf Krystian <softb@softb.pl> - 2012-11-30 06:12 -0800
Re: Printing tabs from rtf D.J.W. van Kooten <public@ic2remove.this.com> - 2012-12-03 14:06 +0100
csiph-web