App developer more Button

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
stefan.erni
Valued Contributor
Posts: 757
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

App developer more Button

Post by stefan.erni »

Hi Ben

It's working very nice with the App developer and the keyboard button.
KB-2021-01-22_17-21-07.png
KB-2021-01-22_17-21-07.png (4.86 KiB) Viewed 5317 times

Is it possible to add more button components for the App developer like the switch component, but just as a press Button pressed by the mouse?
The text and color should be able to be changed while running.
Show/hide should be able to be changed while running.

And a button can press an another button, if I press End App Dev it's press Stop Motor.

ESC 2021-01-22_17-57-40.png
ESC 2021-01-22_17-57-40.png (8.89 KiB) Viewed 5317 times


At the moment if I stop the App developer with this Stop Button, the App end right away. Its is not really good when I do a Tesla control

regards

Stefan
Stop-2021-01-22_17-40-45.png
Stop-2021-01-22_17-40-45.png (20.03 KiB) Viewed 5317 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 509 times
Been thanked: 472 times

Re: App developer more Button

Post by medelec35 »

Hi Stefan,
stefan.erni wrote:
Fri Jan 22, 2021 5:04 pm
Is it possible to add more button components for the App developer like the switch component, but just as a press Button pressed by the mouse?
Take a look at this App.
It uses switches you can press with the mouse.
They can be set up to change text with pressed etc
Martin

stefan.erni
Valued Contributor
Posts: 757
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App developer more Button

Post by stefan.erni »

Hi Martin

Thanks Martin, I saw how you did it. If the switch is longer than high, there is a usable picture.
Also, I don't have to move the switch with the mouse, just click with the mouse. This info is already a great help.
But if this switch should be square, I think there is something wrong.
A (push) button for my application would be even better than a switch

regards

Stefan
Attachments
push-button-2021-01-25_10-23-30.png
push-button-2021-01-25_10-23-30.png (34.42 KiB) Viewed 5274 times

stefan.erni
Valued Contributor
Posts: 757
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App developer more Button

Post by stefan.erni »

Hi Martin

Such a push button was already available in the FC8 SCADA.
But I can't find it anymore

regards

Stefan
Pushbutton_2021-01-26_11-32-23.png
Pushbutton_2021-01-26_11-32-23.png (95.29 KiB) Viewed 5261 times

Steve-Matrix
Matrix Staff
Posts: 1249
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: App developer more Button

Post by Steve-Matrix »

A lot of components are hidden, but they are usually still available. Try looking for them in the component search window.

BenR
Matrix Staff
Posts: 1735
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 439 times
Been thanked: 603 times

Re: App developer more Button

Post by BenR »

At the moment if I stop the App developer with this Stop Button, the App end right away. Its is not really good when I do a Tesla control
If you need to gracefully do something like flush and close comms then this is possible by enabling the Simulation Stop Event and assigning a new macro to it. This macro should then run and allow you to do any last second things before the app stops.
SimStop.jpg
SimStop.jpg (22.46 KiB) Viewed 5256 times

stefan.erni
Valued Contributor
Posts: 757
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App developer more Button

Post by stefan.erni »

Hi Steve
This push button is hidding very good. I can't found it.

Hi Ben

Yes that a what I'm looking for.

I did it but it's give a problem with incompatible macro.

regards

Stefan
Macro_2021-01-26_14-41-30.png
Macro_2021-01-26_14-41-30.png (20.89 KiB) Viewed 5248 times

Steve-Matrix
Matrix Staff
Posts: 1249
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: App developer more Button

Post by Steve-Matrix »

stefan.erni wrote:
Tue Jan 26, 2021 1:48 pm
This push button is hidding very good. I can't found it.
Sorry - you are correct. I thought all components were available (but hidden). Unfortunately, only some exist for App Developer.

I will discuss here at Matrix to see how easy it is to make them available.

stefan.erni
Valued Contributor
Posts: 757
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App developer more Button

Post by stefan.erni »

Hi Steve

Thank you.

Hi Ben

There was just a problem with the return variable missing. Now it's working perfect.
If I press the stop debug it's send lastly a stop at the machine.

regards

Stefan
Cancel_2021-01-26_15-53-28.png
Cancel_2021-01-26_15-53-28.png (24.71 KiB) Viewed 5240 times
Stop_2021-01-26_15-57-17.png
Stop_2021-01-26_15-57-17.png (17.04 KiB) Viewed 5240 times

BenR
Matrix Staff
Posts: 1735
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 439 times
Been thanked: 603 times

Re: App developer more Button

Post by BenR »

Thanks for letting us know,

The missing switches should be there now, though still hidden they should now be available via search.

Also not sure if this is of interest but I made a quick demo for making your own switch with images on here.

https://matrixtsl.com/mmforums/viewtopi ... 44#p104744

Post Reply