アイコンやボタンを押したら数値をカウントアップ/ダウンする機能の作り方 #PowerApps

アイコンやボタンを押したら数値をカウントアップ/ダウンする機能の作り方 #PowerApps

アイコンやボタンを押したら数値をカウントアップ/ダウンする機能の作り方 #PowerApps

今回は、アイコンを押したら数値をカウントアップする機能の作り方をご紹介します。アイコンとテキスト入力コントロールは事前に配置してあります。Power Apps で変化する数値や値を扱うには変数を利用する必要があります。変数にはいくつか種類がありますが、今回は UpdateContext を使ったコンテキスト変数を利用します。コンテキスト変数は変数を作成した画面内でのみ有効な変数です。 ctxCount という変数名で、右向きのアイコンを押したら プラス1、左向きのアイコンを押したらマイナス1になるように式を記載します。最後に、作成した変数をテキスト入力コントロールの Default プロパティに設定し完成です。この機能は、ページネーションや個数の入力などに使うことができます。

使用した式

その他の Tips はこちらから

Power Apps

Power Automate

Power Apps で 備品管理アプリを作ろう

Power Apps Tutorial

当チャネルは Microsoft のビジネスの加速に必要なあらゆるデータの統合を実現するプラットフォームである Power Platform に関する情報や実際に作成したサンプルや Tips などを紹介するチャネルになります。

「こういったアプリを作ってみたい!」とか「ここってどうやるの?」といった質問がある方は Twitter またはブログ、コメント からご連絡ください。

This channel will introduce information about the Power Platform, a platform that integrates all the data necessary to accelerate Microsoft’s business, as well as samples and tips that we have actually created.

“I want to make an app like this! Or “How do I do this? If you have any questions, please contact us via Titter, blog, or comment.

#PowerApps #PowerAutomate #PowerPlatform #Microsoft #DX
#PowerPlatformWork

音楽:BGMer

カウンティングカテゴリの最新記事