Posts by DecSoft

Show threads by DecSoft
3341 posts found, page 78 of 223

DecSoft (In thread: Seek opinion on a networking problem)

Hello to all,

Thanks for your post, Samuel. Honestly I am not an expert in the server side, however, I think Samuel is correct, that is, probably we are talking about the server's hardware capabilities at the end. Of course, other things must be taken in consideration.

For example, from your three options, I will choose the first one, if possible, discarding the second one, if there is another way. One of the apps that I am developing (also using AB for the client side) uses a websocket with very, very good results.

The app that I am talking about are daily used by more or less 500 people (workers of a company) and the websocket provide to the app basically a chat feature: a very powerfull chat, so we know when someone is online, is typing, etc.

We use the websocket's server also in combination with push notifications, so, if an user is not online (is not in the app), we send to it a push notification, who open the app, who recognize the push type and shown to the user the latest chat's messages.

Once we can go working with the websocket... we love it. I think there is nothing that can be better, except maybe your third option, that is, suposing we no need a websocket, a real bidirectional communication between the server and the clients, and viceversa.

The main problem for the websocket I think it's the required of an own server, that is, probably (but we can talk with our hosting provider) install a websocket server into a shared hosting, for example, like the hosting who serve this webpage.

We need to install a websocket server (we use a Java websocket, if anyone are interested, I can provide here more information), work with it (on the server side) and also in the client side, of course, with the WebSocket control of AB, for example.

Can take a while... I remember we expend several time and work to setup the websocket, etc., but finally it's one of the best feature of the app in my opinion. And that's what I can say at this time about this... not too much help (like Samuel provide), but go ahead and post here any further question or comment.


DecSoft (In thread: Setting Values using Javascript)

Hello John,

If we are talking about an AB input control, then we probably want to use their value variable:

Your code can work also with AB controls (or an HTML input control that you place inside an HTML control) but if we are talking about AB controls you probably want to use the control's variables.


DecSoft (In thread: Mediaplayer Loop)

No problem, Amin!


DecSoft (In thread: WebExtensions and DecSoft App Builder)

Hello John,

Yes; please, take a look at the "WebExtension" sample.


DecSoft (In thread: Mediaplayer Loop)

Hello Amin,

Maybe not the media file but how the media file is served? You mention a "local file"... maybe this have something to say... on the other hand, if you can find a way to reproduce the problem in a sample app, I can try to take a look too, so maybe we can see what happen.


DecSoft (In thread: Associative Arrays and Populating Drop Downs and Text Boxes)

Hello John,

I think that can understand exactly what you wanted. The problem is the time... since you don't post an specific question... I will try to prepare an example for you as quickly as possible. They can take not too much time... or may the things become complex and more time is required... so let me to have some time in order to start with that sample and then I will post it here.


DecSoft (In thread: Image Resizing)

Hello to all,

In addition to the Amin's suggestion (thanks for that, sir, I really appreciate it), maybe it's important to know also the context in which we use the image. For example, if we are using an Image control of AB, or if we use an IMG HTML tag inside an HTML control of AB. You can take a look at the "Images" sample.

In principle we can use CSS and / or Javascript if it's required to deal with some specific image or images. But maybe a bit more information about how that image must be used (where, etc.) can be good too.


DecSoft (In thread: Mediaplayer Loop)

Hello Amin,

I am not an expert in media files (which are an entire world...) but probably the issue is related with the media file itself, or maybe the browser... let me to explain. The "loop" option works... so, if for some specific media file the "loop" option don't work, the cause (if I am not wrong) is the media file itself, maybe the server who serve the media file... but not specifically the media player control... who work with other files...

Yes; I know that may the above answer is not the best... but may you can investigate around the used media files, Amin, specifically the media files who don't work... maybe in comparisson with the media files who work. Please, post here if you discover something... or if you have any other further question.


DecSoft (In thread: NavBar with Logo and Gradient Colours)

Hello John,

To hide the menu toggler we can use some CSS like the below:

However, if we don't want a menu... maybe we no need a NavBar at all, but a HTML Content or Container control... or a combination of these...

About to place a NavBar at the bottom, is possible, even we can have two NavBars, one at the top and one at the bottom, take a look at the NavBar's Placement variable and set to "fixed-bottom", for example.


DecSoft (In thread: NavBar with Logo and Gradient Colours)

Hello John,

Look at the below CSS code, which we can place in the Inline CSS option of the app:

If you want to apply other rules to the NavBar's brand image... that's can be the place.


DecSoft (In thread: NavBar with Logo and Gradient Colours)

Hello John,

Maybe you can match the "brand image" using Javascript or CSS, and then yes, change their size. But maybe it's not a good idea, because, when change the image size, also the control's size change, and, this can cause some posible issues.

I think the point here is to consider that image like for what is designed: it's a "brand image"... not a "logo", nor another kind of image... that is, maybe it's a better idea to prepare a "brand image" (maybe specific for the NavBar) based in the other image or logo.

Please, post here if you have any further question about this! The above is my opinion... and certainly we can try to change the image size using Javascript and / or CSS, so, we can do try it if you wanted... but consider the above, which is my honest opinion.


DecSoft (In thread: Problem when building my app)

Hello John,

Yes; please, send me the file by E-Mail and I will take a look.


DecSoft (In thread: NavBar with Logo and Gradient Colours)

Hello John,

Yes; the image of the "NavBar" control must be 30px... maybe a bit greater, but then the browser must scale it. It's the designed size for the control, not something that we can change... if we don't want to "break" the control in some way.

About your second question, please, take a look at the "NavBar" sample. Open that sample and see in the Menu -> App -> App's files manager. As you can see in the Images tab, we include certain image that is also included by the sample (see the sample's folder).

Then take a look at the NavBar control's Image variable: you can see that we specify the image's local path in that variable.


DecSoft (In thread: Problem when building my app)

Hi again... I forget to mention... please, John, be sure that you are using the latest release of DecSoft App Builder. Upgrade it from the upgrade dialog (see the Help menu) or download the latest release from here.


DecSoft (In thread: Problem when building my app)

Hello John,

I am not completely sure... but... start by deleting the "_Compiled" directory of the app and try to compile it again. Please, post here if you have the same or other problem.

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 some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.