- You need to change the value being shown in the textbox first
- You need to then click away or press Enter
File selection using uigetfile in an App in appdesigner
15 visualizzazioni (ultimi 30 giorni)
I want to select a file using uigetfile and then display the name in a Edit Field (text) window, What is the best way to do this in Appdesigner?
I have done a similar function in an app that I had designed in Guide. There, I could call uigetfile as soon as I clicked in the Edit Field (text) window using the Callback function, in which I called the uigetfile function.
In appdesigner I see only ValueChanged and ValueChanging function for the Edit Field (text) Component, neither of which seems to tbe the right Callback to use.
Yongjian Feng il 28 Gen 2022
uigetfile in general is put in a callback for a button, as mentioned by Michael. The ValueChanged callback of a textbox is not a good choice becaue:
Your callback is called only after both above happened.
Why do you want to link a uigetfile to a textbox?