Posts by DecSoft

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

DecSoft (In thread: 'Date' Control does not show popup calendar?)

Hello Joshua,

The "Date" input control depend of the vendor's implementation: it's relatively modern and not all the vendors implement it in the same way. You can try with something like the implemented in this sample. If your application's target is the mobile, probably you can use the Date input control without problems.

Another possible way is to use certain "custom date picker" like the implemented in this sample: DatePicker.zip, or, in my opinion, even better, use three Select controls for the Year, Month and Day, in a similar way that what you can see in the Datetime app sample included in App Builder. The "three select inputs" solution works fine in all browsers and platforms.

P.S. Here is another sample about a possible "date picker dialog" made with three Select controls and a app's modal view: DateDialog.zip


DecSoft (In thread: IOS Apps, how to get them on the devices)

Hello to all,


Hi Dave,

Can we update our AB now and how can we use the script?

Yes; from some releases ago AB generates the "debug", "release" and "run" shell scripts for UNIX. You only must to check the "iOS" platform in the Cordova's platform options, then that scripts are automatically generated.

In fact from some releases ago AB enhance the BAT and Shell scripts in other ways too: we can write now custom code in that scripts in three different phases: at the start, after the Cordova's platform is added and at the end of the scripts.


DecSoft (In thread: IOS Apps, how to get them on the devices)

Hello to all,

I can't wait see to that. I will wait little bit for it before finishing up on the video tutorials I am making on AB.

I use the AB generated shell scripts in Mac OS almost everyday and right now (they need some adjustments in the past AB releases) works like a charm. In fact the "iOS" BAT for Windows is maintained, but certainly we can now build the entire project in Mac OS directly with this AB generated shell scripts. :)


DecSoft (In thread: Can AB have a 'Long press' Event for Control?)

Hello Joshua,

That's pretty cool
you should put this 'SimulatePress' into the sample's list,To demostrate the flexibility in combination of controls!

Maybe can be a good idea, the sample number 157 of App Builder. :)

Certainly AB is quite flesible, and, one of the things we can do is to put different controls working together. :)


DecSoft (In thread: Can AB have a 'Long press' Event for Control?)

Hello Joshua,

Maybe in the future I can consider an event like Press and other possible related events too. However, right now we can use a Timer control along with the "Mouse*" events in order to "simulate" a Press event or even better, to perform some action in certain specific time while "pressing" certain control. Just take a look at this application sample I made for you: SimulatePress.zip.


DecSoft (In thread: How to make a mouse's Right click menu for Report ?)

Hello Joshua,

Please, ugprade your AB copy. There is a new "RowDblClick" event in the Report control.

Ok,Thanks
and by the way,I want to say:Can 'Report.Order' use multi-field ?
something like: SetVar "[Report1.Order]" "-[SelectedField1] +[SelectedField2]" "String"

Please, next time use another forum's thread for new questions, so we can maintain the forum more or less ordered. Anyway, the "Query" option of the Report control is an easy way to filter the content of a Report in real time by looking in some of their records' properties.

If you want to join an string, you can do it, and then assign that string to the "Query" option. If you want to filter by more than one field, probably you must do it in a "manual way". Just remember the Report control show the content of their "Data" variable.

We can manipulate the Data variable (like any other Array of Objects) in order to filter it in an more advanced way, and then the possible changes are reflected into the Report control automatically. That's is what you can do for the momento sir.

For example, we can prepare an intermediate variable in order to place the filtered records. Then assign that variable to the Report's Data one, and, when remove the filter, reasign the original variable or reload it again from the source.


DecSoft (In thread: IOS Apps, how to get them on the devices)
Hello to all,

From some releases ago App Builder generates the appropiate "debug", "release" and "run" shell scripts for UNIX (including Mac OS) in the same way than the generated files (BAT files) for Windows. I am working on an application which is also targeted to iOS and we use these generated shell files in order to build it in a MacOS in the same way than we can use the BAT files on Windows.

Hope this information can be useful!


Hi Dave,

Sure, without doubt. It will be useful for us.

Well done.

Yes; I am use the shell scripts activelly in certain application in which I am working for Android and iOS. I just execute the "release" script, and then, without ver minor changes, "archive" the app in the XCode IDE. And that's all! Upload it to the Apple store in seconds. :)


DecSoft (In thread: How to make a mouse's Right click menu for Report ?)

Hello Joshua,

App Builer is quite extensible, and, probably you can do it if attach the "dblclick" event in the appropiate elements. Using the Click event, for example, maybe we can prepare something that simulates de "double click". We also have right now the "RowSwipeLeft" and "RowSwipeRight" events ready to use.

However, I think can be a good think to count with an event like that in the Report control, so, don't worry because probably the next App Builder release implement that event Joshua.

P.S. The Report itself have a "Double Click" event, that maybe can be also suitable to use here. But again, just wait for a next AB release sir, I want to add the refered event for every Report's row.


DecSoft (In thread: IOS Apps, how to get them on the devices)

Hello to all,

From some releases ago App Builder generates the appropiate "debug", "release" and "run" shell scripts for UNIX (including Mac OS) in the same way than the generated files (BAT files) for Windows. I am working on an application which is also targeted to iOS and we use these generated shell files in order to build it in a MacOS in the same way than we can use the BAT files on Windows.

Hope this information can be useful!


DecSoft (In thread: How I can set a background image into an Container control?)

Hello,

For many months using app builder and changing the Container control styles is my problem.

1) BACKGROUND IMAGE
it doesn't change or rather it doesn't give me option to select an image.

2) OUTLINE
the outline color and width of container also didn't.

