|
@@ -216,7 +216,6 @@ type
|
|
FAfterAddProperty: TAfterAddPropertyEvent;
|
|
FAfterAddProperty: TAfterAddPropertyEvent;
|
|
FBeforeAddProperty: TBeforeAddPropertyEvent;
|
|
FBeforeAddProperty: TBeforeAddPropertyEvent;
|
|
FBorder: Boolean;
|
|
FBorder: Boolean;
|
|
- FCaption: String;
|
|
|
|
FIcons: TPropertyInspectorIconHTML;
|
|
FIcons: TPropertyInspectorIconHTML;
|
|
FOnRefresh: TNotifyEvent;
|
|
FOnRefresh: TNotifyEvent;
|
|
FOnRefreshObject: TNotifyEvent;
|
|
FOnRefreshObject: TNotifyEvent;
|
|
@@ -240,7 +239,6 @@ type
|
|
function GetParentElementID: String;
|
|
function GetParentElementID: String;
|
|
procedure RenderCaption;
|
|
procedure RenderCaption;
|
|
procedure SetBorder(AValue: Boolean);
|
|
procedure SetBorder(AValue: Boolean);
|
|
- procedure SetCaption(AValue: String);
|
|
|
|
procedure SetFullCaption(AValue: String);
|
|
procedure SetFullCaption(AValue: String);
|
|
procedure SetIcons(AValue: TPropertyInspectorIconHTML);
|
|
procedure SetIcons(AValue: TPropertyInspectorIconHTML);
|
|
procedure SetObjectCaption(AValue: String);
|
|
procedure SetObjectCaption(AValue: String);
|
|
@@ -543,7 +541,7 @@ end;
|
|
function THTMLObjectTree.BuildWrapper(aParent : TJSHTMLElement) : TJSHTMLElement;
|
|
function THTMLObjectTree.BuildWrapper(aParent : TJSHTMLElement) : TJSHTMLElement;
|
|
|
|
|
|
var
|
|
var
|
|
- RI,SC,DW,DC,DT : TJSHTMLElement;
|
|
|
|
|
|
+ RI,SC,DC,DT : TJSHTMLElement;
|
|
|
|
|
|
begin
|
|
begin
|
|
aParent.InnerHTML:='';
|
|
aParent.InnerHTML:='';
|
|
@@ -624,6 +622,7 @@ begin
|
|
begin
|
|
begin
|
|
lParent:=Nil;
|
|
lParent:=Nil;
|
|
FRootObjectID:=AID;
|
|
FRootObjectID:=AID;
|
|
|
|
+ if aClassName<>'' then ;
|
|
end;
|
|
end;
|
|
FBuilder.AddItem(lParent,aCaption,aID);
|
|
FBuilder.AddItem(lParent,aCaption,aID);
|
|
end;
|
|
end;
|
|
@@ -720,7 +719,7 @@ end;
|
|
constructor TInspectorObjectStack.Create(initialSize: Integer);
|
|
constructor TInspectorObjectStack.Create(initialSize: Integer);
|
|
begin
|
|
begin
|
|
Count:=0;
|
|
Count:=0;
|
|
- SetLength(Objects,ArrayDelta);
|
|
|
|
|
|
+ SetLength(Objects,InitialSize+ArrayDelta);
|
|
end;
|
|
end;
|
|
|
|
|
|
procedure TInspectorObjectStack.Clear;
|
|
procedure TInspectorObjectStack.Clear;
|
|
@@ -792,12 +791,6 @@ begin
|
|
FTableElement.Border:=IntToStr(Ord(aValue));
|
|
FTableElement.Border:=IntToStr(Ord(aValue));
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure THTMLObjectInspector.SetCaption(AValue: String);
|
|
|
|
-begin
|
|
|
|
- if FCaption=AValue then Exit;
|
|
|
|
- FCaption:=AValue;
|
|
|
|
- RenderCaption;
|
|
|
|
-end;
|
|
|
|
|
|
|
|
procedure THTMLObjectInspector.SetFullCaption(AValue: String);
|
|
procedure THTMLObjectInspector.SetFullCaption(AValue: String);
|
|
begin
|
|
begin
|
|
@@ -1008,8 +1001,8 @@ function THTMLObjectInspector.CreateConfigPanel(): TJSHTMLElement;
|
|
end;
|
|
end;
|
|
|
|
|
|
var
|
|
var
|
|
- Tmp,CBDiv,CBhead,CBCol,cbRow : TJSHTMLElement;
|
|
|
|
- CB : TJSHTMLInputElement;
|
|
|
|
|
|
+ Tmp,CBDiv,CBhead,CBCol : TJSHTMLElement;
|
|
|
|
+ //CB : TJSHTMLInputElement;
|
|
Vis : TMemberVisibility;
|
|
Vis : TMemberVisibility;
|
|
|
|
|
|
begin
|
|
begin
|
|
@@ -1087,6 +1080,7 @@ procedure THTMLObjectInspector.HandleRefresh(aEvent: TJSHTMLElement);
|
|
begin
|
|
begin
|
|
Clear;
|
|
Clear;
|
|
RefreshObject;
|
|
RefreshObject;
|
|
|
|
+ if aEvent=Nil then ;
|
|
end;
|
|
end;
|
|
|
|
|
|
procedure THTMLObjectInspector.HandleBack(aEvent: TJSHTMLElement);
|
|
procedure THTMLObjectInspector.HandleBack(aEvent: TJSHTMLElement);
|