Table of Contents

DESCRIPTIONDRAWHTML property (PropertyGrid)

Description

Controls how the Description Pane renders text. When set to TRUE$ a limited set of HTML markup can be used for formatting, otherwise the text is rendered in a plain format and any HTML tags are ignored.

Property Value

The ENABLED property is a Boolean value of TRUE$ or FALSE$.

Property Traits

DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGet/SetNoNoNo

Remarks

Using this property will slow down text rendering in the control, though the actual impact will depend on the complexity of the markup used, and may have no noticeable effect.

The markup used should be limited to the subset of tags as described in Appendix M, and it should be well formed - the control does not try to sanitize defective HTML.

Example

 
$Insert PS_Property_Grid_Equates

   $Insert Logical

   

   CtrlEntID = @Window : ".PRG_MAIN"

   

   // Turn on HTML rendering in the descriptions panel

   Call Set_Property_Only( CtrlEntID, "DESCRIPTIONDRAWHTML", TRUE$ )
 
 
 

See Also

Appendix M – The DRAWHTML property