Hi Victor, In Javascript navigator.language will return the browser language. So you can make a function: function get_language() { return navigator.language; } See https://www.w3schools.com/jsref/prop_nav_language.asp Kind regards, Pietby pietvanz - WinDev Forum
Hi Ismir, Just get rid of the embedded query and use a normal one. (use "save as" on the embedded query) Then you have full control over the execution mode of the query and you won't have to execute it twice. I always execute the query in the initialization code of the table. Kind regards, Pietby pietvanz - WinDev Forum
Hi Fabrice, BTW, I'm using your solution now, I adapted it a bit for use with a regular popup, The problem with my solution was that onclick was not processed on IOS touch devices. Apparently Apple decided that a div needs a cursor:pointer style to have a touch event and I cannot make that happen, at least not in a simple way. Works fine, thanks for the idea! Kind regards, Pietby pietvanz - WinDev Forum
Hi Aad, This is what I sent my clients to add: v=spf1 a:vzs.nl ~all AFAIK this should work, please correct me if I'm wrong. Most providers have a utility to add an spf TXT-record to the DNS-settings of the domain. Kind regards, Pietby pietvanz - WinDev Forum
Hi JP, It says that if you only need to run the task once, then you don't need to create a service. You can create a normal program without any GUI and use the Windows task scheduler to run it periodically. That way the program only runs when needed and does not use any resources all the time. It is easier to debug, because you can test it by running it manually. Kind regards, Pietby pietvanz - WinDev Forum
Hi Fabrice, There are always many ways, that's what I like about Webdev. Although a close by click outside should be a standard option. I'll send a request for version 25 . Kind regards, Pietby pietvanz - WinDev Forum
Hi Aad, so that's probably why some mails are classified as spam. Some don't even get delivered. Strange enough we have a customer that uses his smtp.office365.com and that works ok, slow indeed but it works. Not strange at all, that's exactly what I did by letting them use their own mailserver. For the others the spf record I mentioned is an option. Kind regards, Pietby pietvanz - WinDev Forum
Hi Guys, There's always the workaround.. The "caption" next to the checkbox is not the caption, but the content and afaik it cannot be changed at runtime. Instead, you can just remove the content of the checkbox and resize the checkbox to just the size of the checkmark. Place a static or rta control next to it et voila you can change that at runtime easily. Kind regards,by pietvanz - WinDev Forum
Hi, On most modern sites you can close a popup by clicking outside it. I created a little hack to do the same in Webdev. The mechanism of a popup is to place a div over the entire page using opacity to show the page underneath it with a ddw effect. The popup itself is displayed inside this div. Webdev does not assign an id to this div, so we have to find a way to recognize it. What do weby pietvanz - WinDev Forum
Hi Aad, One solution is to have your clients add an spf record for their domain, to allow your mailserver to send mails for them. Recently, because of problems for users of Office365, I added an option for clients to use their own mailserver. Slows things down, but it works. Kind regards, Pietby pietvanz - WinDev Forum
Hi JP, If you only want the body part then this will do the trick: Procedure get_Body(sHTML) sResult is string sResult=ExtractString(sHTML,1,"</body>") sResult=ExtractString(sResult,2,"<body>") RESULT sResult Kind regards, Pietby pietvanz - WinDev Forum
Hi Fabrice, That's a possibility, I could build my own dErase function, But I was surprised that there's no function for that. There's such a variety of drawing functions available that I'm suprised it does not include a dErase function of some sort. Thanks anyway. Kind regards, Pietby pietvanz - WinDev Forum
Hi Fabrice, I'm sorry if I was not clear, but I only want to erase part of the image, while keeping transparency. Kind regards, Pietby pietvanz - WinDev Forum
Hi, I'm having the following problem: I copy a small image variable onto a bigger image using dCopy. Both images use transparency, no solid background. Now after the copy action the previous content of the copied area is still visible underneath in the destination image. So there was a merge instead of an overwrite. How do I erase the original content of the copied area? I tried firby pietvanz - WinDev Forum
Hi Don, In addition to Paolo's reply you can also modify an array in a loop like this: FOR EACH ensSTBuffer of ar_MyArray IF ensSTBuffer.Condition="test" THEN ensSTBuffer.Value=NewValue END This saves you the trouble of the use of indexes. Kind regards, Pietby pietvanz - WinDev Forum
Hi Derek, You don't even need any javascript, just css will do: Add this css to the header of your page, for instance by code; MyPage..HTMLHeader+=CR+[ <style> #navbar {position:fixed;top:0;left:0;z-index: 1;width:100%;height: 94px;} </style> ] And in the advanced tab of the cell you need floating on top you put a div around it by adding: HTML code before: <div idby pietvanz - WinDev Forum
Hi André, Modifying captions in browser code is a new feature in version 23. So in version 22 you need to use server code (or AJAX in browsercode if you can't use servercode). Just put the code in the serverprocedure where the number of clients is calculated. Kind regards, Pietby pietvanz - WinDev Forum
Hi André, First of all, what kind of looper is it, an AJAX looper cannot have a pager (because it has scrollbars instead) only a Classic or Browser looper can. Try putting the pager directly below the looper and on the same tab, just to test if it works at all. Having a pager on a popup and on a tab is a bit asking for trouble, perhaps you should reconsider your UI. Kind regards, Pietby pietvanz - WinDev Forum
Hi Noel, Probably because it was so silly that it was a nuisance. I for one completely ignored it. Kind regards, Pietby pietvanz - WinDev Forum
Hi Uccino, If you select the Context-sensitive view of the code (If not enabled, check this pane in the panes menu) then you can click on the 4th icon at the top of the pane (All object codes, a dotted square with two blue rectangles at the bottom) to get a view of all code in the current object. (Window, class etc.) Kind regards, Pietby pietvanz - WinDev Forum
Hi André, A quick answer then before it has been removed: Do a ExecuteProcess(cmb_MyCombo,trtChange) in the onload section of the page. (Not sure if the return after Ajax Process works if you do it in from server code) Kind regards, Pietby pietvanz - WinDev Forum