Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 105 - Search function in Tee9New produces an error
Summary: Search function in Tee9New produces an error
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Demos (show other bugs)
Version: 131016
Hardware: PC Windows
: Normal enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-18 04:38 EST by narcís calvet
Modified: 2013-11-29 09:43 EST (History)
2 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description narcís calvet 2013-11-18 04:38:32 EST
Searching a string in the "Search" tab in Tee9New throws the following error:

---------------------------
TeeChart Pro 2013 - What's New !
---------------------------
'' is not a valid integer value.
---------------------------
OK 
---------------------------
Comment 1 david berneda 2013-11-19 03:28:18 EST
Cannot reproduce. 
Which IDE & Search string are failing?
Comment 2 narcís calvet 2013-11-19 03:37:50 EST
Searching for "mark" in Tee9New built for XE4 or XE5, for example.
Comment 3 david berneda 2013-11-19 09:42:51 EST
Nope. No errors at my side.
Call stack will be helpful.

I guess some demo form is raising the exception when created.

The "Search" process involves creating all demo forms to obtain their description "Memo" control text, and search inside that text.
Comment 4 narcís calvet 2013-11-19 10:02:54 EST
Happens to me with current source control system demo and sources in Delphi 7. Crashes at TeeEditCha.pas, TChartEditForm.FormCreate, line:

  if TeeReadBoolOption(TeeMsg_SeriesGroups,False) then
     EditorOptions:=EditorOptions+[ceGroups];

Call stack:

TChartEditForm.FormCreate(???)
TChartEditorPanel.Create(???)
TChartEditorPanelForm.FormCreate(???)
FoundTextInNode($1F662B0)
DoSearchTree($1F3DF14,50)
TTeeNewForm.DoSearch
TTeeNewForm.CBSearchKeyDown(???,???,[])
Comment 5 david berneda 2013-11-29 09:43:13 EST
(In reply to narcís calvet from comment #4)
> Happens to me with current source control system demo and sources in Delphi
> 7. Crashes at TeeEditCha.pas, TChartEditForm.FormCreate, line:
> 
>   if TeeReadBoolOption(TeeMsg_SeriesGroups,False) then
>      EditorOptions:=EditorOptions+[ceGroups];
> 
> Call stack:
> 
> TChartEditForm.FormCreate(???)
> TChartEditorPanel.Create(???)
> TChartEditorPanelForm.FormCreate(???)
> FoundTextInNode($1F662B0)
> DoSearchTree($1F3DF14,50)
> TTeeNewForm.DoSearch
> TTeeNewForm.CBSearchKeyDown(???,???,[])

Usually when there is an exception, the debugger points to the line *after* it, which in this case the correct line is "ReadDefaultFont".

I found a possible fix although I can't reproduce the problem. 
Hope its resolved.