Menu

Commit [r13042]  Maximize  Restore  History

.NET: INPUT dialog

Modelled from what the C runtime emits for INPUT BY NAME, not from the
source. Three details that only show up in the real output: Fields is
not null-terminated while Events is, event entries use a lowercase
"event" key rather than "type", and event ids are 1-based.

The dialog is declared once - fields, then the events wanted - and the
client drives it, reporting each event by id. Field values arrive with
the events (the reply's SVS array of FN/FT/T/Value) and accumulate, so
a program reads them by name and field_touched() works.

Nested arrays now carry their own null-termination flag, since MENU and
INPUT disagree about it.

mikeaubury 2026-09-02

changed /aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiChannel.cs
changed /aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiDialog.cs
added /aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiInput.cs
changed /aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiMessage.cs
added /aubit4glsrc/trunk/dotnet/tests/Aubit4GL.Runtime.Tests/InputTests.cs
/aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiChannel.cs Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiDialog.cs Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiInput.cs Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/dotnet/src/Aubit4GL.Runtime/Ui/UiMessage.cs Diff Switch to side-by-side view
Loading...
/aubit4glsrc/trunk/dotnet/tests/Aubit4GL.Runtime.Tests/InputTests.cs Diff Switch to side-by-side view
Loading...