View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001084 | Lazarus | LCL | public | 2005-08-11 08:24 | 2005-09-16 09:44 |
Reporter | Tom Verhoeff | Assigned To | Vincent Snijders | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | any (tested on powerpc-darwin) | OS | any (tested on Mac OS X) | ||
Product Version | 0.9.9 (SVN) | ||||
Summary | 0001084: Second creation of form raises Duplicate Name exception | ||||
Description | When a second instance is created of a (non-auto-created) TForm, then this raises a Duplicate Name exception. | ||||
Steps To Reproduce | In a unit with a form, say TMyForm, and with variables VMyForm1, VMyForm2: TMyForm, do VMyForm1 := TMyForm.Create; VMyForm2 := TMyForm.Create; { this one raises the exception } Note: The form should NOT be auto-created by the application. If it is auto-created, then the third instance of the form is rejected. | ||||
Additional Information | In Delphi, the name of a newly created duplicate form (or any other component?) is automatically postfixed with _i where i is a numeric instance distinguisher. The application programmer cannot do that. It must be handled by the LCL. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
LazTarget | post 1.0 | ||||
Widgetset | GTK | ||||
Attached Files |
|
|
2005-08-13 11:11 mattias r7497 TApplication now sets FindGlobalComponent always |
|
2005-08-13 11:11 mattias r7497 TApplication now sets FindGlobalComponent always |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-08-11 08:24 | Tom Verhoeff | New Issue | |
2005-08-11 08:24 | Tom Verhoeff | Widgetset | => GTK |
2005-08-11 17:00 | Vincent Snijders | Target | => post 1.0 |
2005-08-13 15:37 | Vincent Snijders | Status | new => resolved |
2005-08-13 15:37 | Vincent Snijders | Resolution | open => fixed |
2005-08-13 15:37 | Vincent Snijders | Assigned To | => Vincent Snijders |
2005-08-13 15:37 | Vincent Snijders | Note Added: 0000924 | |
2005-08-13 15:39 | Vincent Snijders | Note Added: 0000925 | |
2005-09-16 09:44 | Marc Weustink | Status | resolved => closed |