NetTalk Central

Show Posts

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.


Topics - oggy

Pages: [1] 2 3 4
1
Web Server - Ask For Help / Starting Clarion proc from javascript
« on: July 14, 2020, 12:34:53 PM »
In javascript, i need to do some clarion code
I set a timer for the webform,  and now on timer must do clarion code or call simple clarion functin...

<script>
var interval = 500; // ms, primjer: 1000 ms = 1 sekunda
var expected = Date.now() + interval;
setTimeout(step, interval);
function step() {
    var dt = Date.now() - expected;
    if (dt > interval) {
    }
do someroutine  // POINT WHERE I WANT TO START SOME CLARION CODE
    expected += interval;
    setTimeout(step, Math.max(0, interval - dt));
}
</script>

How?
Regards.

2
Web Server - Ask For Help / Action on host value change
« on: July 07, 2020, 01:58:34 AM »
Nettalk 11.
I have form in where I watching host values.
The fields to show host values is already on the form. On changes in host values, how and where to put the code to do some another codes?
For example:
If p_web.GHV('Pressure1') > 150 and p_web.GHV('HeartBeat') > 100
 AlarmIt() ! calling another procedure
end
In theory this will work, but where in form to put that code?
Regards...

3
Based on web76 example, I have map with source on table. If data change, latitude - longitude, how can I refresh/reset, or move, marker to new value?

4
Web Server - Ask For Help / Calling form from code
« on: June 15, 2020, 04:35:09 AM »
On some condition, when user press the button, and if some value is true, how to call another form, in popup?
Something like this:
Case p_web.GSV('DoIt')
    OF 1 ! call process form
        StartProcess(p_web,Net:Web:Popup)
    OF 2 ! do nothing
END
the value 'Doit' is ok, but Startprocess procedure never fire it up.
Nettalk 11

5
Web Server - Ask For Help / Combining themes
« on: June 02, 2020, 01:44:42 AM »
What is the easiest way to combine two or more themes, for example, browses from theme 1 and buttons from theme 2....

6
Web Server - Ask For Help / Browse always file loaded
« on: May 27, 2020, 11:56:52 PM »
Nettalk 11.36, I have application where all browses is file loaded instead of pageloaded.
In procedure page loading method is page loading, but in generated code, the method is file loaded...
In other application all works well...
For now, for those procedures, I change in code loading method, in SetBrowseOptions embed:
 loc:FileLoading      = Net:pageLoad   ! was AllFileLoaded

but....

7
Web Server - Ask For Help / GetScreenSize
« on: May 26, 2020, 02:52:35 AM »
Nettalk 11.36, I need to get form size,  after the form is created...
How?
Edited:
or even better, I recall that some controls can be sized according to percent,
like: 75%....
In this build this not working...

Thanks in advance

8
Web Server - Ask For Help / Request for Nettalk 11.18
« on: October 18, 2019, 05:46:18 AM »
Hi Bruce, can you send me or point to where can I find Nettalk 11.18. I downloaded all the previous and later versions, but, Murphy law, didn't download Nettalk 11.18 version.. .I am in need for that version, because of testing Barcode scanning and webcam using. In Nettalk 11.20 and later, I cannot make it work any way.
Regards, Oggy

9
About last webinar,Mobile Automatic Vehicle Location System, by Mr. Ridley. I watched it without breathing ;) And couple of beers.
I just realized that you are done what I battled for about a year.. But, question for you and Bruce... I noticed that speed of web system and desktop system is pretty much not the same. Web page is faster by the factor of, lets say, 5 times... I have similar question for about that system, but I now have a about 300 clients to use it, so, my question is, how it is possible rendering the map over web is so much faster then on desktop?
Regards, Oggy

10
Web Server - Ask For Help / Session expired reseted ...
« on: November 19, 2018, 05:29:21 AM »
Nettalk 10.36.
I have session expired in some apps. I just noticed that if user click on header in some browse, each time the session is reseted to start, for example, 15 min??!
Didnt noticed in previous version?!?!

Not just sorting, every time user click somewhere, for example, row, the timer is reseted?

Regards, Oggy

11
Web Server - Ask For Help / Web maps - MapQuest provider
« on: March 05, 2018, 06:26:00 AM »
On web76 example, I change provider to MapQuest, enter Appkey for provider, but on screen, the map is empty. Is MapQuest as provider works in Nettalk maps?
Nettalk 10.17

12
Web Server - Ask For Help / Description on maps, on open
« on: March 02, 2018, 03:15:17 AM »
Based on example web76, I create small application with map of all address from table, pointed.
Now, is it possible to show description on all markers on map, not just when user click on marker?
Nettalk 10.17
Regards, Oggy
Screenshot of opened map with markers...

13
Web Server - Ask For Help / Autocomplete with more assigment
« on: January 24, 2018, 03:11:40 AM »
Is it working=? Example, i have one field called City, and that field is populated via lookup button. Works well. But, i have autocomplete option when user dont use
lookup key but instead he enter some values. All works well for City field, but more assigment fields are not populated? Never.
nettalk 10.15

14
Web Server - Ask For Help / List of logged users online
« on: January 24, 2018, 12:26:17 AM »
I can't find on forum, how, and is it possible, to display list of logged users currently online? I know how to, via web  socket, "count" logged users, but I need to
display data of each of them?
Nettalk 10.
Thanks in advance.

15
Web Server - Ask For Help / Change "class=" to "style="
« on: December 19, 2017, 05:49:29 AM »
I have one question is it possible to change web template to alter "class=" to "style=" in generated html, (div)...
The reason for this is that I want to change single prompt style,  without changing entire css for theme.
I want to some prompts be smaller or larger to distinguish it from other prompts in some form.
When I put in css prompt for some field code like this 'font-size:10px', after starting the web application, the element for that prompt isn't changed to appropriate style, in this case font 10px. (picture A)
But if I change this line in html directly, from "class " to "style" all works as I want it (picture B)
The question, once again, is ti possible in some later versions to put some check right after css entry for prompts,  or any other entry, to change html after generated from "class" to "style"
Regards, Oggy

To be precise: I want to use simple inline formating. instead of reusable classes. I know that I may put class with selected size to theme css, but in that way the css file will grow and grow...
Bruce?!?

Pages: [1] 2 3 4