Alr1976 Posted April 29, 2025 Posted April 29, 2025 Hi! Someone can help me to add Image on TunimCombobox?(Not TuniCombobox) Br,Alessandro
Sherzod Posted April 29, 2025 Posted April 29, 2025 5 minutes ago, Alr1976 said: Someone can help me to add Image on TunimCombobox?(Not TuniCombobox) Hello, Could you first specify which build and edition of uniGUI you are using?
Sherzod Posted April 29, 2025 Posted April 29, 2025 Please also make sure that your forum email address is correctly set and verified as a subscriber: https://forums.unigui.com/index.php?/topic/6291-new-users-please-adjust-your-forum-email-address/ This will ensure that your access to all forum services is properly activated.
Alr1976 Posted April 29, 2025 Author Posted April 29, 2025 Hi! I do it, sorry for misunderstanding. I use Unigui Complete Edition 1.95.0.1599 . Br,Alessandro
Sherzod Posted April 29, 2025 Posted April 29, 2025 Just to clarify — are you trying to add icons or small images next to each item in the TunimComboBox dropdown list, similar to item icons?
Sherzod Posted April 29, 2025 Posted April 29, 2025 And according to what logic should the icons be assigned to the items? For example, should they depend on the item's value, type, or some other property?
Alr1976 Posted April 29, 2025 Author Posted April 29, 2025 Hi! I need to create a combo box for language selection (Flags). I need to display flag images for selecting the language. Br,Alessandro
Alr1976 Posted April 29, 2025 Author Posted April 29, 2025 I've seen the UniiconItemsDemo example for the desktop version, but there's no example for the Touch version. Br,Alessandro
Alr1976 Posted April 29, 2025 Author Posted April 29, 2025 I have a problem with the ComboBox ItemIndex. With the OnChange and OnChangeValue events, the ItemIndex always remains at -1
Sherzod Posted April 29, 2025 Posted April 29, 2025 Are you using a mobile component such as TUnimComboBox?
Sherzod Posted April 29, 2025 Posted April 29, 2025 1 hour ago, Alr1976 said: I have a problem with the ComboBox ItemIndex. With the OnChange and OnChangeValue events, the ItemIndex always remains at -1 I couldn't reproduce the issue. Please share a simple test case if possible.
Alr1976 Posted April 29, 2025 Author Posted April 29, 2025 Hi! I use umNameValue and i always -1, now i have changed to umName and it works. Br,Alessandro La Ragione 1
Sherzod Posted April 30, 2025 Posted April 30, 2025 16 hours ago, Alr1976 said: I need to create a combo box for language selection (Flags). I need to display flag images for selecting the language. Hello, Will your application always run on mobile devices, or will it also be used on desktop computers?
Alr1976 Posted April 30, 2025 Author Posted April 30, 2025 Hi, My application will works on 95% on desktop and 5% on mobile. Unigui desktop version have same look and feel than mobile version? Tks Alessandro
Sherzod Posted April 30, 2025 Posted April 30, 2025 3 hours ago, Alr1976 said: My application will works on 95% on desktop and 5% on mobile. Unigui desktop version have same look and feel than mobile version? Thanks for the clarification — so your app will mainly run on desktop (95%), with limited mobile use. Also, may I ask why you are using mobile components if your app is mostly for desktop use?
Sherzod Posted April 30, 2025 Posted April 30, 2025 1 hour ago, Alr1976 said: Desktop version will works with Mobile? Although ExtJS Classic can be rendered in mobile browsers, it is not optimized for mobile devices. There are several limitations to consider: Lack of responsive design: The interface may not adapt properly to smaller screen sizes. Limited touch gesture support: Some UI components may not respond correctly to touch interactions. Reduced performance: Due to the lack of mobile-specific optimizations, the application may experience lag or slow response times. https://www.sencha.com/blog/understanding-the-difference-when-to-use-ext-js-classic-vs-modern-toolkit/
Sherzod Posted April 30, 2025 Posted April 30, 2025 However, uniGUI allows you to create hybrid applications that can target both desktop and mobile platforms. By using the appropriate toolkit (Classic/Desktop or Mobile/Touch), you can ensure the UI is optimized for the user's device. https://www.unigui.com/doc/online_help/small-hybrid-application.htm Demos: \FMSoft\Framework\uniGUI\Demos\Touch\Hybrid \FMSoft\Framework\uniGUI\Demos\Touch\Hybrid Chart
Alr1976 Posted April 30, 2025 Author Posted April 30, 2025 Ok now i have Application in Mobile. Can i convert in Desktop or i must redo it? Br,Alessandro
Sherzod Posted April 30, 2025 Posted April 30, 2025 8 minutes ago, Alr1976 said: Can i convert in Desktop or i must redo it? You need to design separate forms for Desktop and Mobile, as they use different components...
Alr1976 Posted April 30, 2025 Author Posted April 30, 2025 Hi! i start to redo in desktop...one question how to have MainScreen in Full Screen? Now i got Windows style
Alr1976 Posted April 30, 2025 Author Posted April 30, 2025 Hi! It take a lot to time to remake desktop app , so how can i add image on combobox?
Sherzod Posted April 30, 2025 Posted April 30, 2025 Hello, Yes, I understand your concern. However, at the moment the component doesn't fully support embedded icons in the true sense. You can inject images or icons into the dropdown list using itemTpl, but the input field itself doesn’t support HTML rendering — so icons won’t appear once an item is selected. It might be worth reconsidering your design approach — perhaps displaying the icon elsewhere...
Recommended Posts