1
Web Server - Ask For Help / How to encrypt an existing TPS file
« Last post by Richard I on November 22, 2024, 08:56:46 PM »I have a working TPS file in a Nettalk Server app
The file currently does not have the Encrypt selected nor does it have OWNER populated in the DCT
If I attempt to populate these using a backup file as a test, and adding to the version in Options then compiling I get errorcode 36 on running
How to sort this please.
Thanks
Richard
C11.1 13855
NT 14.28
The file currently does not have the Encrypt selected nor does it have OWNER populated in the DCT
If I attempt to populate these using a backup file as a test, and adding to the version in Options then compiling I get errorcode 36 on running
How to sort this please.
Thanks
Richard
C11.1 13855
NT 14.28
2
Web Server - Ask For Help / Re: h2 Header styling - trying to apply color
« Last post by rjolda on November 22, 2024, 02:23:41 AM »THanks Jane,
I kept trying it with a .h2 and .<h2> , etc and could not get it to work in my custom css. In line worked once I added the span tag.
Thanks for the help on getting this in my custom css.
Ron
I kept trying it with a .h2 and .<h2> , etc and could not get it to work in my custom css. In line worked once I added the span tag.
Thanks for the help on getting this in my custom css.
Ron
3
Web Server - Ask For Help / Re: I have a PopUp Form with an AutoStart Button can I autoClose after done ?
« Last post by rjolda on November 22, 2024, 02:21:23 AM »HI Mike,
I use the code p_web.Script( p_web.WindowOpen( 'YourProcedure')) in several ways.
1. I have a button which selects a line from a browse to use as a reference during the session.
when the user presses this button and my code is done the last line of my code can be - p_web.Script( p_web.WindowOpen( 'IndexPage')) and it will go there. However, I prefer the second approach.
2. The same browse is called from two different procedures which are menus. To return to the menu which called this browse I pass a paramenter - 'IR=YES' or 'IR=YES_SM' .
in the browse, % BeforeFormTag/5000 embed:
if P_web.gsv('loc:IR') = 'YES' or P_web.gsv('loc:IR') = 'YES_SM'
p_web.SSV('SubHeading', 'Please Select Auto Dealership for this Service!')
! loc:selecting = true
end
IF P_web.gsv('loc:IR') = 'YES_SM'
loc:CloseAction = 'A_MOBILEBUTTON_MEMFORM' ! call small menu
else
loc:CloseAction = 'INDEXPAGE' ! go back to index page for large menu
END
This is where the action is set to perform when the Close Button is pressed. So, when the user picks a record. I pop up a message that identifies the chosen record and then prompts them to press the CLOSE button. I prefer code 2 so that I make sure that each procedure I open is closed correctly.
[Behind the scenes. How did I get there... I put the procedure name to run in the Template when the close button is pressed. I then looked at the code and the Close button uses loc:CloseAction as a reference to the procedure to run when CLOSE is pressed. I then looked at where the template assigned the value to the loc:CloseAction. It is way up in the code before calling the form tag. So, right after the Template assigned it, I popped in my code to overwrite that assignment to the one I wanted to be run - hence, the code above....]
Ron
I use the code p_web.Script( p_web.WindowOpen( 'YourProcedure')) in several ways.
1. I have a button which selects a line from a browse to use as a reference during the session.
when the user presses this button and my code is done the last line of my code can be - p_web.Script( p_web.WindowOpen( 'IndexPage')) and it will go there. However, I prefer the second approach.
2. The same browse is called from two different procedures which are menus. To return to the menu which called this browse I pass a paramenter - 'IR=YES' or 'IR=YES_SM' .
in the browse, % BeforeFormTag/5000 embed:
if P_web.gsv('loc:IR') = 'YES' or P_web.gsv('loc:IR') = 'YES_SM'
p_web.SSV('SubHeading', 'Please Select Auto Dealership for this Service!')
! loc:selecting = true
end
IF P_web.gsv('loc:IR') = 'YES_SM'
loc:CloseAction = 'A_MOBILEBUTTON_MEMFORM' ! call small menu
else
loc:CloseAction = 'INDEXPAGE' ! go back to index page for large menu
END
This is where the action is set to perform when the Close Button is pressed. So, when the user picks a record. I pop up a message that identifies the chosen record and then prompts them to press the CLOSE button. I prefer code 2 so that I make sure that each procedure I open is closed correctly.
[Behind the scenes. How did I get there... I put the procedure name to run in the Template when the close button is pressed. I then looked at the code and the Close button uses loc:CloseAction as a reference to the procedure to run when CLOSE is pressed. I then looked at where the template assigned the value to the loc:CloseAction. It is way up in the code before calling the form tag. So, right after the Template assigned it, I popped in my code to overwrite that assignment to the one I wanted to be run - hence, the code above....]
Ron
4
Web Server - Ask For Help / Re: I have a PopUp Form with an AutoStart Button can I autoClose after done ?
« Last post by MikeR on November 21, 2024, 09:16:33 PM »Hi Alberto not sure what you mean here and where I should put the code ? Will this Close the window "YourProcedure" ?
5
Web Server - Ask For Help / Re: h2 Header styling - trying to apply color
« Last post by Jane on November 21, 2024, 10:12:38 AM »Of course, if you want ALL h2 elements in your app to be red it's easiest to put a line into your custom.css file
Remember that it doesn't take a period or hash mark before the h2 designation.
Code: [Select]
h2{color:red;}
Remember that it doesn't take a period or hash mark before the h2 designation.
6
Web Server - Ask For Help / Re: h2 Header styling - trying to apply color
« Last post by rjolda on November 21, 2024, 03:23:04 AM »HI Vinnie,
Thanks - I was missing the span ... /span part of it.
Got it working.
Ron
Thanks - I was missing the span ... /span part of it.
Got it working.
Ron
7
Web Server - Ask For Help / Re: h2 Header styling - trying to apply color
« Last post by Vinnie on November 21, 2024, 12:14:40 AM »'<h2><span style="color: red;">This is a test Heading which needs to be red.</span></h2>'
If you are adding this to a NetWeb Form as the heading you need to check
Allow XHTML in Heading
8
Web Server - Ask For Help / h2 Header styling - trying to apply color
« Last post by rjolda on November 20, 2024, 04:43:37 PM »Hi,
I am trying to apply red color to the h2 header - I tried in-line styling which did not work. I want the header h2 line to always be red at the top of the page.
Anyone done this and willing to share?
Thanks,
Ron
I am trying to apply red color to the h2 header - I tried in-line styling which did not work. I want the header h2 line to always be red at the top of the page.
Anyone done this and willing to share?
Thanks,
Ron
9
Web Server - Ask For Help / Re: I have a PopUp Form with an AutoStart Button can I autoClose after done ?
« Last post by Alberto on November 16, 2024, 08:11:44 AM »Hi, try
p_web.Script( p_web.WindowOpen( 'YourProcedure'))
p_web.Script( p_web.WindowOpen( 'YourProcedure'))
10
Web Server - Ask For Help / I have a PopUp Form with an AutoStart Button can I autoClose after done ?
« Last post by MikeR on November 16, 2024, 05:04:28 AM »I have a netwebform
with a start button
set to auto start
the url is set to autoopen the link to a '_blank' another window when complete
I want to autoclose the popup window if all went well
with a start button
set to auto start
the url is set to autoopen the link to a '_blank' another window when complete
I want to autoclose the popup window if all went well