> Le 16 août 2016 à 21:59, [email protected] a écrit : > > Hi Everyone, > > The Design manual does a good job describing how style sheets on buttons, > fields, variables, etc. can set the font, size, and style. What I'm > missing, though, is how one *removes* a style sheet from an object, short > of deleting the object and re-creating it? > > I've discovered that in v15r3, a listbox will use the style sheet even if > OBJECT SET FONT and OBJECT SET FONT SIZE are applied to the header areas. > Hopefully 4D will find and fix this bug, but in the meantime, I'd like to > remove the style sheet (which isn't really needed, anyhow). > > This is 4D v15r3, Windows.
maybe : http://livedoc.4d.com/4D-Language-Reference-15.1/Objects-Forms/OBJECT-SET-STYLE-SHEET.301-2685705.en.html the name of an existing style sheet (if the style sheet does not exist, an error is returned, that you can intercept using a method installed by the ON ERR CALL <http://livedoc.4d.com/4D-Language-Reference-15.1/Interruptions/ON-ERR-CALL.301-2685819.en.html> command). the Automatic style sheet constant from the "Font Styles <http://livedoc.4d.com/4D-Language-Reference-15.1/List-of-constant-themes/Font-Styles.302-2685472.en.html>" theme in order to apply the "Automatic" style sheet. an empty string ("") so as to not apply the style sheet to the object <http://livedoc.4d.com/4D-Language-Reference-15.1/Objects-Forms/OBJECT-SET-STYLE-SHEET.301-2685705.en.html#>. Bertrand SOUBEYRAND --- La Soub Compagnie 33 bd de la Liberté - 13001 Marseille Bureau : +33 4 84 25 21 99 http://www.soubeyrand-4d-developer.eu <http://www.soubeyrand-4d-developer.eu/> Belgique : +32 87 84 00 88 ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

