Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Property/Type Editors    [ Add a report in this area ]  
Report #:  88215   Status: Reported
Passing nil as the PropertyEditorClass parameter of the RegisterPropertyEditor method doesn't hide a property representing a set of enumerated types in the Object Inspector
Project:  Delphi Build #:  2010, XE
Version:    15.0 Submitted By:   Sergey Mogilnikov
Report Type:  Crash / Data loss / Total failure Date Reported:  9/20/2010 4:52:16 AM
Severity:    Critical / Show Stopper Last Updated: 10/5/2010 5:22:45 PM
Platform:    All platforms Internal Tracking #:  
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
None
Steps to Reproduce:


Added by Sysop
<<<<<<<<<<<
Try this code:

procedure Register;
begin
  ForceDemandLoadState(dlDisable);
  UnlistPublishedProperty(TForm, 'BorderIcons');
end;

for hide 'BorderIcons' property of TForm. This code not work on latest IDE from 2010 and XE!
Also I attach full pakage project.  
>>>>>>>>>>>
Workarounds
None
Attachment
Hidden Sets.zip
Comments

Tomohiro Takahashi at 9/20/2010 8:14:09 PM -
Please write more detailed Description and Steps to understand your issue.

Sergey Mogilnikov at 10/5/2010 7:05:10 AM -
Try this code:

procedure Register;
begin
  ForceDemandLoadState(dlDisable);
  UnlistPublishedProperty(TForm, 'BorderIcons');
end;

for hide 'BorderIcons' property of TForm. This code not work on latest IDE from 2010 and XE!
Also I attach full pakage project.

Server Response from: ETNACODE01