cpacheco:
ManualTrigger
is gone, use this instead:
<WhileTrue ux:Name="MyTrigger">
And:
MyTrigger.Value = true;
cpacheco:
ManualTrigger
is gone, use this instead:
<WhileTrue ux:Name="MyTrigger">
And:
MyTrigger.Value = true;
Thanks! I use in the same way but my app dont work!
I have my app with ux:AutoCtor=“False” like this:
<App Theme="Basic" ux:Class="MyApp" ClearColor="#000" ux:AutoCtor="False">
And in UNO I have this (in previus versions works):
public MyApp(){
InitializeUX();
debug_log "App Start";
MyTrigger.Value = true;
}
And the debug dont appear and the WhileTrue dont work. The way to InitializeUX() or use ux:AutoCtor is the same?
The app is a black screen…
Thanks!
Cpacheco: This should work. We need a full test case to be able to debug further for you.
If you provide that, please start another thread. Thanks!
I am attempting to change the value of a TextBox by using
TextBox.SetValue(string, object);
Although, whenever the TextBox.Value and the string have different lengths, the program crashes with a message saying that:
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
Anders Jakob: What is a TextBox
?
You probably want to set the value using textInput.Value =
Note:
I’ve moved my post over to it’s own thread to keep this thread relevant.
post: https://www.fusetools.com/developers/forums/howto_discussions/numeric_textinput
Note 2:
Thank you for the MyTextInput class, although it’s only focusable through using Tab. Why is that? And how can I let it get focus through a click?