FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD8] RTF Edit field
[WD8] RTF Edit field
Débuté par Christoph Erdmann, 07 oct. 2004 19:39 - 2 réponses
Connectez-vous…
Christoph Erdmann
#1
Posté le 07 octobre 2004 - 19:39
Hallo,
i have a RTF-Edit-Field and I want to write with blue color and a font size 9. I take it in the style from the field, but i get black color an no font size 9. I think the style dont work with rtf fields.
Can I initialize this field otherwise.
Christoph
Signaler
0
0
Raimund Schuldhaus
#2
Posté le 08 octobre 2004 - 11:02
Hi Christoph,
do a look at RTFAdd/RTFInsert together with RTFSelection.
The code
RTFSelection(RTFCtrl, rtfColor, iLightBlue)
RFTAdd(RTFCtrl, "My blue text")
should do wjhat you want.
regards
Raimund
Hallo,
i have a RTF-Edit-Field and I want to write with blue color and a font size 9. I take it in the style from the field, but i get black color an no font size 9. I think the style dont work with rtf fields.
Can I initialize this field otherwise.
Christoph
http://www.invitec.com
Signaler
0
0
Christoph Erdmann
#3
Posté le 08 octobre 2004 - 11:53
Hi Raimund,
if the field is empty and you write in the initialisation from the field :
RTFSelection(RTFCtrl, rtfColor, iLightBlue)
then the field starts with blue color.
Thanks for the tip.
Christoph
Hi Christoph,
do a look at RTFAdd/RTFInsert together with RTFSelection.
The code
RTFSelection(RTFCtrl, rtfColor, iLightBlue)
RFTAdd(RTFCtrl, "My blue text")
should do wjhat you want.
regards
Raimund
Hallo,
i have a RTF-Edit-Field and I want to write with blue color and a font size 9. I take it in the style from the field, but i get black color an no font size 9. I think the style dont work with rtf fields.
Can I initialize this field otherwise.
Christoph
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte