Typo and Blazen,
I tried both of yours and YES, it can be called. Great!
However I still have TWO issues in that I don't get identical behavior (weird!).
The simple code to call the said procedure now is:
if PCKey = #13 then // So Enter key does same as button
begin
BtnEnterClick(nil);
end;
And ONE of the differences (seems to have to do with initialization): When I put numbers from the keyboard, and Click the forms' Enter Button, all happens as expected. PERFECT.
BUT, if I RESTART THE PROGRAM, when I enter the numbers from the keyboard, they enter fine, but when I hit Enter key of the PC, I get a character "0" in the Entry Display, whereas when I do the entering with clicking on the Button, I do get a BLANK string (the entry is CLEARED).
This weird behavior is IDENTICAL to the one when instead of calling the procedure I had simply copy pasted and duplicated its code.
I have ANOTHER issue having to do with DIFFERENT results FROM pushing the form Enter Button and calling the procedure when PCKey = #13.
But I feel first see if this above can be solved first: Why a number "0" appears in the entery instead of a cleared field? That field is as said earlier a String TEdit type of box.
ALSO: Regardless of the order, once I have Clicked on the Form's Enter button, pressing the PC Enter Key, the entry box is also correctly cleared. (On the same session, without restarting the program)...BUT somtimes what is copied to the Real Display box seems to quickly be overwritten by zeroes, which never happens when I only use the Forms Entry button!
Thanks!