crystian Posted December 18, 2019 Share Posted December 18, 2019 Hi, I use custom css for my buttons in the application, and cannot assign a custom css to TUniFileUploadButton. If I can simulate a click on TUniFileUploadButton I will put a TUniButton visible, manipulate him and use it to do click on TUniFileUploadButton. My question is, how can I do it? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 18, 2019 Share Posted December 18, 2019 10 minutes ago, crystian said: I use custom css for my buttons in the application, and cannot assign a custom css to TUniFileUploadButton. If I can simulate a click on TUniFileUploadButton I will put a TUniButton visible, manipulate him and use it to do click on TUniFileUploadButton. Hi, What CSS do you use for the UniButton? Quote Link to comment Share on other sites More sharing options...
crystian Posted December 18, 2019 Author Share Posted December 18, 2019 4 hours ago, Sherzod said: Hi, What CSS do you use for the UniButton? In my project I use custom css for the buttons change layout appearence. I just realized that I didn't complete my question in the first post, sorry for that. I would like to know how to handle the TUniFileUploadButton OnClick event or how to insert CSS into it, similar to what I do in TUniButton. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 19, 2019 Share Posted December 19, 2019 16 hours ago, crystian said: I would like to know how to handle the TUniFileUploadButton OnClick event Please explain in more details, for what purpose? 16 hours ago, crystian said: or how to insert CSS into it, similar to what I do in TUniButton. How do you do for UniButton? Quote Link to comment Share on other sites More sharing options...
crystian Posted December 19, 2019 Author Share Posted December 19, 2019 7 hours ago, Sherzod said: Please explain in more details, for what purpose? Due to the impossibility of using the settings I mention below, I intended to make a TUniButton available with the CSS settings I intended to use and keep an invisible TUniFileUploadButton triggering the upload function (if I could simulate his click ...) 7 hours ago, Sherzod said: How do you do for UniButton? It has several forms. One is by assigning a CSS class in the LayoutConfig properties. Another is by adding through UniEvents. TUniFileUploadButton does not have these properties to edit. --------- Anyway, I already solved my problem by assigning a CSS class to the form that allowed me to make the changes I needed. Thanks for the feedback. Quote Link to comment Share on other sites More sharing options...
baha Posted February 8, 2020 Share Posted February 8, 2020 Уважаемый Шерзод! Как поменять стиль для UniFileUploadButton? Например сделать его прозрачным. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 8, 2020 Share Posted February 8, 2020 Здравствуйте! Пожалуйста уточните версию и издание UniGUI которую используете. Quote Link to comment Share on other sites More sharing options...
baha Posted February 9, 2020 Share Posted February 9, 2020 Я работаю под вторым логином qpashik (просто забыл). Версию использую последнюю лицензионную Pro. 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.