d.bernaert Posted February 13, 2020 Share Posted February 13, 2020 Hi, I'm facing a few issues with the triggers. Problem 1: it does not scale the image. I have an image list with size 16x16. I put images in it with size 50 x 50 for sharpness. The trigger does not scale the images. but the grid does, see second screenshot. Problem 2: imagelist icons coming from font awesome in the list are not shown at all, that's the first reason why I was trying with custom images. Thx, Dominique Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 14, 2020 Administrators Share Posted February 14, 2020 Hi, 1) Yes, you need to use images with correct size such as 16x16. 2) This is not supported by Ext JS we are looking for a workaround. Quote Link to comment Share on other sites More sharing options...
d.bernaert Posted February 16, 2020 Author Share Posted February 16, 2020 Thx Farshad for the feedback. I would also like to make a suggestion. You have the option to make the triggers visible or not when the field is read-only but it would be nice if it would be visible to enable the triggers even if the field is read-only. I sometimes use a read-only edit to display a value but would like to use a trigger to let the user select a value from a pop-up form. Thx, Dominique Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 16, 2020 Share Posted February 16, 2020 2 hours ago, d.bernaert said: I would also like to make a suggestion. You have the option to make the triggers visible or not when the field is read-only but it would be nice if it would be visible to enable the triggers even if the field is read-only. I sometimes use a read-only edit to display a value but would like to use a trigger to let the user select a value from a pop-up form. Hi Dominique, If I understand you correctly, this is already implemented. 1. UniEdit.ReadOnly = True 2. UniEdit.ReadOnlyMode = urmNotEditable 1 Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted February 16, 2020 Share Posted February 16, 2020 4 hours ago, Sherzod said: Olá Dominique, Se bem entendi, isso já está implementado. If I have 3 triggers, can I disable only 1 of them? Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted March 19, 2020 Share Posted March 19, 2020 ?? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 8, 2020 Share Posted April 8, 2020 On 3/19/2020 at 5:56 PM, eduardosuruagy said: ?? Hi, I'm sorry for the late response. Did you mean this?: On 2/16/2020 at 6:54 PM, eduardosuruagy said: If I have 3 triggers, can I disable only 1 of them? Or have you already found a way? Quote Link to comment Share on other sites More sharing options...
easegura777 Posted July 8, 2020 Share Posted July 8, 2020 If I have 2 triggers, can I disable only 1 of them? Help Please!! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 9, 2020 Share Posted July 9, 2020 6 hours ago, easegura777 said: If I have 2 triggers, can I disable only 1 of them? Hello, Which build are you using? Which component? Quote Link to comment Share on other sites More sharing options...
easegura777 Posted July 9, 2020 Share Posted July 9, 2020 18 hours ago, Sherzod said: Hello, Which build are you using? Which component? TunimEdit Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 10, 2020 Share Posted July 10, 2020 6 hours ago, easegura777 said: TunimEdit OK, I will check. Quote Link to comment Share on other sites More sharing options...
easegura777 Posted July 10, 2020 Share Posted July 10, 2020 Just now, Sherzod said: OK, I will check. thanks!! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 10, 2020 Share Posted July 10, 2020 On 7/9/2020 at 2:26 AM, easegura777 said: If I have 2 triggers, can I disable only 1 of them? procedure TMainmForm.UnimButton1Click(Sender: TObject); begin UnimEdit1.JSInterface.JSCall('getTriggers().t1.setDisabled', [True]); //False end; 1 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.