Posts by DecSoft

Show threads by DecSoft
3404 posts found, page 174 of 227

DecSoft (In thread: How to use the ENTER key to move from an Input to another)

Hello Joshua,

and would this "Input1.Event.keyCode" work in android&ISO ??:)

Honestly, I am not sure if the device's keyboard fired that event when the ENTER key is pressed... In principle I think this is what we can expected, but we need to try it! :)


DecSoft (In thread: How to add a table header in the Report control)

Hello!

Hi,David I already test it.It work!!

Glad to know tin! :)


DecSoft (In thread: How to authenticate my application's users)

Hello Kasito,

Since we are talking about client side applications, it's not a good idea to think in something like "give the user access to this page or not". Yes; we have methods to do that, for example, we can use the app's ChangeView event, or just test at the view's Show event if the user is "authenticated" or not. In fact, an advanced user can enter on an app's view by changing the appropiate Javascript, for example. So, if what you want to protect is already in the client... then you need to think about that.

Of course the above statement is true in general, because, in some scenarios, also client side applications can apply certain security measurements, for example, I am thinking in an HTML5 application running in a kiosk computer: in this kind of scenarios, and, since the user of the applications can't access the application source, then yes, we can implements somethings like "you can only view this view if enter the appropiate password in this Input control".

Talking about a client side plus a server side application (which is your case if I am not wrong) the security must be implemented in some way similar to this:


1º The client side app (your app) ask the user for a login and a password.

2º The app made an HTTP call (best if use HTTPS) to the server in order to check the login.

3º Depending on the check result the server send one response or another.

4º Depending on the server response the application does one thing or another.

For example, suposing you are made an application show saves user notes. Of course you don't want to show the notes of one user to other user, or show the notes of a user, if they are not firstly well authenticated.


1º Our application login view ask the user for a login and a password.

2º Our application made an HTTP to the server including the login and password to be checked.

3º If the server say "this user is OK", we change to the appropiate view, in which we shown the user's notes.

4º If the server say "this user is not OK", we simply don't change the view, and never shown any user's note, of course.

The things must works in a similar way than the described one. There is not just a way to send the login and password to our server (the only recomendation can be to use the HTTPS protocol instead of HTTP), for example, we can codify it in "Base64" or get an "MD5" hash, and then send to the server.

Since our app's HTTP calls can contains any data, probably we can always include in that calls the user login and password, then we can assert that non registered users never reach any data from the server if they are not authenticated before. My recomendation is you try with the concepts explained above. If you have any further question, please, don't hesitate to post it here Kasito.


DecSoft (In thread: How to add a table header in the Report control)

Hello tin,

Wow,thanks I will test it

You're welcome!


DecSoft (In thread: How to add a table header in the Report control)

Hello tin,

Certainly, we can't do what you wanted in the current "table" Report. Probably with some hours of work we can achieve something like that using the "grid" kind of the Report control, instead of the "table" one. However, I decided to put two new designtime variables "Header" and "Footer" into the Report control.

These designtime variables (we can't set it at runtime, but we can use variables inside) allow us to put some contents (the table header, for example) at the beginning and at the end of the Report main contents. You can update your AB copy and take a look at the new Report10 application sample in order to view these new variables in action.

Hope this can be useful for you tin!


DecSoft (In thread: How to add a table header in the Report control)

Hello tin,

Please, provide more information or some little app sample. In other way it's difficult to help. Are you tried with the Report* samples? You know we have two kinds of Reports: table and grid? What of them you are trying to use? Sorry for the questions, tin!


DecSoft (In thread: How to use the ENTER key to move from an Input to another)

Hello Joshua,

The "Event" variable is available for our application, views and controls events. In our case we must use the Input control "Event" variable of course. :)


DecSoft (In thread: What to do in order to get the Cordova's BAT files)

Hello Ade,

No problem. With a more or less good descriptive forum's thread title and my little explaination, may this thread can help to someone in the future. :)


DecSoft (In thread: A little of PHP (server side language) and the "sprintf" function)

Hello Ade,

At a first view, the "sprintf" function format string appear good, then, if you get "empty" strings, there cannot be other reason than the variables "$name", "$email" and "$comments" are not filled as you expected.


DecSoft (In thread: What to do in order to get the Cordova's BAT files)

Hello Ade,

Apache Cordova is not required at all in order to create the appropiate configuration file, BAT files, icons, splashs, etc. If you can't get such files created (and you wanted for that) the only "issue" is to check the appropiate CheckBoxes in the app's options dialog, undert the Cordova tab.

Then you MUST save the application, and then use the Build command, never the Debug, since this latest one never create files who never use. So open the application, Ade, assert the appropiate CheckBoxes are checked, then press the options dialog's "Ok" button, and after that save the application by pressing the Disk button or just using the CTRL+S shortcut keys.


DecSoft (In thread: Can we use a Label control to open a link from our apps?)

Hello Ade,

I did try that before but I am not sure how to use Label.change colour when hover (Focus tab) the Label control.

In fact we no need to do nothing more than set a "color" for the Label from the "Hover" inspector tab. No more than that. If we need something more, of course, we can always use some CSS rules using the App Inline CSS option or just some prepared CSS stylesheet file. :)


DecSoft (In thread: Can we use a Label control to open a link from our apps?)

Hello Ade,

We probably want to use something like the "OpenWindow" action since our apps can runs in platforms like Android, in which we can't simply open links as we do in the browser. Links can be good inside IFrames (in fact works like a charm in the Android platform, for example), and, if you need to use it... you can use the HTML control to put whatever link you wanted.

About the "Click event", I refer to the Label's "Click event", you know, the place in which we can prepare some actions to be called when the user click or tap the Label. This event exists in almost all controls too.


DecSoft (In thread: Can we use a Label control to open a link from our apps?)

Hello Ade,

What about use the Label's "Click event" and the "OpenWindow" action? Or the HTML control... :)


DecSoft (In thread: How to use the ENTER key to move from an Input to another)

Hello Joshua,

The "TAB" key is the common key to change between controls in the web world and also in the desktop world. Is the standarized way and probably what the user expected. Can we use another key in order to change between controls? Yes, of course we can do it.

Inside the Inputs' controls common KeyUp event, for example, we can access the controls' "Event" variable, who contains information about the pressed key, therefore we can look for the ENTER key and give the focus to the control we wanted.

Take a look at the below application sample, which must be also included in the next App Builder release:

TabWithEnter.zip

Hope this can be useful for you Joshua.


DecSoft (In thread: Issue with click delay in iOS and Android apps)

Hello tin,

Since we are talking right now on the support chat, I am not sure about what to say here. :)

Apparently FastClick is running well, since they works in all environments, and also on iOS. Maybe the results is not what you expected... but certainly it's difficult to measure 300 ms of time... In my opinion we no need to worry about this, since we are following the AngularJS instructions to integrate FastClick in our applications.

Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses cookies only to store your preferences.

Ok! Hide this note More information