TLabeledEdit sets Text empty when changing name
Original Reporter info from Mantis: User137
-
Reporter name: Teemu Valo
Original Reporter info from Mantis: User137
- Reporter name: Teemu Valo
Description:
TLabeledEdit sets Text empty when changing name. This component is on "Additional" tab on the component palette.
Browsing the source down to lcl\include\customlabelededit.inc: (line 49)
procedure TCustomLabeledEdit.SetName(const Value: TComponentName);
...
if csDesigning in ComponentState then
Text := '';
Steps to reproduce:
Change Name property, and Text property becomes ''.
Additional information:
It's just another edit component. I expected it to behave like TEdit would.
Mantis conversion info:
- Mantis ID: 23881
- OS: Windows 7 32-bit
- OS Build: -
- Build: 40256
- Platform: -
- Version: 1.1 (SVN)
- Fixed in version: 1.1 (SVN)
- Fixed in revision: r40293 (#7ce04606)