on 08-27-2014 8:32 PM
PB 11.5.2
Greeting All,
My understanding is that all datawindow expressions run, calculate, etc.. when each row is retrieved.
I have a user-defined function() in a tooltip expression that returns the time left from one datetime to another.
My desire is that each time a user hovers over the object within the datawindow, the Tooltip expression is re-run.
Is there a way to tell a datawindow row to re-run the expressions within that row, or even specifically against a particular expression (tooltip!)
Thanks!
Jason Lipman
Jason,
You can get surprised - it can get reevaluated way more often, even when it's repainting dw while scrolling.
If you need make sure it's repainted use groupcalc(), to refresh all of them (sometimes with deep dependencies on many expressions I even use 2 or 3 consecutive calls)
for just one row I'd use evaluate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh.. also note.. I tried dw.ReselectRow() already, but it is not a option because this is a datawindow that is populated via a procedure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.