Posts by Samuel Vanneste

Show threads by Samuel Vanneste
182 posts found, page 6 of 13

Samuel Vanneste (In thread: [SOLVED] Build 2017.11 - font awesome performance issue)

Well done! Thanks a lot Sir David :D


Samuel Vanneste (In thread: [SOLVED] Build 2017.11 - font awesome performance issue)

Hello David,
Thanks for the tip of the icons names. It will be very useful :)
Good luck for the investigation


Samuel Vanneste (In thread: [SOLVED] Build 2017.11 - font awesome performance issue)

Hello David,
I can't see all the icons. I tried to restart the computer and AB without success

[img=awesome.png]https://www.decsoftutils.com/_support/uploads/f98c444ec6e6bc73162df36d5bcfd3ef.png[/img]

Thanks


Samuel Vanneste (In thread: [CLOSED] Report's Footer just after the Header ?)

Thanks David,
Here is a demo project : MyApp.ab

But the report10 example reminded me the way to do : using the TD tag instead of anything else. Don't know why I did not found it myself.

Closed. Thanks a lot


Samuel Vanneste (In thread: [CLOSED] Report's Footer just after the Header ?)

Hello David,
It seems that the report's footer is put just after its header. Or perhaps am I doing something wrong ? Or should I use some CSS to move the footer ?

Some code extracted

Thanks


Samuel Vanneste (In thread: Question about WebSockets clients and servers)
P.S. I think this question must be answered in the WebSockets HTML5 API documentation...

Hello David,
Please do not spend time on the PHP part, I had not thought to check the HTML5 API documentation (I followed some tutorial about websockets). I am going to the HTML5 part immediately.
Thanks (wishing you a good evening)


Samuel Vanneste (In thread: Question about WebSockets clients and servers)

No problem at all. I can understand that my question is too large. So, please forgive me if my reply seems a bit stupid. Here is the problem :

- I make AppBuilder initiate the WebSocket connection using SocketOpen
- On the server, I get the request (as I posted above)
- Now, I have to send the reply to AppBuilder to make it fire the WebSocket.Open event

I am here and unable to find the correct data I have to return to let AppBuilder know it is connected.

So, I have thought that I could find in the app's JavaScript Editor, the description of the information required (the information I have to return).


Samuel Vanneste (In thread: Question about WebSockets clients and servers)

Nope David,
In the JavaScript Editor, when I search for "Socket", I find some Javascript related functions.
Because I have some trouble returning the data, AppBuilder is waiting before to fire the Open event, I was asking if, in that code, I can find the type of data it is waiting for.

Many thanks


Samuel Vanneste (In thread: Question about WebSockets clients and servers)

Just a question, David, please. Should I be able to find the reply AppBuilder is waiting, in the JavaScript Editor ? Thanks


Samuel Vanneste (In thread: Question about WebSockets clients and servers)

Hello David,
Thanks for your replies. You are right, we don't need the pure TCP socket plugin here (this was just a workaround for me).

What I am currently have to code is the server's part (the one which will reply to AppBuilder's app to let it know it is connected). I am on.

Many thanks :)


Samuel Vanneste (In thread: Question about WebSockets clients and servers)

OK. Found what protocol I have to implement :

The WebSocket handshake (browser request and server response)

source: http://websocket.org/quantum.html

I will try to apply that plugin too : https://github.com/blocshop/sockets-for-cordova


Samuel Vanneste (In thread: Question about WebSockets clients and servers)

Hello,
I am trying to understand why my WebSockets never receive the "Open" event. Using several other language, I can connect to my server just opening a socket.

What I receive on the server's part is way more information than just the connection. Perhaps could I send an information to AppBuilder to let it know it is connected ?

Below are the lines I get on the server. [IP] is my remote local IP

Many thanks for any help or a way to find the protocol to allow AppBuilder's app connection.


Samuel Vanneste (In thread: Variable late binding? (And the new AB compiler syntax checker))

Hello at all,

Well, @Fakie, I have tried to reproduce the issue but was unable to get the troubles because I do use another way to do the things. Passing by reference, seems to work but the usage of the Return command in ABScript, is perhaps, what is the cause of the problem (Return is for returning using JavaScript, if I recall correctly).

I am attaching my demo app if you want to try : MyApp.zip

Another elegant way could be to store an object as a sole option's line instead of multiple ones.


Samuel Vanneste (In thread: [SOLVED] Any tips for creating large interfaces ?)

Hello David,
Thanks for the Calculator's example modification. The use of the SetViewSize was something I did missed. And a great way you found because it gives that "special feeling" for a large interface. Your approach is excellent :)
Thanks a lot again


Samuel Vanneste (In thread: [SOLVED] Any tips for creating large interfaces ?)

Hello David,

Thanks for the full explanation. It was very helpful. For some parts of my interface, I do use the SetStyle action to set the position of the control too (move the control).
If one wants to make the operation in the future, he wouldn't forget to convert the value returned by the browser as a String containing the "px" unit (by default, it seems). I did checked if the variable is a number and replace the unit by nothing

For example, to be able to change the position by increasing value:

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