Search found 912 matches
- Tue May 03, 2016 12:12 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
Hi Antonio, I have the files, I guess I'm just stuck on exactly where I can put them. Ideally I would like them to reside on the computer that is running my webapp.exe It looks like during the execution of the program (on the client side) it goes out to the url where these files are located. So thes...
- Mon May 02, 2016 11:57 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
Hi Antonio, Going back to the question about the script and css files that FiveWeb currently grabs from the internet.... Is there anyway to embed these info FiveWeb itself? Here is where I can see future issues... Let's say I create an app. Then I install this app at different customers. If there in...
- Tue Apr 12, 2016 5:06 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
It's a team effort
- Tue Apr 12, 2016 3:47 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
Hi Antonio, It didn't work however, once you put me on track with the Replace() function I was able to get it working using: 'document.getElementById( "oGetInterp" ).value.trim().replace(/\n/g,"XxX") + "::" + '+ ; Then in my save routine I used StrTran() to replace &quo...
- Mon Apr 11, 2016 2:10 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
Hi Antonio, I tried your suggestion by adding the StrTran() to the action clause of my save button: StrTran('document.getElementById( "oGetTest" ).value.trim() + "::" + ', CRLF, "==")+ ; When I look in my dbf file I do not see the "==" in the memo field. All I...
- Sun Apr 10, 2016 11:30 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
For a multiline get... If I enter some text in the multiline get with items on a separate line like: Test line 1. Test line 2. Test line 3. Test line 4. When I save the data and then display it again it comes out as: Test line 1.Test line 2.Test line 3.Test line 4. I'm guessing this is because the d...
- Wed Mar 30, 2016 10:55 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
That didn't work, but I did get it working (just needed to walk away from it for a while) Here is the ACTION part of the button that solved the problem: ACTION ('window.opener.document.getElementById("oGetInterp").value=window.opener.document.getElementById("oGetInterp").value+&q...
- Wed Mar 30, 2016 12:41 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
Hi Antonio, Need some help with syntax... I am trying to create a bunch of buttons with the text in aData. The text on the button part work fine. The code below will send text from one browser window to its parent. The last part (where is has aData at the end of the ACTION line) is where I am having...
- Sun Mar 27, 2016 11:33 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
Just for those who are following this...... For using enter to activate a button (I added this after the "activate" clause for the dialog): ? '<script>$("#oDlg").keydown(function (event) { if (event.keyCode == 13) { $(this).parent() .find("button:eq(0)").trigger("c...
- Sun Mar 27, 2016 12:11 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
Two more questions: 1. Is there a way to set a button as the default button so if the user hits the enter key it activates the button? 2. I'm trying to allow the user to select some "canned" text from a list and have it placed into the text field. I need it to allow the user to keep adding...
- Fri Mar 18, 2016 10:32 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
Thanks Antonio ... The same idea hit me on my drive home
- Fri Mar 18, 2016 7:16 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
Hmmm, this creates a problem. I am extracting data from a text file and it could contain slashes that the user would like to keep. This is an example of one line of text that I grab from the text file: POSSIBLE RIGHT VENTRICULAR CONDUCTION DELAY [RSR (QR) IN V1/V2] As you can see it contains both br...
- Fri Mar 18, 2016 6:17 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
Is there a way to "unescape" the info when trying to save it to the dbf?
What I am doing is passing the data with aParams then doing a
MyDBF->Text := aParams[2]
What I am doing is passing the data with aParams then doing a
MyDBF->Text := aParams[2]
- Fri Mar 18, 2016 12:31 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
Here is a self contained example of the problem. Try entering something like Test (test) and see the result. #include "fiveweb.ch" function Main( cParams ) if pcount() > 0 Process( cParams ) return nil endif SetTheme( "redmond" ) GetText() return nil //---...
- Fri Mar 18, 2016 12:04 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWeb Questions
- Replies: 140
- Views: 24552
Re: FiveWeb Questions
I ran into a little problem.... When saving the info in the gets if there is a bracket "(" in the text it gets changed. Original Text: This is a test (small test) After saving: This is a test \(small test\) If I click save again with the modified text it keeps adding slashes. This is a tes...