Issue 107: RegisterPublishedProperties can't support tkUString type in D2009 and UP
git-svn-id: http://code.remobjects.com/svn/pascalscript@215 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
This commit is contained in:
parent
56908dff7e
commit
1356caab72
@ -14840,7 +14840,7 @@ begin
|
||||
GetPropInfos(fclass.ClassInfo, p);
|
||||
for i := Count -1 downto 0 do
|
||||
begin
|
||||
if p^[i]^.PropType^.Kind in [tkLString, tkInteger, tkChar, tkEnumeration, tkFloat, tkString, tkSet, tkClass, tkMethod{$IFNDEF PS_NOWIDESTRING}, tkWString{$ENDIF}] then
|
||||
if p^[i]^.PropType^.Kind in [tkLString, tkInteger, tkChar, tkEnumeration, tkFloat, tkString, tkSet, tkClass, tkMethod{$IFNDEF PS_NOWIDESTRING}, tkWString{$ENDIF}, tkUString] then
|
||||
begin
|
||||
if (p^[i]^.GetProc <> nil) then
|
||||
begin
|
||||
|
@ -1537,7 +1537,9 @@ begin
|
||||
tkVariant: begin Result := '[Variant]'; exit; end;
|
||||
{$IFDEF DELPHI6UP}
|
||||
{$IFNDEF PS_NOWIDESTRING}
|
||||
tkWString: begin Result := ''''+tbtString(GetWideStrProp(Instance, pp))+''; end; {$ENDIF}
|
||||
tkWString: begin Result := ''''+tbtString(GetWideStrProp(Instance, pp))+''; end;
|
||||
tkUString: begin Result := ''''+tbtUnicodeString(GetUnicodeStrProp(Instance, pp))+''; end;
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
else begin Result := '[Unknown]'; exit; end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user