Delphi Programming Question
Posted on 1997-09-29
I want to capitalize the first letter of each word entered in a comboxbox - while the user types. I don't want to do it on exit so I know I have to catch the keystroke, I just don't know how to just capitaize the first letter only using one of the 'Upper' functions.
Secondly, the Delphi manaual says to use the Abort procedure to cancel Post actions if used in the BeforePost event. I get a compile error when I try - if "if edit1.text = '' then abort;" and "Statement expected, but expression of type 'Integer' found. What is the correct syntax?