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 | Wed, 28 Nov 2012 11:00:59 +0100 |
| Message-ID | <50B5E0DB.1040604@pt.lu> (permalink) |
| References | <1dfe8f69-b8e8-4ead-8e2b-7838400fe955@googlegroups.com> <a84d37fa-146e-48f1-b623-bf85435ef74f@googlegroups.com> |
| Lines | 60 |
| NNTP-Posting-Host | 188.115.60.34 |
| Path | csiph.com!usenet.pasdenom.info!goblin1!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!feeder2.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.vo.lu!not-for-mail |
| Newsgroups | comp.lang.clipper.visual-objects |
| X-Trace | vo.lu 1354097482 188.115.60.34 (28 Nov 2012 11:11:22 0100) |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 |
| MIME-Version | 1.0 |
| To | Krystian <softb@softb.pl> |
| In-Reply-To | <a84d37fa-146e-48f1-b623-bf85435ef74f@googlegroups.com> |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Xref | csiph.com comp.lang.clipper.visual-objects:4399 |
Show key headers only | View raw
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