Cristian87 Posted March 11, 2021 Share Posted March 11, 2021 Why when I set the ReadOnly property on the unimComboBox doesn't it work like it does for uniComboBox? Link to comment Share on other sites More sharing options...
Sherzod Posted March 11, 2021 Share Posted March 11, 2021 53 minutes ago, Cristian87 said: Why when I set the ReadOnly property on the unimComboBox doesn't it work like it does for uniComboBox? Hello, I opened a ticket in the support portal. Link to comment Share on other sites More sharing options...
Cristian87 Posted March 12, 2021 Author Share Posted March 12, 2021 Ok thanks! Link to comment Share on other sites More sharing options...
Sherzod Posted March 12, 2021 Share Posted March 12, 2021 15 hours ago, Cristian87 said: ReadOnly property on the unimComboBox doesn't it work like it does for uniComboBox? One possible solution for now: procedure TMainmForm.UnimFormCreate(Sender: TObject); begin with UnimComboBox1 do if ReadOnly then JSInterface.JSAddListener('painted', 'function(){this.setEditable(false)}') end; Link to comment Share on other sites More sharing options...
Cristian87 Posted March 12, 2021 Author Share Posted March 12, 2021 It don't works. In this way the ComboBox is not editable but it is still possible to change the value by choosing from the drop-down menu Link to comment Share on other sites More sharing options...
Sherzod Posted March 12, 2021 Share Posted March 12, 2021 1 minute ago, Cristian87 said: It don't works. In this way the ComboBox is not editable but it is still possible to change the value by choosing from the drop-down menu Are you testing on a mobile device? Link to comment Share on other sites More sharing options...
Cristian87 Posted March 12, 2021 Author Share Posted March 12, 2021 Yes I do Link to comment Share on other sites More sharing options...
Sherzod Posted March 12, 2021 Share Posted March 12, 2021 I'm checking it now. Link to comment Share on other sites More sharing options...
Sherzod Posted March 12, 2021 Share Posted March 12, 2021 47 minutes ago, Cristian87 said: Yes I do Try to use this approach for now: 1. Use Enabled property instead of ReadOnly. 2. procedure TMainmForm.UnimFormCreate(Sender: TObject); begin with UnimComboBox1 do JSInterface.JSConfig('disabledCls', ['xx']); end; Link to comment Share on other sites More sharing options...
Cristian87 Posted March 12, 2021 Author Share Posted March 12, 2021 Great! It works!!!! Thank you! 1 Link to comment Share on other sites More sharing options...
55143681 Posted March 15, 2021 Share Posted March 15, 2021 On 3/12/2021 at 6:31 PM, Cristian87 said: Great! It works!!!! Thank you! UniGUI1545 does not have this problem. Link to comment Share on other sites More sharing options...
fraxzi Posted March 19, 2021 Share Posted March 19, 2021 On 3/15/2021 at 5:08 PM, 55143681 said: UniGUI1545 does not have this problem. I think I need to go back to 1545 as well ... I also experience this with 1546. Link to comment Share on other sites More sharing options...
fraxzi Posted March 19, 2021 Share Posted March 19, 2021 On 3/15/2021 at 5:08 PM, 55143681 said: UniGUI1545 does not have this problem. My 1545 same as 1546 .... ... still selectable (but not savable) listdown ... Link to comment Share on other sites More sharing options...
Sherzod Posted March 19, 2021 Share Posted March 19, 2021 1 hour ago, fraxzi said: My 1545 same as 1546 .... ... still selectable (but not savable) listdown ... Hello, Can you please explain in more detail? Link to comment Share on other sites More sharing options...
fraxzi Posted March 19, 2021 Share Posted March 19, 2021 14 hours ago, Sherzod said: Hello, Can you please explain in more detail? Hi Sherzod, I reverted back to .1545 from .1546... dbLookUpComboBox (readonly) still the list drop down and can still select.. when it should be not since it is readonly. I will try the new .1547 and will let you know. Thanks. Link to comment Share on other sites More sharing options...
fraxzi Posted March 20, 2021 Share Posted March 20, 2021 Hi @Sherzod, On .1545...47 if dbLookUpComboBox WITH Trigger, the ReadOnly property still showing the dropdown ListSource. if WITHOUT Trigger and ReadOnly the Listsource is hidden and NOT showing the ListSource.. this is OK if no trigger. How can I make dbLookUpComboBox on READONLY but still clickable Triggers? Regards. Link to comment Share on other sites More sharing options...
Sherzod Posted March 20, 2021 Share Posted March 20, 2021 2 hours ago, fraxzi said: On .1545...47 if dbLookUpComboBox WITH Trigger, the ReadOnly property still showing the dropdown ListSource. if WITHOUT Trigger and ReadOnly the Listsource is hidden and NOT showing the ListSource.. this is OK if no trigger. How can I make dbLookUpComboBox on READONLY but still clickable Triggers? Hello, We will analyze this behavior. Link to comment Share on other sites More sharing options...
fraxzi Posted July 6, 2021 Share Posted July 6, 2021 On 3/20/2021 at 12:44 PM, Sherzod said: Hello, We will analyze this behavior. Hi @Sherzod, With .1551, the behavior is the same. readonly dbcombobox when clicked, the dropdown shows. Regards, Frances Link to comment Share on other sites More sharing options...
Sherzod Posted July 6, 2021 Share Posted July 6, 2021 3 hours ago, fraxzi said: With .1551, the behavior is the same. readonly dbcombobox when clicked, the dropdown shows. Hello, UniDBComboBox? Link to comment Share on other sites More sharing options...
fraxzi Posted July 6, 2021 Share Posted July 6, 2021 19 minutes ago, Sherzod said: Hello, UniDBComboBox? Hi @Sherzod, In dbLookupCombobox.. I "build" the project with .1551, now it's OK. .. sorry my bad Thanks, Frances Link to comment Share on other sites More sharing options...
Sherzod Posted July 6, 2021 Share Posted July 6, 2021 Ok. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts