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.


Messages - oggy

Pages: 1 [2] 3 4 ... 15
16
Hi Bruce, I need to refresh, reset, position of the marker. My code:
After change, i fetch the new data and:
p_web.SetValue('_marker_',tra:ID_Imei)
p_web.ntMap('CentralEu','updateMarker','"'&p_web.GetValue('_marker_')&'",'&p_web.GetLatLng(tra:Latitude)&','&p_web.GetLatLng(tra:Longitude)&','&p_web.WrapOptions(loc:options))   

did not work. I cannot even to remove some marker...

17
Damn I was afraid of that, heheheeh.
No, really, thanks for answer...
Regards...

18
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?

19
Web Server - Ask For Help / Re: Calling form from code
« on: June 16, 2020, 01:32:49 AM »
Ok, got it, but its not working every time.
For example, if I choose to open second form and close first one, sometimes the process works well, but sometimes not.
In attachment, screenshots.
When pressing confirmation button on first form, I use jquery to close that form after some process. Ok, the form is closed, but second form is sometimes not formed well.
Code for closing:
p_web.script('$(''#popup_'&lower('UpitProcesa')&'_div'').dialog(''close'');')

20
Web Server - Ask For Help / Re: Calling form from code
« on: June 15, 2020, 09:17:44 AM »
Aha, seems that this is what I want. Is the second parameter mandatory or omitted?

21
Web Server - Ask For Help / Re: Calling form from code
« on: June 15, 2020, 07:31:30 AM »
Yes, indeed, but I want popup form....

22
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

23
Web Server - Ask For Help / Re: Description on maps, on open
« on: June 09, 2020, 03:00:53 AM »
Bruce, any changes according to subject...?!?!
Thanks in advance....

24
Web Server - Ask For Help / Re: Combining themes
« on: June 02, 2020, 03:48:21 AM »
Obviously, copy from theme 1 and paste to theme two, and its works, but slow development mode :)

25
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....

26
Got it...

27
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....

28
Web Server - Ask For Help / Re: GetScreenSize - resolved
« on: May 26, 2020, 04:46:54 AM »
Found what I want:
in NetWebServerWorkerBase.CreateMapDiv  Procedure(String p_ID, <String p_Class>, <String p_Width>, <String p_Height>)
for my purpose i change the code from:

if instring('px',lower(p_width),1,1) or instring('pt',lower(p_width),1,1) or instring('em',lower(p_width),1,1) or instring('%',p_width,1,1)
      loc:style.SetValue('width:' & clip(p_width) & ';')
    else
      loc:style.SetValue('width:' & clip(p_width) & 'px;')
    end
to:
 if instring('px',lower(p_width),1,1)
            loc:style.SetValue('width:' & clip(p_width) & 'px;')
        END
       
        if instring('pt',lower(p_width),1,1)
            loc:style.SetValue('width:' & clip(p_width) & 'pt;')
        END
       
        if instring('em',lower(p_width),1,1)
            loc:style.SetValue('width:' & clip(p_width) & 'em;')
        END
        if instring('%',p_width,1,1)
            loc:style.SetValue('width:' & clip(p_width) & '%;')
        END
      and also for the height...




29
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

30
Web Server - Ask For Help / Re: Basic Mobile Example errors
« on: October 22, 2019, 10:07:07 PM »
Same here. For now I just omitted that line, just to see if compile will go ...

Pages: 1 [2] 3 4 ... 15