0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

neosでlogix その125

Last updated at Posted at 2023-05-01

概要

neosでlogixやってみる。
練習問題やってみた。

練習問題

レイアウトで button0、textfield、button1、読み込んだtextの並びで、
textfieldにhelloと、打ち、button1を押すと、読み込んだtextがhelloと変わるオブジェクトを作成せよ。

俺コードで書くと下記。
{a, _, _, _, _, _, _, _, _, _} = ButtonEvents NeosButton
{test.txt.content, ok, ng} = write a textfield.text

写真

2023-05-01 09.45.54.jpg

手順

  • devtooltipを装着
  • 新規->空オブジェクトをスポーン
  • 新規->オブジェクト->neos ui->buttonをスポーン
  • 新規->オブジェクト->neos ui->text fieldをスポーン
  • 新規->オブジェクト->neos ui->buttonをスポーン
  • ファイルブラウザーを開き、haru.txtをダブルクリックでスポーン
  • インスペクターを表示
  • logixtooltipを装着
  • 4つのオブジェクトを空の下に移動
  • buttonのneosbuttonをグラブしてrで、インターフェース表示
  • textfieldのtextをグラブしてrで、インターフェース表示
  • haru.txtのtextをグラブしてrで、インターフェース表示
  • 空オブジェクトをhelloにする
  • ノードブラウザを表示
  • Interaction->button eventsをスポーン
  • actions->writeをスポーン
  • インターフェースをつなぐ

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?