Загрузка...

Recreating the Calculator in Modern Power Apps - Downloadable Copy in Github

Download a copy and import in your environment:
Calculator2024_20240609181205.zip
https://github.com/TheAndrewHess/2024/

This video is a learning experiment for anyone new to Microsoft Power Apps. About 1.5 years ago we created a calculator Power App with classic themes. This year lets do a few things different!
1. Modern Themes
2. Using Out of the Box Template
3. Using Containers
4. Making it Responsive
5. Fixing All Errors.
6. Biggest of all you can download the app and Import it into your environment!

If you need help importing here is a guide, and just take the main file Calculator2024.zip and click import in your environment:
https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/export-import-app

Creating a calculator in Power Apps is an excellent learning experiment that allows you to explore the platform's features and capabilities in a practical, hands-on way. This project helps you understand the fundamentals of app development within Power Apps, including user interface design, formula implementation, and data integration. By building a calculator, you gain valuable experience in problem-solving and application customization, which can be applied to more complex projects in the future. Additionally, this experiment serves as a foundational exercise, enhancing your skills and confidence in using Power Apps to develop tailored solutions for various business needs.

Here is the code for the equals button OnSelect:
Set(varCalculateText, varCalculateText & varNumber);
Switch(varArith,
"Add",
Set(varNumber,Text(Left(txtCalculateText.Text,Len(txtCalculateText.Text) - (Len(varNumber)+3)) + Value(txtNumber.Text))),
"Subtract",
Set(varNumber,Text(Left(txtCalculateText.Text,Len(txtCalculateText.Text) - (Len(varNumber)+3)) - Value(txtNumber.Text))),
"Multiply",
Set(varNumber,Text(Left(txtCalculateText.Text,Len(txtCalculateText.Text) - (Len(varNumber)+3)) * Value(txtNumber.Text))),
"Divide",
Set(varNumber,Text(Left(txtCalculateText.Text,Len(txtCalculateText.Text) - (Len(varNumber)+3)) / Value(txtNumber.Text))))
Chapters:
0:00 Introduction
2:00 Starting with a Template
3:20 Turning on Modern and Responsive
6:00 Perfecting the Look
12:10 Setting up the Text Label
17:33 Working on the Addition Button
18:54 An Important Toggle Variable
23:50 Explaining the Equals Calculation Button
26:42 Setting up our Switch Statement
28:20 Conclusion

Видео Recreating the Calculator in Modern Power Apps - Downloadable Copy in Github канала Andrew Hess
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять