Hi
When using teeInspector and item styles iiInteger, iiDouble and iiString, I'm not sure how to handle editing the value I have previously assigned.
Once I have made my edit, the teeInspector does not automatically respond to pressing the Enter key. Where do I handle that keypress so that the item's new value is captured and the edit ends?
Thanks,
David
teeInspector and integer, double & string
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi David,
Try doing something like in the All Features\Welcome!\Components\Inspector component example at the features demo. You'll find the demo at TeeChrt's program group.
Try doing something like in the All Features\Welcome!\Components\Inspector component example at the features demo. You'll find the demo at TeeChrt's program group.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
teeInspector
Hi Narcis
Thanks for your response. That worked.
I am using SetProperties with a PopupMenu, as in the TeeChartOffice example, so I had to add an OnChange event handler for each item. Also I had to modify EditKeyDown in teeInspector.pas to accept the carriage return and move to the next item. I'm not sure if that is the right way, but at least it works.
David
Thanks for your response. That worked.
I am using SetProperties with a PopupMenu, as in the TeeChartOffice example, so I had to add an OnChange event handler for each item. Also I had to modify EditKeyDown in teeInspector.pas to accept the carriage return and move to the next item. I'm not sure if that is the right way, but at least it works.
David