I have only succeeded in changing background color. How do i modify all these.

Hope after many months of evaluating App Builder you consider it useful for you! About your first question, I did not understand what your problem is. Can you provide a little application sample to take a look? For sure if you set the appropiate code for the background image the container uses it.

About your second question, I am very sorry, but also can't understand what you wanted and what you get. What CSS code are you using? Or maybe are you using the Container's CSS properties from the Styles object inspector? Are you talking about designtime or runtime?


DecSoft (In thread: How to implement certain Cordova's plugin in my app)

Hello,

Hi David

I think it's because I made minify the app Cod. When i tried it with a new app without code minification it works perfect.

Thanks

Sorry, but something like that have non sense: the App Builder's minimizer tool can minimize the Javascript and CSS code, but DO NOT alter their behaviour in any manner!


DecSoft (In thread: [SOLVED] Retrieve the properties of Object ?)

Hello Samuel,

Glad to know you learn something more. Certainly it's a good think we can extend App Builder using pure Javascript. Our application's actions are finally translated into Javascript code, and, the compiler is prepared to accept Javascript code directly (with the StartJS and EndJS actions) so it's easy to mix App Builder's actions and Javascript code. You shown above a good example of that.


DecSoft (In thread: [SOLVED] Retrieve the properties of Object ?)

Hello Samuel,

First of all, some sample code to try it:

About your last question... certainly we can reuse some functions and non visual controls across app's views, however, here in this thread you are talking about to reuse an HttpClient to perform various HTTP calls... ok, can be good... but my idea is that we have no limits in the number of HttpClients controls we can use, so, maybe it's a good idea to maintain it separated.

Of course, if the HTTP calls differs in a couple of arguments... maybe it's a good idea to simply reuse a control, however, I am thinking (that's the case of the application in which I am working now) that every HttpClient control have a very particular mission in the application: someone list certain data, others list other information, this list users, this other list articles, this other can be used to delete stuff, etc., etc.

Different tasks -> differents URLs (server's scripts) -> differents HttpClients controls. :)

However, continue talking about the application I am workin on right now, we reuse the same WebSocket control to maintain two different chats. In this case it's better to reuse the same control, which is placed in the first app's view and can be used in others too (since they are a non visual control).

Why we consider (may others can think different!) to reuse the WebSocket controls is fine? Because we maintain the connection in all the user's session, so we do this on one Websocket server and not two. On the other hand, the same WebSocket control's Message event is capable to differenciate the two available kind of chats. For this reasons we reuse this specific control.

But on the other hand we use lot of HttpClients controls... in different app's views... which produces differents results.


DecSoft (In thread: [SOLVED] Retrieve the properties of Object ?)

Hello Samuel,

First of all, it's no problem to add as many HttpClient (and app's views) as you needed in an application, so, maybe it's a good idea to do not use the same HttpClient for different purposes, so we are more sure about how to deal with the specifics HttpClient possible responses, etc.

About exactly what you wanted, that is, iterate over an Object variable, maybe we can't do it using AB actions right now, but we always can use pure Javascript code or certain Javascript library like jQuery if we wanted to use it.

In pure Javascript we can do something like this:

Where "object" is our variable in this case. Look at this tutorial to know how we can access app's variables and other stuff from pure Javascript code. Please, post here any further question about this question.


DecSoft (In thread: How can I trigger a button inside a record row without firing rowclick)

Hello Joshua,

Yes; you can use the "$index" word in this way:

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