FoxInCloud
Re: awdefaultall.css
From: | Tuvia Vinitsky |
To: | FoxInCloud support |
included in project?
It never processes the form at all, nothing to step thru.
Could you try this please?
modify command awHTML (updated)
if m.this.lFormsAll and Lower(m.this.cForm) == Lower('yourFormThatDoesNotShowUpInAwDefaultAll.css_scx') && please add these 3 lines heresetstepon&& then step through the following instructions to understand why StrToFile() below does not get executedendif* Si les styles ont été modifiés,IF m.this.lCSSupdated AND (m.this.lFormsAll OR lDevMode() OR wlAdapter())LOCAL lcCSSfile, laCSSclass[1], laCSSid[1]* Déterminer le nom du fichier CSSIF m.this.lFormsAll lcCSSfile = m.this.cHTMLPath + 'awDefaultAll.css'ELSE&& lDevMode() OR wlAdapter()* Faire le ménage dans les anciens fichier CSS dynamiquesIFFile(m.this.cawDefaultDev)DELETEFILE (m.this.cawDefaultDev) && previous style sheet generated by this serverELSE DeleteFiles(m.this.cHTMLPath + 'awDefault_' + Replicate('?', Len(Sys(2015))-1) + '.css', 2*60) && par sécurité, fichiers qui traînent d'une précédente exécutionENDIF* Créer un nouveau fichier CSS dynamiqueSTORE m.this.cHTMLPath + 'awDefault' + Sys(2015) + '.css'TOthis.cawDefaultDev, lcCSSfileENDIF* Tabuler les définitions de stylethis.getHTML_aCSS(@m.laCSSclass, m.this.oCSSclass, .T.) && Tabule les définitions de styles des classesthis.getHTML_aCSS(@m.laCSSid, m.this.oCSSid) && Tabule les définitions de styles des objets * Générer le fichier CSSStrToFile(; cUTF8(m.this.cCSSfileHeader(m.lcCSSfile) + CRLF2; && comment + [/* -- General (W3C CSS 2.1 default) -- */] + CRLF; && /!\ {V 1.20} à supprimer en version 1.50 - transféré dans FoxInCloud.css + [* {padding:0; margin:0;}] + CRLF; && /!\ {V 1.20} à supprimer en version 1.50 - transféré dans FoxInCloud.css + [img {border:none;}] + CRLF; && /!\ {V 1.20} à supprimer en version 1.50 - transféré dans FoxInCloud.css + [table {border-spacing:0;}] + CRLF2; && /!\ {V 1.20} à supprimer en version 1.50 - transféré dans FoxInCloud.css + cListOfArray(@m.laCSSclass, CRLF) + CRLF; && generated styles for classes + cListOfArray(@m.laCSSid, CRLF) + CRLF; && generated styles for objects + Iif(Empty(m.this.cCSScustom), Space(0), '/* -- Custom CSS -- */' + CRLF + m.this.cCSScustom + CRLF); && custom additional CSS + '/* -- /awDefault.css -- */' + CRLF; ); , m.lcCSSfile; )ENDIF
I can gen it individally, but if I do the whole project it is always left out.
the only reason I could think of is that this form and all members conform to their class, which is very unlikely because of the controls .top and .left
are you aware that, in awdefaultall.css, forms are sorted in alphabetic order?
what would cause certain forms to always be "left out" of awdefaultall.css? The forms have a form_scx.htm and form_scx.js generated, but are never included in the awdefaultall.css.