web() and inputdlg() in App Designer
14 views (last 30 days)
I tried to call the functions web() and inputdlg() from an App Designer app. The functions are stored in another function which is called in the app.
In App Designer
the function (as a separate .m file):
% ... some other code that functions well
There is no dialogue box nor the browser opens while the rest of the code works :( Any ideas?
J. Alex Lee on 26 Feb 2021
i think you can get around both limitations with some extra coding...never tried it, and just a thought, but...
you could probably "fake" a modal input dialog with a uipanel containing an uieditfield, that you can position manually within the app figure. The trick is to either disable all interactions in the base figure (if that's important to you) when the uipanel is made visible, or make the uipanel cover the entire app.
for an alternative to web(), maybe as simple as uihtml()...you can set the htmlsource, but i have no idea if that source can be arbitrary locations on the internet.