NetTalk Central

Recent Posts

Pages: 1 2 3 [4] 5 6 ... 10
31
Web Server - Ask For Help / Re: Refresh NWB Header
« Last post by rupertvz on May 22, 2025, 01:22:22 PM »
Thank you Osquiabro,

I've tried what you've suggested, but the memory-form does not seem to get focus - after a record is added in the NWB under the memory-form.
Thus GotFocusBack embed is not firing.  Any ideas?
32
Web Server - Ask For Help / Re: Hide Webcam after photo is taken - SOLVED
« Last post by rjolda on May 22, 2025, 07:45:05 AM »
HI
With Bruce's help I found out that the TakePicture button is dedicated to javascript which runs and WILL NOT SEND a value to the server. 
By putting the hide condition and then the refresh fields in the WEBCAM field!  That was the trick.
Ron
33
Web Server - Ask For Help / Re: Api endpoint stream - how?
« Last post by Alberto on May 22, 2025, 05:04:27 AM »
Hi, May be copy your ftp files to a folder inside your web folder and create an API method to provide the ftp file link?
34
Web Server - Ask For Help / Re: Api endpoint stream - how?
« Last post by urayoan on May 22, 2025, 04:47:30 AM »
Hi Neil

And why not read the file, convert to base64 for transfer purposes and then decode and save it in the format the client want?
35
Web Server - Ask For Help / Re: Hide Webcam after photo is taken
« Last post by rjolda on May 22, 2025, 02:06:17 AM »
Hi Bruce,
My Webcam field (equate AON:ThisPicture) has the following hide statement:
Hide if Clarion:  p_web.GSV('PhotoDone') ='YES'

I have the AON:ThisPicture value in the Reset box for TakePhoto button.  The Take Photo button also sets: p_web.SSV('PhotoDone') ='YES')

Ron
36
Web Server - Ask For Help / Re: Api endpoint stream - how?
« Last post by Niels Larsen on May 22, 2025, 12:16:50 AM »
I can see that it doesn't really make sense.
I'll try to make it a little clearer.
I have some static ftp files that I need to expose via a REST api.
I'm aware that I can BASE64 encode them but the client would prefer them as "files". This is where I'm a bit confused how to.

/Niels
37
Web Server - Ask For Help / Re: Hide Webcam after photo is taken
« Last post by Bruce on May 21, 2025, 05:52:31 PM »
>>  as if the webcam is set to ALWAYS display no matter what the programmer (like me) is trying to do.

*how* are you trying to make it "not display" ?

38
Web Server - Ask For Help / Re: Hide Webcam after photo is taken
« Last post by rjolda on May 21, 2025, 03:08:06 PM »
Yes, I am refreshing it.
Ron
39
Web Server - Ask For Help / Re: Hide Webcam after photo is taken
« Last post by Alberto on May 21, 2025, 12:50:33 PM »
Hi, are you refreshing the AON:ThisPicture control when pressing the TakePhoto Button?
40
Web Server - Ask For Help / Hide Webcam after photo is taken
« Last post by rjolda on May 21, 2025, 12:46:25 PM »
Hi all,
Using NT14.21 , Clarion11.
I have a form with a Display Field - DisplayPhoto which displays the photo when the picture is taken. 
On the same screen I have a TakePhoto button and a Webcam field which uses the environment Camera to take a photo (AON:ThisPicture)  and display it in the DisplayPhoto field.
My TakePhoto Button has the embed:
  p_web.SSV('PhotoDone', 'YES') ! we use this to display buttons - 1= we have taken picture -display ?Crop Photo button
 this button is set to Reset the valued of AON:ThisPicture ( which is the field equate that stores the picture)

My Webcam field (equate AON:ThisPicture) has the following hide statement:   p_web.GSV('PhotoDone') ='YES'

What I am finding is that the photo is taken and displays, the webcam display is gone and then the screen flickers and the webcam is back on display as if the webcam is set to ALWAYS display no matter what the programmer (like me) is trying to do.

Anyone with insights on this?
THanks,
Ron
Pages: 1 2 3 [4] 5 6 ... 10