Author | Topic: CSS functions used by XbpHTMLStyle() And XbpHTMLWindow() | |
---|---|---|
Itai Ben-Artzi | CSS functions used by XbpHTMLStyle() And XbpHTMLWindow() on Sat, 01 Jan 2022 00:18:02 -0800 Alaska, Can XbpHTMLStyle() and/or XbpHTMLWindow() use any CSS function or only plain HTML? In other words, can XbpHTMLStyle() and/or XbpHTMLWindow() deploy CSS functions such as calc() or linear-gradient() ? Many thanks, -Itai | |
Andreas Gehrs-Pahl | Re: CSS functions used by XbpHTMLStyle() And XbpHTMLWindow() on Sat, 01 Jan 2022 21:57:59 -0500 Itai, >In other words, can XbpHTMLStyle() and/or XbpHTMLWindow() deploy CSS >functions such as calc() or linear-gradient() ? As those classes are based on the (obsolete) HTMLayout DLL, and those functions were introduced with CSS3, they aren't supported. Only if/when Alaska replaces HTMLayout with something more modern, like Chromium or WebKit, is there any chance that those and other modern CSS (and HTML) features will be available for those classes. The XbpHTMLViewer() class, which is basically an Active-X version of the Internet Explorer, can probably handle those functions, but it doesn't render into an (Xbase++) Presentation Space. Hope that helps, Andreas Andreas Gehrs-Pahl Absolute Software, LLC phone: (989) 723-9927 email: Andreas@AbsoluteSoftwareLLC.com web: http://www.AbsoluteSoftwareLLC.com [L]: https://www.LinkedIn.com/in/AndreasGehrsPahl [F]: https://www.FaceBook.com/AbsoluteSoftwareLLC | |
Itai Ben-Artzi | Re: CSS functions used by XbpHTMLStyle() And XbpHTMLWindow() on Sat, 01 Jan 2022 22:05:43 -0800 Thank you, Andreas! I hope Alaska will soon catchup with today CSS. Can XbpHTMLStyle() and/or XbpHTMLWindow() use any CSS function (e.g. rgb()) ? If yes, is there a list of supported functions? | |
Jim Lee | Re: CSS functions used by XbpHTMLStyle() And XbpHTMLWindow() on Mon, 03 Jan 2022 02:35:06 +0100 hi, > I hope Alaska will soon catchup with today CSS. > > Can XbpHTMLStyle() and/or XbpHTMLWindow() use any CSS function (e.g. > rgb()) ? If yes, is there a list of supported functions? Htmllayout is "Outdate" and have be replace by Sciter you will find it a https://terrainformatica.com/a-homepage-section/htmlayout/ do you real want to use "Outdate" Software like IE-Engine or Htmllayout ... --- Diese E-Mail wurde von AVG auf Viren geprüft. http://www.avg.com | |
Itai Ben-Artzi | Re: CSS functions used by XbpHTMLStyle() And XbpHTMLWindow() on Sun, 02 Jan 2022 23:02:52 -0800 Jim, Sound interesting. Does it work with xBase++? How? | |
Jim Lee | Re: CSS functions used by XbpHTMLStyle() And XbpHTMLWindow() on Mon, 03 Jan 2022 02:21:03 +0100 hi, > Alaska replaces HTMLayout with something more modern, like Chromium or > WebKit, is there any chance that those and other modern CSS (and HTML) > features will be available for those classes. is there a 32 Bit Chromium Version ? as i know it is only 64 Bit so "no Chance" until Alaska switch to 64 Bit --- Diese E-Mail wurde von AVG auf Viren geprüft. http://www.avg.com | |
Jose Antonio Diego Kereje | Re: CSS functions used by XbpHTMLStyle() And XbpHTMLWindow() on Thu, 06 Jan 2022 17:33:31 +0100 Hi Jim, It is not entirely true. On the main page of https://antview.dev/ you can read the following: "Another control has come in its place, based on Chromium. It is called WebView2 and shares code with Microsoft Edge. Microsoft provides bindings for a variety of languages and even added a com interface, but not all programming languages can directly consume that particular interface. Microsoft declared that interface as being solely for C++ and refers to it as the Win32 interface whereas the other programming languages it is designed for are .net variants." I have done tests and it seems to work correctly with Xbase++, although all communication with WebView2 goes through JavaScript (sic. "The WebView2 control does not offer a direct way to interact with the DOM interface") Until Alaska develops its own option (something that should already be done), it may be an alternative. I do not know! Regards. Diego test.PRG PROJECT.XPJ | |
Osvaldo Ramirez | Re: CSS functions used by XbpHTMLStyle() And XbpHTMLWindow() on Thu, 06 Jan 2022 10:49:42 -0700 Hello guys Maybe it work ? https://github.com/webview/webview/tree/master/dll/x86 Best Regards Osvaldo Ramirez On 06/01/22 9:33, Jose Antonio Diego Kereje wrote: > Hi Jim, > > It is not entirely true. > > On the main page of https://antview.dev/ you can read the following: > "Another control has come in its place, based on Chromium. It is called > WebView2 and shares code with Microsoft Edge. > Microsoft provides bindings for a variety of languages and even added a com > interface, but not all programming languages can directly consume that > particular interface. > Microsoft declared that interface as being solely for C++ and refers to it as > the Win32 interface whereas the other programming languages it is designed for > are .net variants." > > I have done tests and it seems to work correctly with Xbase++, although all > communication with WebView2 goes through JavaScript (sic. "The WebView2 > control does not offer a direct way to interact with the DOM interface") > > Until Alaska develops its own option (something that should already be done), > it may be an alternative. I do not know! > > Regards. Diego > > begin 666 test.PRG > M(VEN8VQU9&4@)T%P<&5V96YT+F-H)PT*(VEN8VQU9&4@)T-O;6UO;BYC:"<- > M"B-I;F-L=61E("='<F$N8V@G#0HC:6YC;'5D92`G6&)P+F-H)PT*(VEN8VQU > M9&4@)T9O;G0N8V@G#0HC:6YC;'5D92`G86-T:79E>"YC:"<-"@T*(W!R86=M > M82!,:6)R87)Y*"`B6'!P56DR+FQI8B(@*0T*#0HC9&5F:6YE('AB95!?1FEN > M("`@("`@("`@("`@("`@("`@>&)E4%]5<V5R("L@,0T*(V1E9FEN92!4251? > M5$535%,@("`@("`@("`@("`@("`@)U1E<W1S)PT*(V1E9FEN92!46%1?5$53 > M5%\Q("`@("`@("`@("`@("`@)U1E<W0@,2<-"B-D969I;F4@5%A47U1%4U1? > M,5]4251,12`@("`@("`@("=796)6:65W,BP@06YT5FEE=R!A;F0@6&)A<V4K > M*R!I;G1E9W)A=&EO;B!T97-T)PT*(V1E9FEN92!46%1?345.52`@("`@("`@ > M("`@("`@("`@)TUE;G4G#0HC9&5F:6YE(%185%]154E4("`@("`@("`@("`@ > M("`@("`G475I="<-"@T*#0HJ*BHJ*BHJ*BHJ*BHJ*BHJ#0I04D]#14154D4@ > M1&)E4WES(#L@4T54($-(05)3150@5$\@04Y322`[(%)%5%523@T**BHJ*BHJ > M*BHJ*BHJ*BHJ*@T*#0HJ*BHJ*BHJ*BHJ*BHJ*BHJ#0I04D]#14154D4@07!P > M4WES#0HJ*BHJ*BHJ*BHJ*BHJ*BHJ#0I,3T-!3"!O1&QG#0H-"F]$;&<@.CT@ > M6&)P1&EA;&]G*"DZ;F5W*"`L("P@>R`P+"`P('TL('L@-SDP+"`V,#`@?2P@ > M+"`N1BX@*0T*("`@;T1L9SIT87-K3&ES="`@("`@("`@("`@("`@("`Z/2`N > M5"X-"B`@(&]$;&<Z8VQO<V4@("`@("`@("`@("`@("`@("`@.CT@>WQU,2P@ > M=3(L(&]B:GP@4&]S=$%P<$5V96YT*"!X8F507T9I;BPL+"!O8FH@*2!]#0H@ > M("!O1&QG.F)O<F1E<B`@("`@("`@("`@("`@("`@(#H](%A"4$1,1U]$3$=" > M3U)$15(-"B`@(&]$;&<Z=&ET;&4@("`@("`@("`@("`@("`@("`@.CT@5$E4 > M7U1%4U13#0H@("!O1&QG.F1R87=I;F=!<F5A.F-L:7!#:&EL9')E;CH]("Y4 > M+@T*("`@;T1L9SIC<F5A=&4H*0T*("`@07!P365N=2@@;T1L9SIM96YU0F%R > M*"D@*0T*("`@;T1L9SIS971&<F%M95-T871E*"!80E!$3$=?1E)!34535$%4 > M7TU!6$E-25I%1"`I#0H-"E-E=$%P<$9O8W5S*"!O1&QG("D-"E-E=$%P<%=I > M;F1O=R@@;T1L9R`I#0I215154DX-"@T**BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ > M*BHJ*BHJ*BH-"E!23T-%1%5212!!<'!-96YU*"!O365N=4)A<B`I#0HJ*BHJ > M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*@T*3$]#04P@;TUE;G4-"@T*;TUE > M;G4Z/2!88G!-96YU*"DZ;F5W*"!O365N=4)A<B`I#0H@("!O365N=3IT:71L > M92`Z/2!46%1?345.50T*("`@;TUE;G4Z8W)E871E*"D-"B`@(&]-96YU.F%D > M9$ET96TH('L@5%A47U1%4U1?,2P@('M\?"!497-T*"`Q("D@?2!]("D-"B`@ > M(&]-96YU.F%D9$ET96TH('L@3DE,+"!.24PL(%A"4$U%3E5"05)?34E37U-% > M4$%2051/4BP@,'T@*0T*("`@;TUE;G4Z861D271E;2@@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/4DE' > M24XL(%A"4%]/4DE'24Y?5$]03$5&5"!]('TL("Y&+B`I#0H@("!O1&QG.G1A > M<VM,:7-T("`@("`@("`@("`@("`@(#H]("Y4+@T*("`@;T1L9SID<F%W:6YG > M07)E83I#;&EP0VAI;&1R96XZ/2`N5"X-"B`@(&]$;&<Z=&ET;&4@("`@("`@ > M("`@("`@("`@("`@.CT@5%A47U1%4U1?,5]4251,10T*("`@;T1L9SIC<F5A > M=&4H*0T*("`@;T1L9SID<F%W:6YG07)E83IS971&;VYT0V]M<&]U;F1.86UE > M*"!&3TY47T1%1E!23U!?4TU!3$P@*0T*("`@;T1L9SID<F%W:6YG07)E83IR > M97-I>F4@.CT@>WQM<#$L;7`R+&]B:GP@;U=E8E9I97<R.G-E=%-I>F4H(&UP > M,B`I('T-"@T*;T1L9SIS971-;V1A;%-T871E*"!80E!?1$E34%]!4%!-3T1! > M3"`I#0IO1&QG.G-H;W<H*0T*4V5T07!P1F]C=7,H(&]$;&<@*0T*#0IA4VEZ > M93H](&]$;&<Z9')A=VEN9T%R96$Z8W5R<F5N=%-I>F4H*0T*#0IO5V5B5FEE > M=S(Z/2!88G!!8W1I=F580V]N=')O;"@I.FYE=R@@;T1L9SID<F%W:6YG07)E > M82P@+"![(#`L(#`@?2P@85-I>F4@*0T*("`@;U=E8E9I97<R.D-,4TE$("`@ > M("`@(#H](")!;G16:65W07@N06YT=FEE=R(-"B`@(&]796)6:65W,CIU<V5' > M54E4:')E860Z/2`N1BX-"B`@(&]796)6:65W,CIC<F5A=&4H*0T**B`@;U=E > M8E9I97<R.D]N3F%V:6=A=&EO;D-O;7!L971E9#H]('M\?"`Z.FQ#;VYT:6YU > M87(Z/2`N5"X@?0T**B`@;U=E8E9I97<R.F]N17AE8W5T95-C<FEP="`@("`@ > M(#H]('M\?"`Z.FQ#;VYT:6YU87(Z/2`N5"X@?0T**B`@;U=E8E9I97<R.G-E > M=%!R;W!E<G1Y*"`G56YL;V-K0V]N=')O;"<L("<G+"`G)R`I#0H@("!O5V5B > M5FEE=S(Z;F%V:6=A=&4H("=H='1P<SHO+W=W=RYB871U82YE=7,O97,O)R`I > M#0H-"E-E=$%P<$9O8W5S*"!O5V5B5FEE=S(@*0T*#0IN179E;G0Z/2!X8F5? > M3F]N90T*#0I$3R!72$E,12!N179E;G0@/#X@>&)E4%]#;&]S90T*("`@;D5V > M96YT(#H]($%P<$5V96YT*"!`;7`Q+"!`;7`R+"!`;UAB<"`I#0H@("!O6&)P > M.FAA;F1L945V96YT*"!N179E;G0L(&UP,2P@;7`R("D-"D5.1$1/#0IO1&QG > M.G-E=$UO9&%L4W1A=&4H(%A"4%]$25-07TU/1$5,15-3("D-"F]$;&<Z9&5S > 8=')O>2@I#0I215154DX-"@T*#0H-"@T* > ` > end > > > begin 666 PROJECT.XPJ > M6U!23TI%0U1=#0H@("`@0T]-4$E,12`@("`@("`]('AP<`T*("`@($-/35!) > M3$5?1DQ!1U,@/2`M<2`M=PT*("`@($1%0E5'("`@("`@("`@/2!Y97,-"B`@ > M("!'54D@("`@("`@("`@(#T@>65S#0H@("`@3$E.2T52("`@("`@("`](&%L > M:6YK#0H@("`@3$E.2U]&3$%'4R`@("`](`T*("`@(%)#7T-/35!)3$4@("`@ > M/2!A<F,-"B`@("!20U]&3$%'4R`@("`@(#T@+78-"B`@("!04D]*14-4+EA0 > M2@T*#0I;4%)/2D5#5"Y84$I=#0H@("`@5&5S="YE>&4-"@T*6U1%4U0N15A% > M70T*+R\@)%-405)4+4%55$]$15!%3D0-"B`@("!!4%!%5D5.5"Y#2`T*("`@ > M($-/3$Q!5"Y#2`T*("`@($1)4D5#5%)9+D-(#0H@("`@1D].5"Y#2`T*("`@ > M($=%5"Y#2`T*("`@($=202Y#2`T*("`@($U%359!4BY#2`T*("`@($Y!5$U3 > M1RY#2`T*("`@(%!23TU05"Y#2`T*("`@(%-%5"Y#2`T*("`@(%-41"Y#2`T* > M("`@(%A"4"Y#2`T*("`@(%1E<W0N;V)J#0H@("`@#0HO+R`D4U1/4"U!551/ > 61$5014Y$#0H@("`@5&5S="YP<F<-"@`` > ` > end > | |
Jim Lee | Re: CSS functions used by XbpHTMLStyle() And XbpHTMLWindow() on Wed, 12 Jan 2022 05:43:30 +0100 hi Diego, Yes you are right with 32 Bit Version. --- your Solution, using 3-PP ActiveX, does cost 398,- i wonder that nobody have made a "Wrapper" to use EDGE under Xbase++ like it exist under HMG https://www.hmgforum.com/viewtopic.php?f=9&t=7012 |