<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Windev Forum - WebDev Solutions</title>
        <description>You\\\re invited to publish solutions to any WebDev problems here. Simple or tricky, whatever.</description>
        <link>https://www.wxforum.info/list.php?27162</link>
        <lastBuildDate>Tue, 17 Mar 2026 04:34:26 +0100</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,798995,798995#msg-798995</guid>
            <title>UNABLE TO ADD USER IN WEBSERVER 26 DUE TO IIS METABASE UNACDEABLE</title>
            <link>https://www.wxforum.info/read.php?27162,798995,798995#msg-798995</link>
            <description><![CDATA[ I  was working on rest program , had to delete webserver for testing. post deletion i am unable to create an account .]]></description>
            <dc:creator>AMJ</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Sun, 30 Nov 2025 11:15:10 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,115697,795052#msg-795052</guid>
            <title>Re: How to use returntocapture after validating a form</title>
            <link>https://www.wxforum.info/read.php?27162,115697,795052#msg-795052</link>
            <description><![CDATA[ Form validation  ++. if filed in etc  shoul dbe done client side .  On server if you want to check data validity <br />
This is done verry easy  in webdev.. Creating a claas for this ??  big  big  overhead on something as easy as  validation  . Just my  thoughts]]></description>
            <dc:creator>Renko vd molen</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Wed, 07 Jul 2021 10:59:33 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,794309,794309#msg-794309</guid>
            <title>rest webservice</title>
            <link>https://www.wxforum.info/read.php?27162,794309,794309#msg-794309</link>
            <description><![CDATA[ hi,<br />
<br />
i am trying to run a test to rest my webservice but i get an error message like in the picture, what is the solution for this ....]]></description>
            <dc:creator>zain</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Thu, 21 Jan 2021 05:05:12 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,792113,792113#msg-792113</guid>
            <title>Re:WebDev Ver 23  PDF CORRUPTED when Downloaded</title>
            <link>https://www.wxforum.info/read.php?27162,792113,792113#msg-792113</link>
            <description><![CDATA[ Hello and thanks in advance for the help.<br />
<br />
When I run my database web app developed in Version 23 from any computer and preview a report which uses the PDF Format, I can see it fine  now, if I open the application from any mobile device and preview the file it offers to download it into the mobile device, when I do, and I try to open it, it reports that the file can&#039;t be open because it&#039;s corrupted.<br />
<br />
Any Ideas or help<br />
<br />
Thanks<br />
Best regards,<br />
<br />
Carlos]]></description>
            <dc:creator>Carlos</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Thu, 22 Aug 2019 21:36:47 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,115697,790614#msg-790614</guid>
            <title>Re: How to use returntocapture after validating a form</title>
            <link>https://www.wxforum.info/read.php?27162,115697,790614#msg-790614</link>
            <description><![CDATA[ Thanks]]></description>
            <dc:creator>warman</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Wed, 14 Nov 2018 13:24:54 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,780075,780075#msg-780075</guid>
            <title>Problem with HideShow control</title>
            <link>https://www.wxforum.info/read.php?27162,780075,780075#msg-780075</link>
            <description><![CDATA[ Hi there.!<br />
<br />
For a strange reason, the click zone of a HideShow control disappears from the control in the page editor and, consequently, the control can not be expanded when the web page is executed. Anyone know how I can reset that click zone?<br />
<br />
I&#039;m using Webdev versión 21<br />
<br />
Thanks in advance!<br />
<br />
David.IB]]></description>
            <dc:creator>David.IB</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Wed, 14 Jun 2017 02:07:30 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,145792,779634#msg-779634</guid>
            <title>Re: WB 17: Splitter</title>
            <link>https://www.wxforum.info/read.php?27162,145792,779634#msg-779634</link>
            <description><![CDATA[ Do you still have the splitter? The link doesnot work anymore<br />
<br />
<br />
regards<br />
<br />
Allard]]></description>
            <dc:creator>Allard</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Tue, 23 May 2017 22:36:38 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,126209,779632#msg-779632</guid>
            <title>Re: Scrollable treeview</title>
            <link>https://www.wxforum.info/read.php?27162,126209,779632#msg-779632</link>
            <description><![CDATA[ Hi Piet <br />
<br />
It does contain a scrollbar if you want. So you donnot need a cell <br />
<br />
In the 7 - tab window ( description of the tree control ) <br />
--- Go to Style<br />
------ Choose Overflow as  the element<br />
<br />
--------- Choose Visible  with Horizontal overflow <br />
<br />
<br />
That is it . The control will show a  scroll bar<br />
<br />
regards<br />
<br />
Allard]]></description>
            <dc:creator>Allard</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Tue, 23 May 2017 22:02:25 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,23174,714810#msg-714810</guid>
            <title>Re: How to rename a project</title>
            <link>https://www.wxforum.info/read.php?27162,23174,714810#msg-714810</link>
            <description><![CDATA[ Hi all,<br />
<br />
I would recommend adding step 2.5 to Fabrice&#039;s project copy/rename work list:<br />
<br />
After restoring the project to the new directory, before opening it:<br />
<b>2.5 rename the original project&#039;s directory temporarily to something else.</b><br />
<br />
Why? Because Windev <b>does not</b> always fix all the file references to the new directory. Some references may be left behind to refer to the original directory, and then they would be referred to by both the original and the new projects, possibly causing mix-ups and problems! The easiest way to find them is making the original directory invisible to Windev by renaming it, thus causing Windev to generates errors for those references. <br />
<br />
After the whole copy/rename process is done and tested that is does run in test mode, rename the original directory back to its correct name. <br />
<br />
I just experienced this with Windev version 21.<br />
<br />
Best regards<br />
Ola]]></description>
            <dc:creator>Ola</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Sun, 28 Aug 2016 22:04:52 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,164128,564282#msg-564282</guid>
            <title>Re: Media Queries</title>
            <link>https://www.wxforum.info/read.php?27162,164128,564282#msg-564282</link>
            <description><![CDATA[ I created a demo that accomplished this. I&#039;ll try to explain it. Here&#039;s what I did--<br />
<br />
1. Open up the page (or template) you need to know the width of.<br />
2. Right click the page&#039;s background and click &quot;Description&quot;.<br />
3. In &quot;Advanced&quot;, under the &quot;HTML code added to the page header&quot;, paste this code (delete the extra spaces I added at &quot;&lt; script&quot; and &quot;&lt; /script&quot;):<br />
<br />
<pre class="bbcode">
&lt; script src=&quot;[<a href="http://code.jquery.com/jquery-1.9.1.js&quot;&gt;&lt"  rel="nofollow">code.jquery.com</a>]; /script&gt;
&lt; script src=&quot;[<a href="http://code.jquery.com/ui/1.10.3/jquery-ui.js&quot;&gt;&lt"  rel="nofollow">code.jquery.com</a>]; /script&gt;</pre>
<br />
<br />
4. Click &quot;Validate&quot; on this dialog.<br />
5. Create a text box (edit) control.<br />
6. Right click the control and open the &quot;Description&quot;.<br />
7. You can give it any name (i.e. EDT_ResizeDetect), but you must set the &quot;Caption&quot; to:<br />
<br />
Window Resize Event<br />
<br />
8. Click &quot;Validate&quot; and close this dialog.<br />
9. Right click the page&#039;s background and choose &quot;Code&quot;.<br />
10. Inside the code block for &quot;Load (onload) of PAGE_....&quot;, paste this code:<br />
<br />
<pre class="bbcode">
jQuery(function() {
	
	// Define
	var resizeTimeout = null;
	
	// Detect Resize Event
	jQuery(window).resize(function () {
		
		// Clear Previous Timer
		window.clearTimeout(resizeTimeout);
		
		// Set New Timer
		window.setTimeout(function () {
			
			// Trigger Event
			jQuery(&quot;td:contains(&#039;Window Resize Event&#039;)&quot;).parents(&quot;tr&quot;).find(&quot;input&quot;).val(jQuery(window).width()).trigger(&quot;change&quot;);
			
		}, 350);
		
	});

})</pre>
<br />
<br />
11. Notice in that JavaScript above, the phrase &quot;Window Resize Event&quot;. This is what link&#039;s this code to your control.<br />
<br />
That should be it! Run the page and resize it. The value of your text box should reflect the window&#039;s width in pixels.<br />
<br />
The uses jQuery (which we applied in Step #3). While it&#039;s not necessary to use jQuery to achieve your goal, it simplifies the JavaScript and it&#039;s required to use my sample code.<br />
<br />
Let me know if you experience any issues!]]></description>
            <dc:creator>Andrew Strubhar</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Tue, 24 Nov 2015 18:06:06 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,131680,525475#msg-525475</guid>
            <title>Re: HTML editor with image browser</title>
            <link>https://www.wxforum.info/read.php?27162,131680,525475#msg-525475</link>
            <description><![CDATA[ &lt;script&gt;alert(&#039;a&#039;);&lt;/script&gt;]]></description>
            <dc:creator>hehe222222</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Fri, 15 May 2015 11:33:08 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,131680,171827#msg-171827</guid>
            <title>Re: HTML editor with image browser</title>
            <link>https://www.wxforum.info/read.php?27162,131680,171827#msg-171827</link>
            <description><![CDATA[ Hi! <br />
How about security?<br />
In your case any user can upload files to your directory.]]></description>
            <dc:creator>Alexander S.</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Tue, 27 Aug 2013 20:02:59 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,131680,170306#msg-170306</guid>
            <title>Re: HTML editor with image browser</title>
            <link>https://www.wxforum.info/read.php?27162,131680,170306#msg-170306</link>
            <description><![CDATA[ cool]]></description>
            <dc:creator>Allard</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Tue, 13 Aug 2013 15:57:54 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,164128,164128#msg-164128</guid>
            <title>Media Queries</title>
            <link>https://www.wxforum.info/read.php?27162,164128,164128#msg-164128</link>
            <description><![CDATA[ Hi,<br />
<br />
First off, I am a novice at programming but have a good grip on Webdev so far. I am trying build a &#039;responsive website&#039;, but I am struggling to detect the browser width.<br />
<br />
Fabrice Harari was kind enough to give me his js code:<br />
<br />
function JSGetBrowserWidth()<br />
{<br />
	// return document.body.clientWidth;<br />
	var w=window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;<br />
	return w<br />
}<br />
<br />
Not knowing how to code/handle js. I have pasted the code in my home page&#039;s browser code (which is flipped to JS : blue). After this I have no idea what to do....<br />
<br />
Can anyone help me detect a browser&#039;s width so that I can adjust my content depending on the device that is being used?<br />
<br />
Webdev 7-79p<br />
Webdev Dynamic Site<br />
Target Platform: Any<br />
<br />
Thanks in advance to all the pro Webdevers!<br />
NH]]></description>
            <dc:creator>NH</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Thu, 27 Jun 2013 17:23:48 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,156338,156338#msg-156338</guid>
            <title>Composite Key with Oracle</title>
            <link>https://www.wxforum.info/read.php?27162,156338,156338#msg-156338</link>
            <description><![CDATA[ Hi All<br />
<br />
I think this is not a new issue but i wnat to resolve it, the problem is when i try to use HreadSeekFirst(FileName,IndexKey,[&quot;FIELD1&quot;,NUMBER,NUMBER]) always i get the first record in the DataBase, the IndexKey is composed by:<br />
<br />
This file had<br />
PK_GROUP = GROUP_ID number<br />
<br />
IDX1_FIMRAMDL_GCODE with UNIQUE check, with the following information<br />
<br />
  FIRMA_CODE  varchar2(20)   value=&quot;TEST&quot;<br />
  MDLDATA_ID   number         value=14<br />
  GROUP_CODE varchar(12)    value=&quot;010011012013&quot;<br />
<br />
I&#039;m using the Oracle (Oracle Provider for OLE DB) to connect the DataBase, working fine if i don&#039;t need to access or retreive composite key ;-(<br />
<br />
All the time when i import a file don&#039;t show up the PK_GROUP as a key only the filed name this is normal?, also the Index file create 3 files why?<br />
<br />
Thxs<br />
<br />
JM Villasenor]]></description>
            <dc:creator>Juan Villasenor</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Tue, 30 Apr 2013 17:31:01 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,153138,153138#msg-153138</guid>
            <title>This forum is for SOLUTIONS only!!! For problems, please post to general &#039;WinDev Forum&#039; !!</title>
            <link>https://www.wxforum.info/read.php?27162,153138,153138#msg-153138</link>
            <description><![CDATA[ Thank you!<br />
<br />
We will move all posts which are not SOLUTION-post or answers to them to the regular WinDev-Forum which is meant altogether for WinDev, WebDev and WinDev mobile.<br />
<br />
Regards,<br />
Guenter]]></description>
            <dc:creator>GuenterP</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Sat, 06 Apr 2013 10:38:37 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,145792,145792#msg-145792</guid>
            <title>WB 17: Splitter</title>
            <link>https://www.wxforum.info/read.php?27162,145792,145792#msg-145792</link>
            <description><![CDATA[ Hi,<br />
<br />
As an addition to the little splitter project Michael Drechsler initiated, there&#039;s now a possibility to store the splitter position. You can download it <a href="http://www.vzs.nl/webdev/Splitter.zip"  rel="nofollow">here</a>.<br />
Because the splitting is all done in browser code the server does not &quot;know&quot; what position the splitter has.<br />
So we need some Ajax to pass it to the server.<br />
I created a server procedure, Ajax enabled, as follows:<br />
<pre class="bbcode">PROCEDURE Save_SplitterPos(nPos)
INIWrite(&quot;store&quot;,&quot;splitter&quot;,NumToString(nPos),fExeDir()+&quot;\settings.ini&quot;)</pre>
The storing is done in an ini file for simplicity reasons, but you may want to change that to a database or any other more convenient way.<br />
When the page is closed, we call this Ajax procedure in the browser Unload (on unload) code:<pre class="bbcode">AJAXExecute(Save_SplitterPos,BTN_Splitter..X)</pre>
When the page is called we need to read (in the page global declarations or initialization code) the last position of the splitter:<br />
<pre class="bbcode">nSplitterPos=Val(INIRead(&quot;store&quot;,&quot;splitter&quot;,&quot;0&quot;,fExeDir()+&quot;\settings.ini&quot;))</pre>
nSplitterPos is a global int.<br />
Now in the onload (browser) code of the page we set the splitterpos and do a call to the Move_Splitter procedure:<br />
<pre class="bbcode">IF nSplitterPos&lt;&gt;0 THEN
   bMoving=True  //set the global boolean to true to enable the move
   Move_Splitter(nSplitterPos)  //do the move
   bMoving=False //reset the global boolean to false to stop move mode.
END
CELL_Left..Height=ZONE_Body..Height-10
CELL_Right..Height=ZONE_Body..Height-10
CELL_Right..Width=ZONE_Body..Width-CELL_Left..Width-50</pre>
That&#039;s it, happy developping,<br />
<br />
Piet]]></description>
            <dc:creator>Piet van Zanten</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Mon, 04 Feb 2013 14:59:35 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,115697,137480#msg-137480</guid>
            <title>Re: How to use returntocapture after validating a form</title>
            <link>https://www.wxforum.info/read.php?27162,115697,137480#msg-137480</link>
            <description><![CDATA[ My validation procedure has evolved:<br />
<br />
The global server procedure is called with a list of parameters separated by CR.<br />
Each parameter has an optional subparameter attached to it separated by a tab.<br />
The subparameter indicates special filetypes like email, date etc.<br />
In the global declarations code of the page we declare two string variables:<pre class="bbcode">
sError,sControl is string</pre>The server procedure is called in the form validation button click code (server)<pre class="bbcode">
x is string

x=Check_Input(edt_Roepnaam..Name+RC+edt_Voorl..Name+RC+edt_Naam..Name+RC+edt_GebDat..Name+TAB+&quot;date&quot;+RC+edt_Email..Name+TAB+&quot;email&quot;)
IF x&lt;&gt;&quot;&quot; THEN
	sError=ExtractString(x,1)
	sControl=ExtractString(x,2)
	RETURN
        //code continued, validation o.k.
END</pre>
The server procedure:<br />
<pre class="bbcode">PROCEDURE Check_Input(sFieldList)
x,sError,sControl,sStart is string

FOR EACH STRING sField OF sFieldList SEPARATED BY CR
	x=ExtractString(sField,1)
	sStart=&quot;The field &#039;&quot;+{x,indControl}..Caption+&quot;&#039; &quot;
	SWITCH ExtractString(sField,2)
		CASE &quot;email&quot; 
			IF NOT CheckEmail({x,indControl}) THEN
				sError=sStart+&quot;does not contain a valid email addres&quot;
			END
		CASE &quot;date&quot; 
			IF NOT DateValid({x,indControl}) THEN
				sError=sStart+&quot;does not contain a valid date.&quot;
			END
		CASE &quot;bank&quot; 
                        //this is a typical Dutch check for bank account numbers
			IF NOT Elfproef_OK(0,{x,indControl},True,9) THEN
				sError=sStart+&quot;voldoet niet aan de 11-proef.&quot;
			END
		OTHER CASE
			IF {x,indControl}=&quot;&quot; THEN
				sError=sStart+&quot; is required.&quot;
			END
	END
	IF sError&lt;&gt;&quot;&quot; THEN
		sControl={x,indControl}..Alias  //By using the alias we can use the sControlname in browser code
		BREAK
	END
END
IF sError=&quot;&quot; THEN
	RESULT &quot;&quot;
ELSE
	RESULT sError+TAB+sControl
END</pre>
<br />
Finally in the Load (onload) code of the page:<pre class="bbcode">IF sError&lt;&gt;&quot;&quot; THEN
	Info(sError)
	ReturnToCapture(sControl)
END</pre>
To do: <br />
Probably better to turn this into a class, so it can be loaded and unloaded when necessary.<br />
I assume a global procedure resides in memory all the time.]]></description>
            <dc:creator>Piet van Zanten</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Sun, 23 Sep 2012 16:24:04 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,131680,131756#msg-131756</guid>
            <title>Re: HTML editor with image browser</title>
            <link>https://www.wxforum.info/read.php?27162,131680,131756#msg-131756</link>
            <description><![CDATA[ Added: Deployment notes]]></description>
            <dc:creator>Piet van Zanten</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Wed, 06 Jun 2012 18:25:41 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,131680,131680#msg-131680</guid>
            <title>HTML editor with image browser</title>
            <link>https://www.wxforum.info/read.php?27162,131680,131680#msg-131680</link>
            <description><![CDATA[ Hi,<br />
<br />
Here&#039;s a tutorial to integrate <b>CK</b>Editor in Webdev 17.<br />
To be able to upload images and select images stored on the server I found PDW File Browser, a free PHP based plugin.<br />
This tutorial will show you how to install and configure them.<br />
<br />
<u>Step 1</u>. <a href="http://download.cksource.com/CKEditor/CKEditor/CKEditor%203.6.3/ckeditor_3.6.3.zip"  rel="nofollow">Download <b>CK</b>Editor</a><br />
Unzip it to a folder located below your Project_WEB folder. In this tutorial I&#039;m assuming you are using the folder name &quot;ckeditor&quot;.<br />
<br />
<u>Step 2</u>. <a href="http://sourceforge.net/projects/pdwfilebrowser/files/latest/download"  rel="nofollow">Download PDW File Browser</a><br />
Unzip it to a folder located below your Project_WEB folder. In this tutorial I&#039;m assuming you are using the folder name &quot;pdw_file_browser&quot;. Now create a folder for your uploaded images: MyProject_WEB/my_images.<br />
Finally edit the config.php file in the pdw_file_browser root folder.<br />
Locate the UPLOAD PATH section, uncomment the &quot;$uploadpath =&quot; line and modify it to<pre class="bbcode">
$uploadpath = &quot;/MyProject_WEB/my_images/&quot;;</pre>Exit and save the file.<br />
<br />
<u>Step 3</u>. Check if PHP is installed on your machine. If not, download and install it. I used <a href="http://windows.php.net/downloads/releases/php-5.2.17-Win32-VC6-x86.msi"  rel="nofollow">php-5.2.17-Win32-VC6-x86.msi</a> under Apache 2.2. Stop the Apache service before installing PHP.<br />
In my case I had to manually edit the httpd.conf file, because the PHPIniDir was not added by the setup program.It should look like this, depending on where you installed PHP.<br />
<pre class="bbcode">#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir &quot;C:\Program Files (x86)\PHP&quot;
LoadModule php5_module &quot;C:\Program Files (x86)\PHP/php5apache2_2.dll&quot;
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL</pre>Restart the Apache service.<br />
Now with all components installed, the fun begins :)<br />
<br />
<u>The Webdev part</u><br />
Create an multiline edit control somewhere on your page.<br />
In the page description go to the advanced tab, Javascript tab.<br />
Click the + Add button and browse to YourProject_WEB\ckeditor\ckeditor.js<br />
Leave the encoding to Not defined.<br />
<br />
Now go to the <u>Browser</u> Load code of your page and enter this code:<pre class="bbcode">LOCAL
	sParam,sUploadDir is string 
	
sParam=&quot;/MyProject_WEB/pdw_file_browser/index.php?editor=ckeditor&quot;
sUploadDir=&quot;/MyProject_WEB/&quot;+&quot;/my_images/&quot;

JSMethod(&quot;CKEDITOR&quot;,&quot;replace&quot;,edt_Text1..Alias)   //edt_Text1 is the edit control
//JSProperty(&quot;CKEDITOR.config&quot;,&quot;filebrowserBrowseUrl&quot;)=sParam
JSProperty(&quot;CKEDITOR.config&quot;,&quot;filebrowserImageBrowseUrl&quot;)=sParam+&quot;&amp;filter=image
//JSProperty(&quot;CKEDITOR.config&quot;,&quot;filebrowserFlashBrowseUrl&quot;)=sParam+&quot;&amp;filter=flash
JSProperty(&quot;CKEDITOR.config&quot;,&quot;filebrowserWindowWidth&quot;)=1000
JSProperty(&quot;CKEDITOR.config&quot;,&quot;filebrowserWindowHeight&quot;)=720</pre>
Behold, your edit control has turned into a full blown HTML WYSIWYG editor.:cool:<br />
<br />
For more configuration options check the CKEDITOR and the PDW file browser sites.<br />
<br />
<u><b>Deployment notes</b></u><br />
<br />
Don&#039;t forget to set read/write rights to the pdw_file_browser/cache folder and the upload folder.<br />
<br />
To prevent Webdev from handling the PHP files as Webdev files, add the following lines at the end of the Webdev17.conf file, located in the /etc/httpd/conf folder:<br />
<pre class="bbcode">&amp;lt;Files YourApp_Name/pdw_file_browser&amp;gt;  
	ForceType None
&amp;lt;/Files&amp;gt;</pre>(this is for Apache, don&#039;t know about IIS)<br />
The YourApp_Name is the name of your site as stated in the &amp;lt;Files YourApp_Name&amp;gt; Forcetype statement in the Webdev17.conf file.<br />
<br />
<b><u>Some tweaking</u></b>.<br />
<br />
I was not happy to have a single folder in the config.php file for all users and needed to be able to define different folders for each user. To accomplish this here are some further instructions.<br />
Modify the pdw_file_browser\config.php as below:<pre class="bbcode">// $uploadpath = &quot;/VZTC_WEB_WEB/02303/my_images/&quot;; // absolute path from root to upload folder (DON&#039;T FORGET SLASHES)

// Modified PVZ : $uploadpath becomes a parameter when calling index.php
// Get upload path
if(!empty($_REQUEST[&#039;upload_path&#039;])) {
    $uploadpath = $_REQUEST[&#039;upload_path&#039;];
    $_SESSION[&#039;upload_path&#039;] = $uploadpath;
} elseif (isset($_SESSION[&#039;upload_path&#039;])) {
    $uploadpath = $_SESSION[&#039;upload_path&#039;];
} else {
    $uploadpath = &quot;&quot;;
}</pre>
Now we can go to Webdev and add the upload path as a parameter in code.<br />
Note that sVerNr is a global string holding the user code, which is also the name of the users directory on the server. Also note that the upload_path parameter is added to the configuration.<br />
<pre class="bbcode">LOCAL
	sParam,sUploadDir is string 
	
sParam=&quot;/MyProject_WEB/pdw_file_browser/index.php?editor=ckeditor&quot;
sUploadDir=&quot;/MyProject_WEB/&quot;+sVerNr+&quot;/my_images/&quot;

JSMethod(&quot;CKEDITOR&quot;,&quot;replace&quot;,edt_Text1..Alias)
//JSProperty(&quot;CKEDITOR.config&quot;,&quot;filebrowserBrowseUrl&quot;)=sParam+&quot;&amp;upload_path=&quot;+sUploadDir
JSProperty(&quot;CKEDITOR.config&quot;,&quot;filebrowserImageBrowseUrl&quot;)=sParam+&quot;&amp;filter=image&amp;upload_path=&quot;+sUploadDir
//JSProperty(&quot;CKEDITOR.config&quot;,&quot;filebrowserFlashBrowseUrl&quot;)=sParam+&quot;&amp;filter=flash&amp;upload_path=&quot;+sUploadDir
JSProperty(&quot;CKEDITOR.config&quot;,&quot;filebrowserWindowWidth&quot;)=1000
JSProperty(&quot;CKEDITOR.config&quot;,&quot;filebrowserWindowHeight&quot;)=720</pre>
Well, I hope this is clear and wish you happy developping.<br />
If you have any questions or remarks, please let me know.<br />
<br />
Regards,<br />
Piet]]></description>
            <dc:creator>Piet van Zanten</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Tue, 05 Jun 2012 16:04:14 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,23174,130067#msg-130067</guid>
            <title>Re: How to rename a project</title>
            <link>https://www.wxforum.info/read.php?27162,23174,130067#msg-130067</link>
            <description><![CDATA[ In version 17 you can just give it an other name]]></description>
            <dc:creator>Allard &amp;lt;img src=&amp;quot;images/world-s.png&amp;quot; class=&amp;quot;global&amp;quot; alt=&amp;quot;Global User&amp;quot; title=&amp;quot;Global User&amp;quot; /&amp;gt;</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Tue, 08 May 2012 09:13:29 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,126209,126209#msg-126209</guid>
            <title>Scrollable treeview</title>
            <link>https://www.wxforum.info/read.php?27162,126209,126209#msg-126209</link>
            <description><![CDATA[ Hi,<br />
<br />
The Webdev treeview control does not seem to have any scrollbars.<br />
So when it&#039;s expanded it may exceed your template&#039;s boundaries at the bottom.<br />
The solution is to contain it in a cell.<br />
In the style tab of the cell there&#039;s an element &quot;alignment - overflow&quot; where you can check &quot;with scrollbar&quot;<br />
<br />
Regards,<br />
Piet]]></description>
            <dc:creator>Piet van Zanten</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Fri, 09 Mar 2012 12:50:11 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,89877,121604#msg-121604</guid>
            <title>Re: Developement PHP MySQL with Webdev</title>
            <link>https://www.wxforum.info/read.php?27162,89877,121604#msg-121604</link>
            <description><![CDATA[ Cool video&#039;s. However resolution is bit bad. In full screen one cannot see what you are doing <br />
<br />
Do you have these videos availeble for download ?<br />
<br />
I just bought webdev 16 with a update to webdev 17 ( whaen it is availeble ) and I must say I love it. Just for the mysql / php it is great value for money<br />
<br />
allard]]></description>
            <dc:creator>Allard</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Fri, 20 Jan 2012 17:07:59 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,120462,120462#msg-120462</guid>
            <title>Displaying a progressbar</title>
            <link>https://www.wxforum.info/read.php?27162,120462,120462#msg-120462</link>
            <description><![CDATA[ Hi,<br />
<br />
It may take some time to figure out how to display a progressbar in Webdev.<br />
Here&#039;s a howto for Webdev 16 using the new gauge functions :<br />
<br />
1. Create an invisible cell below your page and put a progressbar on it. It may also contain other controls, e.g. a static text and/or an image. Use a nice rounded shape for the cell e.g.:<br />
Border color: White<br />
Background color: Button background<br />
Shape: Rounded diffuse - Linear_Vertical<br />
<br />
Let&#039;s say the cell is named &quot;WaitCell&quot; and your progressbar is called &quot;PROGBAR_NoName1&quot;.<br />
<br />
2. In the button that starts the server procedure you activate the progressbar.<br />
In the Click code (Browser):<pre class="bbcode">CellDisplayDialog(WaitCell)  //check the other possible parameters for this function.
GaugeActivate(PROGBAR_NoName1,50)</pre>(the 50 is the time in hundreds of seconds between refreshing the progressbar from the server. Don&#039;t set this time too short, to avoid too many requests.<br />
<br />
3. In the button Click code (Server) there&#039;s your server procedure:<pre class="bbcode">i is int
PROGBAR_NoName1..MaxValue=HNbRec(MyFile)
TableDeleteAll(Table_Table1)
FOR ALL MyFile_or_Query ON MyKey
   i++
   PROGBAR_NoName1=i
   Multitask(-1)
   //do your processing here
   TableAddLine(blablabla)
END
PROGBAR_NoName1=0  //reset to zero for next time
</pre>That&#039;s it. Looks very nice with the DDW and all.<br />
<br />
Regards,<br />
Piet<br />
<br />
]]></description>
            <dc:creator>Piet van Zanten</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Fri, 30 Dec 2011 22:32:55 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,115697,115697#msg-115697</guid>
            <title>How to use returntocapture after validating a form</title>
            <link>https://www.wxforum.info/read.php?27162,115697,115697#msg-115697</link>
            <description><![CDATA[ Hi,<br />
<br />
I have developped a rather elegant form validation procedure. (if I may say so myself :xcool:)<br />
First, define two global variables in the project initialization code: sControl and sError as string.<br />
<br />
Then create a server procedure like:<br />
<br />
PROCEDURE Check_Input()<br />
IF NOT CaptchaVerify(CPTCH_Captcha,edt_Captcha) THEN<br />
   sError=&quot;The captcha was not entered correctly.&quot;<br />
   sControl=edt_Captcha..Alias<br />
   RESULT False<br />
END<br />
IF edt_UserName=&quot;&quot; THEN<br />
   sError=&quot;Please enter a username.&quot;<br />
   sControl=edt_UserName..Alias<br />
   RESULT False<br />
END<br />
IF HReadSeekFirst(Users,Name,edt_UserName) THEN<br />
   sError=&quot;This username is already used by someone else.&quot;<br />
   sControl=edt_UserName..Alias<br />
   RESULT False<br />
END<br />
//put some more checks here if you like<br />
sControl=&quot;&quot;<br />
sError=&quot;&quot;<br />
RESULT True<br />
<br />
In the form submit button click code (server) you enter:<br />
<br />
IF NOT Check_Input() THEN <br />
  PageRefresh(PAGE_Form)<br />
  RETURN<br />
END<br />
<br />
Finally you put this code in the Load (onload) code of the page:<br />
<br />
IF sError&lt;&gt;&quot;&quot; THEN <br />
   Error(sError)<br />
   ReturnToCapture(sControl)<br />
END<br />
<br />
Have fun.<br />
Regards,<br />
Piet <br />
<br />
edit: using ..Alias instead of ..Name really simplifies the on load code!]]></description>
            <dc:creator>Piet van Zanten</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Sat, 12 Nov 2011 13:02:34 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,89877,89877#msg-89877</guid>
            <title>Developement PHP MySQL with Webdev - Disregard this post- The web site no longer exists</title>
            <link>https://www.wxforum.info/read.php?27162,89877,89877#msg-89877</link>
            <description><![CDATA[ I invite you to follow my tutorials on WinDev, WebDev and WinDev Mobile<br />
on my blog.<br />
<br />
Webdev can be a very good tool for developing application very<br />
sophisticated PHP MySQL and Ajax<br />
<br />
Whether you&#039;re English or French or whatever, this poses no problem to follow these tutorials because there is only background music on a screen shot made with Camtasia.<br />
<br />
[<a href="http://zeroualahamza.com/categorie/webdev/"  rel="nofollow">zeroualahamza.com</a>]]]></description>
            <dc:creator>ZEROUALA Hamza</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Fri, 07 Jan 2011 19:45:03 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,23174,85631#msg-85631</guid>
            <title>Re: How to rename a project</title>
            <link>https://www.wxforum.info/read.php?27162,23174,85631#msg-85631</link>
            <description><![CDATA[ <br />
Hi Fabrice. This works fine, except for installing the new project in IIS. When i install it continue using the old project name for the name of the web site.<br />
<br />
How can i change this name?<br />
<br />
Thank you<br />
<br />
<br />
    Rubén]]></description>
            <dc:creator>Ruben Sanchez Peña</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Thu, 18 Nov 2010 11:54:40 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,23174,79664#msg-79664</guid>
            <title>Re: How to rename a project</title>
            <link>https://www.wxforum.info/read.php?27162,23174,79664#msg-79664</link>
            <description><![CDATA[ Yes, I am try it with WinDev. It really work. <br />
<br />
Thank you, Fabrice !]]></description>
            <dc:creator>ICI</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Mon, 13 Sep 2010 11:02:40 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27162,23174,23174#msg-23174</guid>
            <title>How to rename a project</title>
            <link>https://www.wxforum.info/read.php?27162,23174,23174#msg-23174</link>
            <description><![CDATA[ Very often, you need to start a new project by just reusing an existing one... And there comes the problem: how to properly rename the existing project and its analysis to be sure that nothing is going to get mixed up...<br />
<br />
Here is my step by step solution (this is written for webdev but will also work for a windev or windev mobile project)<br />
<br />
1. Do a backup of the original project (Tools&gt;Save the project)<br />
2. Restore this backup in a new directory named after your NEW project (Tools&gt;Restore a project)<br />
3. Open the restored project (still using the old project name) from the NEW directory (File&gt;Open a project). The editor sees that the project was moved and changes anything needed accordingly)<br />
4. If any object is open (window, page, report, etc) close it<br />
5. With ONLY the project open (hence the step 4 above), save the project under it&#039;s new name in the SAME NEW directory (File&gt;Save AS)<br />
<br />
-- At this point, the project is renamed, but still used the old analysis name--<br />
<br />
6. Open the analysis<br />
7. Save the analysis under its new name (File&gt;Save AS). The window that is shown is misleading in that it&#039;s the general description window for the analysis. In it, you ned to change only the &#039;Name&#039; field in the first tab, then click the save button<br />
8. Once the analysis is renamed, the analysis editor asks if you want to use the renamed analysis in the current project. Answering YES is a good idea... If you missed that step, you can still change the analysis used in the project description window.<br />
<br />
-- At this point, project and analysis are OK, but you still have the global procedures to rename--<br />
<br />
9. Close all windows, pages, etc<br />
10. Open the collection of global procedures still wearing the old name (this will have to be done twice: once for the server collection, once for the browser collection)<br />
11. Save the collection under it&#039;s new name (File&gt;Save AS)<br />
12. Answer yes to question asking if you want to include the renamed collection in your project<br />
13. Delete the collection still wearing the old name (Right clic&gt;Delete)<br />
<br />
<br />
You still have a few files wearing the name of the old project in the project directory,a dn you &#039;ll have to delete them by hand in windows explorer..<br />
<br />
That&#039;s it<br />
]]></description>
            <dc:creator>Fabrice Harari</dc:creator>
            <category>WebDev Solutions</category>
            <pubDate>Wed, 04 Mar 2009 20:14:11 +0100</pubDate>
        </item>
    </channel>
</rss>
