"A parse error in expression, near ..."
Original Reporter info from Mantis: Zink
-
Reporter name: Kazimierz Król
Original Reporter info from Mantis: Zink
- Reporter name: Kazimierz Król
Description:
It is not possible to watch any properties that are not sub-objects.
Example:
I have TTimer on my form. When the program is paused I call the Evaluate/Modify window.
I type "Form1.Timer1", and press Enter. It then shows Timer1's adress. This is correct.
Now I type "Form1.Timer1.Enabled" (the Enabled property has been set before, but it doesn't matter) and press Enter. Then I get message "A parse error in expression, near `Enabled'.".
It works the same with all property fields of all objects (I didn't test all of them of course :)), not only for TTimer, and no matter if the property is published or not.
For "var" fields (e.g. Form1.Timer1.FComponentStyle) - works ok.
For "function" fields (e.g. Form1.Timer1.HasParent) - works bad.
I see no way to see value of a property. I tried Tooltip expression evaluation, Evaluate/Modify window, and Watch window - all give "Parse error in expression...".
I selected 0.9.15 version, because I use it at the moment, but when I had 0.9.14 it was the same.
Mantis conversion info:
- Mantis ID: 2008
- OS: Windows
- OS Build: XP Home SP2
- Build: SVN revision 9144
- Platform: AMD Athlon
- Version: 0.9.15 (SVN)