RobYost Posted August 28, 2017 Share 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. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 28, 2017 Administrators Share 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. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 28, 2017 Share 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, Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 31, 2017 Share 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, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.