Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DHTML DOM question
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00842018
Message ID:
00843253
Vues:
24
Dave,
I don't think that currensttyle has anything but default values unless you are implementing CSS and and/or use styles. The DHTML ActiveX control has no built-in support for CSS that I can find, so I don't use styles. I instead use basic elements like FONT, STRONG, EM, etc because the control provides relatively easy WYSIWYG ways to use and apply them.

>Mark,
>
>Perhaps you missed this from the message I posted last night:
>
>Browsing through some stuff in the debugger, take a look at the CurrentStyle property of the Attributes of an Item
>
>CurrentStyle appears to have all of the inherited style information.
>
>>I just wondered if there was a single-shot way to programatically determine at a particular point in a document (say, the insertion point), what is the face, color, boldness, size, backgroundColor, etc of the text? The answer apparently is no. You have to walk up the DOM tree and see which elements are currently influencing how that particular point in the document will be rendered.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform