from this thread
IF you INSPECT this area, after "Testing mode", you'll see a DIV with an ID.
So I modified TOP BAR, and added this:
One new change I spotted recently, and I have no idea how long this has been there, but after a normal SAVE of a form, I saw the message "Change Accepted" displayed at the bottom in the Status Bar.
NOW, after SAVEing a form, I see this message in my TOP BAR, at the location I placed a DIV... which is what we were asking for in the referenced thread.
No idea if this can be set with the SET PROGRESS action.
Playing with the new "SET PROGRESS action"
Playing with the new "SET PROGRESS action"
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: Playing with the new "SET PROGRESS action"
Holy moly, nice catch Jaymer and makes sense this should work. Did it also work after you disabled the status bar (so status messages aren´t sent only when the status bar is enabled)? This should work with the set progress as well I assume as it looks like a regular status message in the video.
Henrik (V8 Developer Ed. - Windows)
-
- Posts: 2409
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Re: Playing with the new "SET PROGRESS action"
Have tried the SET PROGRESS area and cannot get it to accept html.
Have asked for it. Would open up a lot of possibilities.... such as css Progress Bar.
Have asked for it. Would open up a lot of possibilities.... such as css Progress Bar.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Re: Playing with the new "SET PROGRESS action"
Henrik,
YES, this still works with the Status Bar disabled.
YES, this still works with the Status Bar disabled.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: Playing with the new "SET PROGRESS action"
1st one just added <b><i>
2nd one added a <span class=xxxx>
so this means that its not being stripped out somewhere down the line.
Since we've discovered this way of sending output to the "status_message" div, I'd think its only some simple mods for Vlad to wrap it in a special class that will help us style it a little better... to stand out.
And he probably can check the code to keep it from stripping HTML out of the SET PROGRESS function.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: Playing with the new "SET PROGRESS action"
The above post isn't directly related to the new SET PROGRESS, just a newly discovered status msg that Aware displays at unknown times.
ONE known event is on the save of a form. there may be others.
BUT AS TO SET PROGRESS, I can't get it to work.
Was trying NOT in a background process (which is what the video shows), but here: Was just trying to display a status message when a process shows a Form.
I get no output in the "status message" area, WITH or WITHOUT the Status Bar enabled/disabled.
Perhaps its because SET P is to be used in a background process as shown - and it doesn't work when placed in a non-background-running process.
IN ANY EVENT, anywhere we could call SET PROGRESS we could just as easily EXEC_JS to call our own message bar, as Henrik has in his "notify" functions. So while this was kinda neat, I'm not sure if its all that useful OUTSIDE of its designed use.
ONE known event is on the save of a form. there may be others.
BUT AS TO SET PROGRESS, I can't get it to work.
Was trying NOT in a background process (which is what the video shows), but here: Was just trying to display a status message when a process shows a Form.
I get no output in the "status message" area, WITH or WITHOUT the Status Bar enabled/disabled.
Perhaps its because SET P is to be used in a background process as shown - and it doesn't work when placed in a non-background-running process.
IN ANY EVENT, anywhere we could call SET PROGRESS we could just as easily EXEC_JS to call our own message bar, as Henrik has in his "notify" functions. So while this was kinda neat, I'm not sure if its all that useful OUTSIDE of its designed use.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
-
- Posts: 130
- Joined: Tue Dec 03, 2013 10:19 pm
Re: Playing with the new "SET PROGRESS action"
Hi,
I attempted to add a string message on the set progress keyword. It's giving an error while executing stating it needs a percentage.
Is there a way how to fix this?
Thanks!
I attempted to add a string message on the set progress keyword. It's giving an error while executing stating it needs a percentage.
Is there a way how to fix this?
Thanks!
-
- Posts: 2409
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Re: Playing with the new "SET PROGRESS action"
The first parameter is mandatory and should represent the percentage complete. BUT, keep in mind, that parameter is not shown and is only used by the function. If you want to see the percentage complete then you need to include that again in you output string.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
-
- Posts: 130
- Joined: Tue Dec 03, 2013 10:19 pm
Re: Playing with the new "SET PROGRESS action"
Thanks Mark!