dunham Posted March 21, 2016 Share Posted March 21, 2016 hello, how to set Bold / not bold the TUniTabSheet Caption please ?? Thank you Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 21, 2016 Share Posted March 21, 2016 Hi, For now try: UniTabSheet1.ClientEvents ... function afterrender(sender, eOpts) { sender.tab.btnInnerEl.setStyle('font-weight', 'normal') } and in runtime (not in MainForm.onCreate) // normal UniSession.AddJS(UniTabSheet1.JSName + '.tab.btnInnerEl.setStyle(''font-weight'', ''normal'')'); // bold UniSession.AddJS(UniTabSheet1.JSName + '.tab.btnInnerEl.setStyle(''font-weight'', ''bold'')'); Best regards. 1 Quote Link to comment Share on other sites More sharing options...
dunham Posted March 31, 2016 Author Share Posted March 31, 2016 Thank you very much Quote Link to comment Share on other sites More sharing options...
delagoutte Posted August 4, 2016 Share Posted August 4, 2016 Hello, i'm trying to set font color in red with this code UniSession.AddJS(tsDce.JSName + '.tab.btnInnerEl.setStyle(''font-color'', ''#FF0000'')') but it don't work .where can i find list of style property Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 4, 2016 Share Posted August 4, 2016 Hi, Try to use: ...... .setStyle("color", "#FF0000"); Best regards. Quote Link to comment Share on other sites More sharing options...
delagoutte Posted August 4, 2016 Share Posted August 4, 2016 hi, it's working. but where do you find all this informations of components extjs property like btnInnerEl.setStyle .... Quote Link to comment Share on other sites More sharing options...
mmx110 Posted August 5, 2016 Share Posted August 5, 2016 Hi Dear DelphiDeveloper! What do you mean about "in runtime (not in MainForm.onCreate)" Please explain more... I want to set UniTabSheet active page title font to bold and Red and the other pages remains normal Regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 5, 2016 Share Posted August 5, 2016 hi, it's working. but where do you find all this informations of components extjs property like btnInnerEl.setStyle .... Hi, Sencha documentation: http://docs.sencha.com/extjs/4.2.5/ and using the developer tools for the analysis of DOM, CSS ... Best regards. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 5, 2016 Share Posted August 5, 2016 Hi, What do you mean about "in runtime (not in MainForm.onCreate)" Well, I mean, run the code, that is a state of the program when it is already running.. I want to set UniTabSheet active page title font to bold and Red and the other pages remains normal I think in this case more suitable to use a custom CSS Best regards. Quote Link to comment Share on other sites More sharing options...
mmx110 Posted August 5, 2016 Share Posted August 5, 2016 thanks for your fast response would you mind show me how to do that by CSS? Thanks again... Quote Link to comment Share on other sites More sharing options...
mmx110 Posted August 7, 2016 Share Posted August 7, 2016 Dear Delphi Developer! I am await for css example How to doing that... Regards Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 7, 2016 Administrators Share Posted August 7, 2016 Dear Delphi Developer! I am await for css example How to doing that... Regards Can you please specify your uniGUI edition and version? Quote Link to comment Share on other sites More sharing options...
mmx110 Posted August 7, 2016 Share Posted August 7, 2016 0.99.95.1298 Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 7, 2016 Administrators Share Posted August 7, 2016 0.99.95.1298 Trial edition? Quote Link to comment Share on other sites More sharing options...
mmx110 Posted August 7, 2016 Share Posted August 7, 2016 yes Farshad Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 7, 2016 Administrators Share Posted August 7, 2016 yes FarshadThank you. We already have limited resources to provide support, so our primary focus is to support our licensed users. The amount support that we can provide to trial edition users is limited to installation issues. Of course we are happy to evaluate critical bugs reported by all developers including trial edition users. Quote Link to comment Share on other sites More sharing options...
mmx110 Posted August 7, 2016 Share Posted August 7, 2016 Dear Farshad! I Think All Users activities about UniGUI Will Makes The Forum as Rich Database and Good Encyclopedia for future... Regards Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 9, 2016 Administrators Share Posted August 9, 2016 If you are evaluating uniGUI then why do you need dealing with such extreme details such as making TabSheet caption bold? I recommend focusing on core functionality of the framework during your evaluation period. Quote Link to comment Share on other sites More sharing options...
Jean-Marc Kiener Posted November 3, 2016 Share Posted November 3, 2016 Hi folks, I tryed following: ts := TUniTabSheet.Create(Self); ts.Name := 'tab'; ts.OnClose := TabSheetClose; with ts do begin Closable := True; PageControl := pgeMain; Caption := 'Test'; ParentFont := false; Font.Name := 'Open Sans'; Font.Height := -12; end; It sheems that the Font properties has no influence of the look of the tab caption. Maybe a propertie "TabFont" would be nice...? 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.