Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Questions about MS RTF control
Message
De
01/11/2001 12:05:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/11/2001 11:52:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00575849
Message ID:
00576234
Vues:
24
Yeah I'm impressed with why they did in BrochureMachine. If you can't find it let me know and I can post you (in a free time - BrochureMachine.zip is 602K).
Cetin

>Cetin,
>
>Wow! Thank you very much - you answered all my questions! And thanks for the tip regarding the BrochureMachine search term for studying the HTML alternative to an RTF control.
>
>Best regards,
>Malcolm
>
>
>>>I have studied the MS RTF control that ships with VFP 7 and have the following questions that I have been unable to answer.
>>>
>>>Any help or insight appreciated including experience with and/or recommendations for alternative RTF/HTML or edit box (text) ActiveX controls.
>>>
>>>Thanks!
>>>Malcolm
>>>
>>>1. Is there a way to make an RTF control transparent?
>>>
>>>2. Is there a way to set a wallpaper-like background for an RTF control?
>>>
>>>3. Is there a way to force an RTF control to word wrap its contents to fit its control boundries vs. use the page margins set in the original RTF content? Is there a way to turn off or remove page margin settings in an RTF file so that an RTF control will word wrap its contents?
>>>
>>>4. Is there a way to determine what text a mouse cursor is over when a mouse is moved over the contents of an RTF control?
>>
>>1. AFAIK no. It has its own window (Unless you use winAPI but that AFAIK supported by w2K and later)
>>2. Might be. You could try watermarking a word doc and saving as RTF to get RTF codes.
>>3. Set RightMargin to 0. thisform.OleRTF.RightMargin = 0
>>4. Above me currently :) With and editbox below code might provide a nonsmart way :
>>
LPARAMETERS nButton, nShift, nXCoord, nYCoord
>>if abs(val(this.tag)-nYCoord)>Fontmetric(1) ;
>>	or abs( val(substr(this.tag,at(',',this.tag)+1))-nXCoord)> Fontmetric(6)
>>	mouse dblclick at nYCoord, nXCoord window (wontop())pixels
>>	this.tag = trans(nYCoord)+','+trans(nXCoord)
>>endif
>>
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform