FoxInCloud
Exit without returning to the home page
Hi Thierry,
I want a (one-time) user to be able to close the current page, but not return to the app home
wNavigate ("about:blank")
does not work in this way
The best would be to close the tab with window.close()
but its use is restrictive
There is one solution left: don't include a "Quit" button and save the exit code in release()
What do you think ?
wNavigate ("about:blank") does not work
Please try this change
modify command awServer
&& replace
case .F.;
OR InList(m.tcURL, '.', '..');
OR Right(m.tcURL, 1) == '/'; && {fr} suppose que les répertoires virtuels ont un document par défaut
OR Leftc(Lower(m.tcURL), Lenc('http://')) == 'http://';
OR Leftc(Lower(m.tcURL), Lenc('https://')) == 'https://';
OR InList(Lower(JustExt(m.tcURL)), 'html', 'htm');
&& by
case .F.;
OR InList(m.tcURL, '.', '..');
OR Right(m.tcURL, 1) == '/'; && {fr} suppose que les répertoires virtuels ont un document par défaut
OR Leftc(Lower(m.tcURL), Lenc('http://')) == 'http://';
OR Leftc(Lower(m.tcURL), Lenc('https://')) == 'https://';
OR Leftc(Lower(m.tcURL), Lenc('about:')) == 'about:'; && 2022-06-16 thn -- {FiC V 3.0.1-beta.1} {en} added for https://support.west-wind.com/Thread6CR07O77M.wwt#6CR07O77N -- see https://fr.wikipedia.org/wiki/About:
OR InList(Lower(JustExt(m.tcURL)), 'html', 'htm');
OR .F.
Thank you Thierry, I will test ...