Browse Source

* Forgot to commit

michael 4 years ago
parent
commit
620cdcd7d0
1 changed files with 15 additions and 0 deletions
  1. 15 0
      packages/webwidget/htmlwidgets.pp

+ 15 - 0
packages/webwidget/htmlwidgets.pp

@@ -531,6 +531,7 @@ Type
     property SelectedIndex;
     property SelectedIndex;
     Property Multiple;
     Property Multiple;
     property size;
     property size;
+    property Classes;
   end;
   end;
 
 
   { TLabelWidget }
   { TLabelWidget }
@@ -797,6 +798,13 @@ Type
     Property OnFooterRowClick;
     Property OnFooterRowClick;
   end;
   end;
 
 
+  { TDivWidget }
+
+  TDivWidget = Class(TWebWidget)
+  Protected
+     Function HTMLTag : String; override;
+  end;
+
 Function ViewPort : TViewPort;
 Function ViewPort : TViewPort;
 
 
 Const
 Const
@@ -822,6 +830,13 @@ end;
 Const
 Const
   CellTags : Array[TRowKind] of string = ('th','td','td');
   CellTags : Array[TRowKind] of string = ('th','td','td');
 
 
+{ TDivWidget }
+
+function TDivWidget.HTMLTag: String;
+begin
+  Result:='DIV';
+end;
+
 { TSelectWidget.TStringsSelectOptionEnumerator }
 { TSelectWidget.TStringsSelectOptionEnumerator }
 
 
 constructor TSelectWidget.TStringsSelectOptionEnumerator.Create(ASelect: TCustomSelectWidget);
 constructor TSelectWidget.TStringsSelectOptionEnumerator.Create(ASelect: TCustomSelectWidget);