RobYost Posted August 28, 2017 Posted August 28, 2017 I am trying to capitalize the first letter of each word in a TUniEdit control. Things that are working in a VCL application are not working for me. For example changing Key in KeyPress has no effect on the Sender.Text Key := UpCase(key); // This works in VCL but not Uni I need something more complicated so this is just an example.
Administrators Farshad Mohajeri Posted August 28, 2017 Administrators Posted August 28, 2017 Yes, uniGUI behaves different here. It can not change a key which is pressed on client side. The Key parameter is only defined as a VAR to keep VCL syntax compatibility. This behavior must be implemented on client side using Java Script.
Sherzod Posted August 28, 2017 Posted August 28, 2017 Hi, Try this solution, although this is a old post: http://forums.unigui.com/index.php?/topic/3154-question-re-capitalisation-on-tunidbedit/ Best regards,
Sherzod Posted August 31, 2017 Posted August 31, 2017 Hi, Try this solution: http://forums.unigui.com/index.php?/topic/3154-question-re-capitalisation-on-tunidbedit/&do=findComment&comment=46740 Best regards,
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now