wx.Html.HtmlOptionTagHandler Class Reference

Inheritance diagram for wx.Html.HtmlOptionTagHandler:

wx.Html.HtmlTagHandler wx.Object

List of all members.

Public Member Functions

override string GetSupportedTags ()
override bool HandleTag (HtmlTag tag)
 HtmlOptionTagHandler ()


Detailed Description

A handler for tag wxoption that defines a wx.CheckBox on an HTML page raising a command event.

Use attributes label to provide a string to be displayed as a label and id to provide an integer command ID for the event Sample:

     <wxoption label="Label" id="100">
     
Styles may be defined as text attribute "styles". The corresponding text will be parsed by the parser of enumeration wx.WindowStyles.
     <wxoption styles=\"CHK_3STATE|CHK_ALLOW_3RD_STATE_FOR_USER\" width=16 height=16 id="100" >
Additional parameters of the WXBUTTON tag are:
ParameterEffect
widthThe width of the button in pixel.
heightThe height of the button in pixel.
stateThe initial state of the check in 2 state mode. Either "true" or "false" or "0" or "1".
tristateThe initial state of the check. Either CHECKED, UNCHECKED, or UNDETERMINED.
idThe window ID of the created button control.
fgcolorThe foreground (text) color in HTML notation
bgcolorThe background color in HTML notation.

Constructor & Destructor Documentation

wx.Html.HtmlOptionTagHandler.HtmlOptionTagHandler (  ) 


Member Function Documentation

override string wx.Html.HtmlOptionTagHandler.GetSupportedTags (  )  [virtual]

Handler for HTML tag "WXOPTION".

Implements wx.Html.HtmlTagHandler.

override bool wx.Html.HtmlOptionTagHandler.HandleTag ( HtmlTag  tag  )  [virtual]

This generates a window with a check box to be placed into the HTML page. Return value is false to enable inner parsing.

Implements wx.Html.HtmlTagHandler.


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads