This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
10696
Web Server - Ask For Help / Re: NetWebBrowse Template Settings Docs
« on: August 20, 2007, 01:00:50 AM »
Hi Drew,
They're all styles set in the all.css (also netweb.css) files.
The defaults there are just the styles in the all file, and they're optional so you can override them with your own styles.
See this thread:
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=116.0
Cheers
Bruce
They're all styles set in the all.css (also netweb.css) files.
The defaults there are just the styles in the all file, and they're optional so you can override them with your own styles.
See this thread:
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=116.0
Cheers
Bruce
10697
Web Server - Ask For Help / Re: Drop Lists in IE vs FF
« on: August 20, 2007, 12:12:10 AM »
I've tested using IE7, example 33, and 4.29, and it seems ok. So maybe try with 4.29 as soon as it's built. I think 4.28 is probably also ok, because I haven't explicitly changed anything with drop-lists in 4.29.
cheers
Bruce
cheers
Bruce
10698
Web Server - Ask For Help / Re: Using Loop until Access: on a form
« on: August 19, 2007, 11:32:09 PM »
Hi Kevin,
You gotta lay off those beers on the weekend
From my note
>> I suspect the problem in this case is the missing
>> Access:POCOST.UseFile() before the call to SET.
This is consistent with the FETCH working, because the Fetch does a UseFile internally. The Next also does on internally but it comes AFTER the SET, so the SET is essentially ignored, so the NEXT fails.
Cheers
Bruce
You gotta lay off those beers on the weekend

From my note
>> I suspect the problem in this case is the missing
>> Access:POCOST.UseFile() before the call to SET.
This is consistent with the FETCH working, because the Fetch does a UseFile internally. The Next also does on internally but it comes AFTER the SET, so the SET is essentially ignored, so the NEXT fails.
Cheers
Bruce
10699
Web Server - Ask For Help / Re: validate login from data in a file
« on: August 19, 2007, 05:38:01 AM »
Hi Drew,
After calling
Access:TTuser.Open()
you must call
Access:TTUser.UseFile()
Also don't forget to call
Access:TTUSER.Close()
at the end.
Cheers
Bruce
After calling
Access:TTuser.Open()
you must call
Access:TTUser.UseFile()
Also don't forget to call
Access:TTUSER.Close()
at the end.
Cheers
Bruce
10700
Web Server - Ask For Help / Re: Bold Comments
« on: August 19, 2007, 05:36:30 AM »
Hi Stan,
Editing the shipping style files is not the recommended approach.
See this thread for details on creating, and using, your own style files.
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=116.0
Cheers
Bruce
Editing the shipping style files is not the recommended approach.
See this thread for details on creating, and using, your own style files.
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=116.0
Cheers
Bruce
10701
Web Server - Ask For Help / Re: Using Loop until Access: on a form
« on: August 19, 2007, 05:34:24 AM »
Hi Kevin,
You should not assume that tables have been opened for you.
I suspect the problem in this case is the missing
Access:POCOST.UseFile() before the call to SET.
Event better would be an explicit
Acess:POCOST.Open() and Access:POCOST.Close() around the code.
Cheers
Bruce
You should not assume that tables have been opened for you.
I suspect the problem in this case is the missing
Access:POCOST.UseFile() before the call to SET.
Event better would be an explicit
Acess:POCOST.Open() and Access:POCOST.Close() around the code.
Cheers
Bruce
10702
Web Server - Share Knowledge / Popup messages when form validation fails.
« on: August 17, 2007, 12:23:26 AM »
In Version 4.29 I've simplified the method for displaying popup messages on a Form.
For an example, see example number 3. You will see this has resulted in a simplification of all the examples that do logins.
How it works
set a local variable (loc:alert) when you set loc:invalid.
The contents of loc:alert will be displayed as a popup message when the form is re-loaded.
It will also be displayed as a message on the form, just below the sub-header of the form. The CSS Class of this message is set on the CSS Classes tab (Alert:).
If you wish to suppress the popup, and display only the message, the tick off the option on the Advanced tab ("Popup Alert Message")
Advanced:
This feature works on the existance of a Value called ALERT. So if you would like to call a form, and include a popup message when the form opens, then you can append the parameter to the URL. For example:
'MySurveyForm?Alert=You must be over 18 to take this survey'
Considerations for those upgrading from 4.28 or earlier
If you have used a technique based on the login examples (In other words a combination of the XHTML tab, and the DisplayLoginMessage, and PopupLoginMessage procedures) then you might want to revise it to use this new (easier) approach.
Cheers
Bruce
For an example, see example number 3. You will see this has resulted in a simplification of all the examples that do logins.
How it works
set a local variable (loc:alert) when you set loc:invalid.
The contents of loc:alert will be displayed as a popup message when the form is re-loaded.
It will also be displayed as a message on the form, just below the sub-header of the form. The CSS Class of this message is set on the CSS Classes tab (Alert:).
If you wish to suppress the popup, and display only the message, the tick off the option on the Advanced tab ("Popup Alert Message")
Advanced:
This feature works on the existance of a Value called ALERT. So if you would like to call a form, and include a popup message when the form opens, then you can append the parameter to the URL. For example:
'MySurveyForm?Alert=You must be over 18 to take this survey'
Considerations for those upgrading from 4.28 or earlier
If you have used a technique based on the login examples (In other words a combination of the XHTML tab, and the DisplayLoginMessage, and PopupLoginMessage procedures) then you might want to revise it to use this new (easier) approach.
Cheers
Bruce
10703
Web Server - Share Knowledge / Re: Hand-written HTML - or should that be XHTML?
« on: August 17, 2007, 12:23:20 AM »
update:
If you have some hand-coded HTML, and you want to see if it's XHTML (ie XML complient) then you can use this page :
http://www.searchengineforums.com/tools/validate-xml/
It's a bit of a funny page, yo have to scroll over to the right to see the place where you can paste your XHTML, but it seems to work fine.
cheers
Bruce
If you have some hand-coded HTML, and you want to see if it's XHTML (ie XML complient) then you can use this page :
http://www.searchengineforums.com/tools/validate-xml/
It's a bit of a funny page, yo have to scroll over to the right to see the place where you can paste your XHTML, but it seems to work fine.
cheers
Bruce
10704
Web Server - Ask For Help / Re: Tab control in Wizard forms with child browses
« on: August 16, 2007, 04:57:20 AM »
Which version of NetTalk Casey?
Cheers
Bruce
Cheers
Bruce
10705
Web Server - Ask For Help / Re: Span prompt/value/comment
« on: August 16, 2007, 04:52:27 AM »
Hi Mark,
The form is conceptually divided into 3 columns.
The "Prompt" then the "Value" then the "Comment".
On the form, at either the Form level, tab level, or form-field level you can specify to "merge" these 3 columns into 1.
For example, If you add a Display field (for example a button) and you want it to be on the very left of the form, then you'd set this form field to "span".
Browses automatically "span" across all 3 columns.
Cheers
Bruce
The form is conceptually divided into 3 columns.
The "Prompt" then the "Value" then the "Comment".
On the form, at either the Form level, tab level, or form-field level you can specify to "merge" these 3 columns into 1.
For example, If you add a Display field (for example a button) and you want it to be on the very left of the form, then you'd set this form field to "span".
Browses automatically "span" across all 3 columns.
Cheers
Bruce
10706
Web Server - Ask For Help / Re: I am a bit tired of 'Localhost'
« on: August 16, 2007, 02:33:02 AM »
Hi Edvard,
You need to set your router (Adsl router?) to allow incoming connections.
In other words the IP address you see at myip.dk, is not the IP address of your computer. It is the IP address of your _router_. (You can prove this by going to more than 1 machine on your lan, and going to that web site. Notice they all return the _same_ ip address, the address of your _router_.)
So (typically) using your browser, go to your router setup, and set incoming connections on port 80, to be routed to the specific machine on your lan where the program is running.
Cheers
Bruce
You need to set your router (Adsl router?) to allow incoming connections.
In other words the IP address you see at myip.dk, is not the IP address of your computer. It is the IP address of your _router_. (You can prove this by going to more than 1 machine on your lan, and going to that web site. Notice they all return the _same_ ip address, the address of your _router_.)
So (typically) using your browser, go to your router setup, and set incoming connections on port 80, to be routed to the specific machine on your lan where the program is running.
Cheers
Bruce
10707
Web Server - Share Knowledge / Re: Capitalize Input
« on: August 14, 2007, 11:16:39 PM »
Hi Mark,
your javascript is wrong. It should be
'var str = this.value; str = str[0].toUpperCase() + str.substr(1);
this.value = str; alert(this.value);'
which incidentally can be reduced to
'this.value = this.value[0].toUpperCase() + this.value.substr(1);'
Cheers
Bruce
your javascript is wrong. It should be
'var str = this.value; str = str[0].toUpperCase() + str.substr(1);
this.value = str; alert(this.value);'
which incidentally can be reduced to
'this.value = this.value[0].toUpperCase() + this.value.substr(1);'
Cheers
Bruce
10708
Web Server - Ask For Help / Re: row sizes meaning
« on: August 12, 2007, 10:47:37 PM »
Hi Drew,
Sorry - answering too many simultaneously...
But I'm never wrong, so I'm afraid you're gonna have to change your name to Rene now...
Cheers
Bruce
Sorry - answering too many simultaneously...
But I'm never wrong, so I'm afraid you're gonna have to change your name to Rene now...
Cheers
Bruce
10709
Web Server - Ask For Help / Re: Refresh Menu and select menu item after login
« on: August 12, 2007, 10:41:04 PM »
Hi Greg,
The easiest way is to simply refresh the "framepage", and set the target to '_top' -
ie the URL on the save button (ie login button) is 'FramePage' and the target is '_top'.
Then in the Framepage procedure make the "starting url" for the right hand frame an expression. In other words, a variable.
An alternative way is to read FAQ #18.
Cheers
Bruce
The easiest way is to simply refresh the "framepage", and set the target to '_top' -
ie the URL on the save button (ie login button) is 'FramePage' and the target is '_top'.
Then in the Framepage procedure make the "starting url" for the right hand frame an expression. In other words, a variable.
An alternative way is to read FAQ #18.
Cheers
Bruce
10710
Web Server - Ask For Help / Re: Refresh frame menu?
« on: August 12, 2007, 10:38:36 PM »
Hi Mark,
As you discovered - read FAQ #18.
Cheers
Bruce
As you discovered - read FAQ #18.
Cheers
Bruce