diegojmap Posted October 16, 2019 Share Posted October 16, 2019 Good morning, I'm trying to create some validations, they need to be in ExtEvents. I don't have much knowledge. I'm using as ClientEvents-Dynamic, I was able to use the OnChange in a UniComboBox like this to play the information for a Memo: UniComboBox1.ClientEvents.ExtEvents.Values ['change']: = 'function (sender, newValue) {MainForm.UniMemo1.setValue (newValue)}'; Actually I need to change the text of UniMemo1 according to the selection of UniComboBox1. If it were in vcl I would use: IF UniComboBox1.index = 0 then UniMemo1.Lines.text: = 'Text 0'; IF UniComboBox1.index = 1 then UniMemo1.Lines.text: = 'Text 1'; Is it possible to do this with ExtEvents? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 16, 2019 Share Posted October 16, 2019 2 minutes ago, diegojmap said: Is it possible to do this with ExtEvents? Hello, Why not use server side events? Quote Link to comment Share on other sites More sharing options...
diegojmap Posted October 16, 2019 Author Share Posted October 16, 2019 I have some configurable screens in vcl, I thought I could write the codes on the client side. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 16, 2019 Share Posted October 16, 2019 5 minutes ago, diegojmap said: I have some configurable screens in vcl, I thought I could write the codes on the client side. Then please explain your task in more detail, we will try to analyze. 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.