teeInspector and integer, double & string

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
dmisland
Newbie
Newbie
Posts: 11
Joined: Wed Jul 26, 2006 12:00 am

teeInspector and integer, double & string

Post by dmisland » Sat Aug 26, 2006 3:25 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Aug 28, 2006 9:05 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

dmisland
Newbie
Newbie
Posts: 11
Joined: Wed Jul 26, 2006 12:00 am

teeInspector

Post by dmisland » Mon Aug 28, 2006 3:29 pm

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

Post Reply