PDA

View Full Version : 'Do not save duplicate error' and Frequency count


Surfer2k
23-Jan-2006, 06:09 AM
Hi,

The option to save only unique error is very nice and I use it in every project.

But with this option I didn't have another information: How much time this error appeared ?

It would be interessant to have an indication in the file on this subject.

That thus makes it possible to know which are the errors most frequent and thus to quickly correct.

Pascal

Surfer2k
23-Jan-2006, 06:49 AM
Another suggestion concerning the 'Reproduce text'.

It would be well to have a button to go in the input of the comment instead of opening the window each time.

What do you think about it?

Pascal

tms
23-Jan-2006, 08:25 AM
User "Surfer2k" <surfer2k@ifrance.com> wrote...
> Another suggestion concerning the 'Reproduce text'.
> It would be well to have a button to go in the input of the comment
> instead of opening the window each time.
>
> Pascal

Hello!
It has sth to do with my suggestion: Reproduce text request
I suggested new event for it.

--
Regards
Tomski

Surfer2k
24-Jan-2006, 06:59 AM
Hi,

First I didn't read your post. I agree with an event but in this case it is necessary to create code in every application.

Whe can have an alternate way: if append reproduce text is checked, if event is assigned then call event procedure, else display bouton !

what do you think about it?

Pascal

tms
24-Jan-2006, 07:57 AM
Hello!
User "Surfer2k" <surfer2k@ifrance.com> wrote...
> First I didn't read your post. I agree with an event but in this case
> it is necessary to create code in every application.
> Whe can have an alternate way: if append reproduce text is checked, if
> event is assigned then call event procedure, else display bouton !
> what do you think about it?
> Pascal

OK, I see only one modification of my proposed code to be added to EL:


type
TOnReproduceTextRequestEvent = procedure (EurekaExceptionRecord:
TEurekaExceptionRecord;
var ReproduceText: String; var ShowDialog: boolean) of object;
....

procedure...
var
sText: string;
bDialog: boolean;
....
if loAppendReproduceText in LogOptions then begin
//if checkbox on error form is checked (default) then show dialog
bDialog := ckAddReproduceText.Checked;
//if I have my event, let me override showing the dialog or set default
Text
if Assigned(FOnReproduceTextRequest) then
FOnReproduceTextRequest(EurekaExceptionRecord, sText, bDialog);
if bDialog then begin
// show request dialog with default text from event and return it after
dialog
ReproduceDialog.Text := sText;
if ReproduceDialog.ShowModal = mrOK then
ReproduceText := ReproduceDialog.Text
else
ReproduceText := '';
end
else // don't show dialog, I set the text
ReproduceText := sText;
end;
....


Now Fabio has to tell us what he thinks about it :)
Fabio, BDS 2006 is ready now ;)
--
Regards
Tomski

admin
25-Jan-2006, 11:27 AM
Hi,

tms wrote:
> Hello!
> User "Surfer2k" <surfer2k@ifrance.com> wrote...
>> First I didn't read your post. I agree with an event but in this case
>> it is necessary to create code in every application.
>> Whe can have an alternate way: if append reproduce text is checked, if
>> event is assigned then call event procedure, else display bouton !
>> what do you think about it?
>> Pascal
>
> OK, I see only one modification of my proposed code to be added to EL:
>
> [...]
>

I'm thinking on, I'm thinking on...! ;)

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!