Component Visible on Delphi Form
Hi I have a component that I am using which was fine with RB9 but with RB10
the problem I am seeing is that the component is actually visible on my
delphi form as a small grey box. Can anyone tell me what's changed?
Thanks,
Ken
the problem I am seeing is that the component is actually visible on my
delphi form as a small grey box. Can anyone tell me what's changed?
Thanks,
Ken
This discussion has been closed.
Comments
Have not heard of this before.
RB 9 introduced architecture changes for the RCL components. RB 10
introduces a new designer architecture but the component architecture is the
same as for RB 9. Make sure that you recompile the custom component against
the latest RB 10 code base that you are using.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
---------------------------------------
Article: RB 9 Architecture Changes
---------------------------------------
ReportBuilder 9 includes architecture changes to more cleanly separate
Designer code from Report code. The code related to component popup menus
and design controls has been broken out into separate classes.
For an example, check out RBuilder\Demos\RCL.
The myChkBox.pas unit contains the component classes....
TppCustomComponent
|
|
TMyCustomCheckBox
|
|-- TmyCheckBox
|
|-- TmyDBCheckBox
The myChkBoxDesign.pas unit contains popup menu and design control classes.
These are compiled into a separate package.
A. Popup Menu classes....
TppComponentPopupMenu
|
|
TmyCustomCheckBoxPopupMenu
|
|-- TmyCheckBoxPopupMenu
|
|-- TmyDBCheckBoxPopupMenu
B. Design Control classes.....
TmyCustomCheckBoxControl
|
|
TmyCustomCheckBoxPopupMenu
|
|-- TmyCheckBoxControl
|
|-- TmyDBCheckBoxControl
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
In my case, I forgot the code below, to register component in Delphi
without icon:
procedure Register;
begin
RegisterNoIcon([TppXXXXX]);
end;
--
Thiago Borges
Nard Moseley (Digital Metaphors) escreveu: