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 - hkalmbach

Pages: 1 ... 3 4 [5] 6
61
Web Server - Ask For Help / WebForm does not work with Iphone
« on: February 04, 2016, 03:54:56 AM »
Hello,

I have a small NetWebForm (NetTalk 8) with entry and lookup fieds. Its not complicated and is for use with mobile devices.
With my Samsung smartphone it works, also with all kind of desktop devices including an iPad.
A customer tried the form with an iPhone (me I don't have one) and he has problems.

If he enters something in an entry field with the virtual keyboard and afterwards closes the keyboard (with the function on the keyboard or by clicking beside the keyboard)
he is no longer able to scroll the form up and down, also not the complete form is displayed.

If he reloads the form in the browser it displayed completely and accessible again.

This happends on the iphone with safari and chrome as well.

Does someone has an idea?

Thanks a lot
Heinz

62
Web Server - Ask For Help / NetWebForm placing fields
« on: October 29, 2015, 01:33:22 AM »
Hi together,

I try to build a form and to arrange the fields in the form.
What I would like to have are serveral columns of fields in one row, but at the bottom some text fields which cover the complete width of the form.
To do this I would need to get access to the <td> tag of this row and insert colspan="xxx".

Please have a look a the picture. The red marked field should continue below the second column of fields.

Thanks for every help

Regards
Heinz

[attachment deleted by admin]

63
Hello,
I have a normal NetWebBrowse and NetWebForm combination for listing and updating records.
Now I wanted to use the embed point 'After Opening files' to read additional data. I wanted to do this there because I didn't want it to do on procedure setup with is passed more than one time.

But then I recognized that this point is never passed?
There are three stages when OpenFiles is called:

Net:InsertRecord + NET:WEB:Populate
Net:ChangeRecord + NET:WEB:Populate
Net:ViewRecord + NET:WEB:Populate

I am changing records, but these stages are never active.

What is the routine 'Open files' good for? Why do I assign files to a Form if they are not opened?

Is there an overview which embed points are good for typical actions? In the nettalk book I didn't find (V2)

Thanks for every help.

Regards
Heinz

64
Web Server - Ask For Help / Child browses
« on: October 27, 2015, 04:34:07 AM »
Hello,

I have a netwebbrowse with a child browse, this again has a child browse.
All works well. But if I use the netwebbrowse as a lookup procedure (to select a data record of one of the levels), already the first child browse is suppressed.
If I look into the source code its suppressed by the line 'if loc:selecting = 0'

Where does this line come from? Is it necessary???

Children  Routine
! Start of "Before Calling Children"
! [Priority 5000]
 
! End of "Before Calling Children"
  if loc:selecting = 0
    If p_web.Ajax = 0 or p_web.GetValue('_cb_')
      do StartChildren
    Else
      do AjaxChildren
    End
  end
! Start of "After Calling Children"
! [Priority 5000]

Regards
Heinz

65
Web Server - Ask For Help / Embed code in webbrowses and webforms
« on: October 09, 2015, 02:39:58 AM »
Hi,

I have a general question to embed code in webbrowses and forms.
I found that if I perhaps enter code in a webbrowse at the embed point 'procedure setup' and then run the webserver this code is run twice opening the form.
I am not sure whats the sense of this and more important how to avoid it. Because sometimes I have to do time consuming things and don't want to slow down the server to much.

What can be done to avoid this?

Thanks in advance.

Heinz

66
Web Server - Ask For Help / Position of Close-button in webbrowse
« on: September 25, 2015, 06:07:00 AM »
Hi together,
is there a possibility to change the position of the Close button on a browse. I have only a change button and the close button and want to avoid that there are to lines for them. I would like to have the Close button behind the change button.

Additionally I would like to insert a manual button. My browse is called with a date as parameter. This date is used as filter for displaying the data records. The additional button should allow to choose a date and then the form should call itself with the new date as parameter (SSV).

Can anyone help?

Thanks a lot.

Heinz

[attachment deleted by admin]

67
Hi Bruce,

I sent you an email with an example.

Cheers
Heinz

68
Hi Bruce,

thanks for your answer.
I will try to participate on thursday.
Unfortunately it is not possible to bring the page online. Its online, but it is too slow. If I call it from the internet the WebServer shows that it gets a request, but the page does not show. If I call the same WebServer internally it works very well. I don't know whats the matter, our bandwith is not bad....

How do I share my screen in the webinar? Is it easy?
What do I have to do that my question will be handled?

Cheers

Heinz

69
Hello,
I am using Nettalk 8, have a Webserver with theme 'smoothness', a NetWebBrowse, and need very narrow collumns in the browse.
I only have text in the header line, in the other lines I only have cells with empty stringss with colored background.
The header text I insert as xHTML. There I tried to adjust the font-size, margins, borders,padding and so on.
So far it works. The only thing is than after the header text I have a right border or margin. I don't know what it is, but there is some space(4 or 5 mm) after the text.
See also the picture in the attachment.
I don't know where this is defined, but I need to get rid of it..
Can someone help me?

Thanks
Heinz

[attachment deleted by admin]

70
Web Server - Ask For Help / Set focus on a form field
« on: October 14, 2014, 04:17:27 AM »
Hi together,
is it possible to set the focus on a field of a webform which is not the first field of the webform?
I want to call the form with a parameter and dependent on the parameter set the focus to different fields of the form.

Thanks for every help.

Regards
Heinz

71
Web Server - Ask For Help / set focus to different fields on a WebForm
« on: October 12, 2014, 10:53:08 PM »
Hi together,
I have a WebForm, where I fill 3 (adress-) fields by some kind of a lookup. In fact it is not a lookup but also a form with buttons (designed for tablet computers) from which the user is selecting.
To distinguish which field in the original form has to be filled I send a parameter (PosNr) in the URL in both directions.

The filling of the field works well.
The only problem I have is to set the focus in the original form to the correct field after coming back from the selection form. The focus always is in the first field of the form.

I already tried to do it in the following way:

  CASE PosNr
    OF 2
      p_web.SetValue('SelectField',clip(loc:formname) & '.DurchBeginnDatum2')
    OF 3
      p_web.SetValue('SelectField',clip(loc:formname) & '.DurchBeginnDatum3')
  END

But it didn't work.
Does someone know how to do it or where is the correct embbed point for this?

Thanks a lot.

Regards
Heinz

72
Web Server - Ask For Help / Lookups suddenly don't work
« on: July 31, 2014, 05:48:38 AM »
Hi together,

I am using NetTalk 7.39 in the moment. I have an app with several netbrowses and netforms.
From time to time I have the problem, that after doing a change and recompiling the app all lookups don't work any longer. The browse which shows the records the user can choose from is shown, but the select does not react, if I use it the browse is reloaded, but I don't get back to the form from where I started the select. There is no way back.
I am not sure what kind of change is necessary to get this behaviour. I guess it happens if I touch the WebServer procedure itself, but I am not sure.

The only way to get the functionality back is to start from a saved previous version (where the lookups still work), do all changes again and hope that the problem does not occur.

I had this problem also with NetTalk 6.

It is browser independent, I check it with Internet Explorer (8-11), Chrome and FireFox.

Does someone know this behaviour?

Kind rgards,
Heinz

73
Web Server - Ask For Help / Re: Browse lookups not working
« on: April 26, 2014, 04:23:42 AM »
Hi,
I also get this behaviour from time to time. I am not sure, but I guess that this happens if I change something in the WebServer procedure itself.
The only way to get back the normal behaviour was to use a backup of my web app and do all the work again...
I had this behaviour with NetTalk6 and NetTalk7, also with all browsers.

Regards
Heinz

74
Web Server - Ask For Help / Re: End user message using javascript
« on: April 14, 2014, 06:24:43 AM »
Hi Bruce,

I tried both, the descriped behaviour is that of 'alert', as you can see the first line is commented out.

You have an idea?

Cheers
Heinz

75
Web Server - Ask For Help / End user message using javascript
« on: April 14, 2014, 05:13:01 AM »
Hello,
according to an older topic and a hint of Bruce I

check out User Group Webinar #9 at approx 0:42
http://www.capesoft.com/accessories/NetTalkUserGroup.htm

I tried to create an end user message after saving a record like the following:

PostUpdate      Routine
  ! Start of "On Update : Form ends : following disk write"
  ! [Priority 4000]
 
  !  p_web.Script('ntAlert("Auftrag gespeichert.","Auftragsbearbeitung");')
   p_web.Script('alert("Auftrag gespeichert.");')
 
Now I have the effect, that it does not work as expected:
- in Chrome it works
- with Internet Explorer 8 nothing happens
- with Internet Explorer 11 nothing happens
- with Firefox if the message is active I get displayed the html text in the browser??

I am using Nettalk 6.

Does someone know what goes wrong, what preference I have to change or what else to do?

Thanks

Heinz

Pages: 1 ... 3 4 [5] 6