hi wana view my .TXT file in RTF Control which is placed on a form in VFP6, can anybody help me, Thanx in advance

create in your form an activeX "Microsoft Rich Textbox Control"


the control have the following methodes:
TextRTF : contains the TEXT in RTF-Format
TEXT : contains the TEXT in ASCII-FORMAT

create cursor rtf ( source m , tsource m NULL)
insert into rtf ( source, tsource ) values ( 'ASCII-TEXT', 'RICH-TEXT-FORMATED')

&& source = ASCII-TEXT
&& tsource = RICHT-TEXT-FORMAT


[activex.object].Text=rtf.source

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.