Posts by DecSoft

Show threads by DecSoft
3355 posts found, page 163 of 224

DecSoft (In thread: How to record audio from the device's microphone)

Hello Joshua,

It's a combination of external Javascript usage with the Cordova's plugins usage. We have some app samples that deal with these fields: External, CordovaPlugins and SendSMS. Please take a look and ask if you need any further help Joshua.


DecSoft (In thread: How to maintain a control size even if the app scale option is true)

Hello fakie,

I found my problem

Rather than typing 40 in max-width and max-height, I needed to type 40px. *Under the style tab for the control)

Once I got that sorted - things started to look nicer.

I still have the squeeze effect, but sure if I play around a bit more I'll sort it out.

Yes; the appropiate unit must be used in this kind of values. Take a look here for more information.


DecSoft (In thread: How to record audio from the device's microphone)

Hello Joshua,

Currently we are talking about the usage of one or more Cordova's plugin. Take a look here, here and here and ask here if you need any further help.

The main problem can be to deal with the files resulting of the record. Maybe we can easily deal with it if we can convert into their Base64 representation, however, probably some files, due to their large size, have problems while converting to Base64. So maybe we need to use at least a couple of plugins: one for recording and one for deal with the recording files.

Maybe if you explain a little more what's you wanted Joshua...


DecSoft (In thread: How to maintain a control size even if the app scale option is true)

Hello fakie,

Thanks for join in our forum. Hope App Builder can be useful for you and then consider to buy one or more licenses in order to support the project. Now please, when you said, "I would rather that the top region and bottom region stay the same - and the middle region - where you typically have a list box - grow or shrink as you resize.", where is the "top" and "bottom" regions in your app?

In order to avoid a control to be scaled, we can use the "SetStyle" action: once we set the width or the height of a control they are no more scaled, except if we place again this properties to "empty" values. This is because when we assign a new style to a control the app's main CSS style are overwriten, and, when we "empty" that style, the app's main CSS be applied again.

If the same way you can use your own CSS files or the app's Inline CSS option: all of them: the SetStyle action, the app's CSS files and the Inline CSS option can overwrite the app's main CSS style. Remember that the "C" of "CSS" means "Cascading" and here is how the styles are applied:

[list=1]

  • The first style in precedence is what we can apply using the SetStyle action.

  • The second style in precedence is the app's CSS files what we can add into our application from the app's files' manager.

  • The third style in precedence is what we can place in the app's Inline CSS option.

  • The four style which are applied is the app's main CSS, which is prepared when compile the app by App Builder.

  • Hope this information can be useful for you and others fakie.


    DecSoft (In thread: How to join a couple of app's variables into a new app's variable)

    Hello Kasito,

    The "Random" action can return any number without controlling their "length". On the other hand the "RandomEx" action allows to use a range, but we can't guarantee a random number of 12 digits everytime. In fact random numbers are more complex than appear for non experts, me included. However, take a look at the below code. Maybe they do the job that you wanted.


    DecSoft (In thread: How to have a vertical scrollbar in certain app place)

    Hello Joshua,

    Remember the app's Ready and app's views' Show events maybe are candidated to be used too. Anyway tell me if you have any problem or some unexpected behaviour Joshua.

    by the way ,will the rotating browser trigger the Resize Event??

    I think so... but anyway we have the app's Orientation event too.


    DecSoft (In thread: How to join a couple of app's variables into a new app's variable)

    Hello Kasito,

    Please, try something like this:


    DecSoft (In thread: How to have a vertical scrollbar in certain app place)

    Hello Joshua,

    Yes; please, double click in any app's designer... outside any control and outside the app's view itself. Then you access the app's events, one of them the "Resize" event. I talk about this event, but maybe you can simply call an app's function from this event, then you can also reuse that (repositioning controls) function from other places too, for example, when the app starts (app's Ready event or app's view Show event).


    DecSoft (In thread: How to have a vertical scrollbar in certain app place)

    Hello Joshua,

    Maybe you need to use the "GetStyle" and "SetStyle" actions in the app Resize event or something like that? So a little of code in order to repositioning (top, left) the controls to avoid the gap. I am not quite sure if we can use a bit of CSS too... please, try it and tell me about Joshua.


    DecSoft (In thread: How to have a vertical scrollbar in certain app place)

    Hello Joshua,

    Glad to know you got it. Certainly the Container, HTML and IFrame are "scrollables" controls.


    DecSoft (In thread: How to have a vertical scrollbar in certain app place)

    Hello Joshua,

    Container seems a solution,but at design time,I can not put too many input controls (or other controls) in the contain,They are limit to the Container size

    What if you resize the Container (to be larger), place the controls, and then resize it again to an smaller size? However, I am not sure if this solution can work in runtime for "scaled" apps. Maybe you must to consider another possible approach for your objective Joshua. I say if finally the Container usage results not as you wanted.

    P.S. For example, a simple button can open an entire view plenty of controls...


    DecSoft (In thread: How to have a vertical scrollbar in certain app place)

    Hello Joshua,

    Probably the solution is a Container control? A Container, an HTML or IFrame controls can "scroll" Joshua. Please take a look at the "InputsScroll" app sample.


    DecSoft (In thread: How to use Line Breaks in Push buttons and Textarea controls)
    OH,yeah
    Problem solved!

    :) and =)

    Nice one!


    DecSoft (In thread: How to use Line Breaks in Push buttons and Textarea controls)

    Hello Joshua,

    Yes; in this case we must use the "\n" metacharacter in a way like the below one:

    Hope this can be useful for you!


    DecSoft (In thread: What is the best way to create a image button in App Builder?)

    Hello Joshua,

    Set buttons' Text like this

    button text

    this will work!

    but Set buttons' icon like this:

    app/images/s1.jpg

    does not work to me!

    That's because the Button's icon expected the name of a font icon (one of the included in App Builder) and not an image path. If you want to use an image in the button you can use the below code in the button's Text property/variable:

    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