If you have OwnerData checked and then use the IDE to add items, upon completion of the editor, you get a nice Index of bounds with the trunk. Older IDE's, it puts the IDE into a loop and you need to hard exit.
I would say so.Not just that, the items should be deleted if one checks the ownerdata too.
I don't like the Beep. Is a Beep used within the IDE anywhere else?
And I'd also replace the Application.MessageBox by MessageDlg even it if makes the unit depend on the Dialogs unit. But Dialogs is used already by PropEdits. So, this should not make a difference. Or am I missing something?
I am not sure if the ondata event is even working?
Quote from: wp on March 18, 2024, 11:09:16 amI don't like the Beep. Is a Beep used within the IDE anywhere else?Not in the IDE specifically, but in LCL bring-to-front flash-and-beep behavior. Quote from: wp on March 18, 2024, 11:09:16 amAnd I'd also replace the Application.MessageBox by MessageDlg even it if makes the unit depend on the Dialogs unit. But Dialogs is used already by PropEdits. So, this should not make a difference. Or am I missing something?No, you're not missing anything. I just took the path of least resistance.
Quote from: dsiders on March 18, 2024, 04:47:01 pmQuote from: wp on March 18, 2024, 11:09:16 amI don't like the Beep. Is a Beep used within the IDE anywhere else?Not in the IDE specifically, but in LCL bring-to-front flash-and-beep behavior. Quote from: wp on March 18, 2024, 11:09:16 amAnd I'd also replace the Application.MessageBox by MessageDlg even it if makes the unit depend on the Dialogs unit. But Dialogs is used already by PropEdits. So, this should not make a difference. Or am I missing something?No, you're not missing anything. I just took the path of least resistance.OK when I commit it?