need codeblock to control AUTOREFRESH
need codeblock to control AUTOREFRESH
If AUTOREFRESH had the capability to have a codeblock attached that controlled if the refresh happens - it would solve my problem.
Jon Steven
Re: need codeblock to control AUTOREFRESH
I added a new WHEN subclause to the AUTOREFRESH clause.
Example:
The attached file contains the following:
dcdialog.ch - copy to \exp19\include
_dcxbrow.prg - copy to \exp19\source\dclipx
Rebuild dclipx.dll by running build19_sl1.bat
Example:
Code: Select all
@ .. DCBROWSE .. AUTOREFRESH 1000 WHEN {||NotBusy()}
dcdialog.ch - copy to \exp19\include
_dcxbrow.prg - copy to \exp19\source\dclipx
Rebuild dclipx.dll by running build19_sl1.bat
- Attachments
-
- autorefresh.zip
- AutoRefresh .. When
- (61.6 KiB) Downloaded 921 times
The eXpress train is coming - and it has more cars.
Re: need codeblock to control AUTOREFRESH
reminder from IM:
can add another parameter like so:
AUTOREFRESH 1000 WHEN {||NotBusy()} REFRESHBLOCK {||MyrefreshFunction()}
can add another parameter like so:
AUTOREFRESH 1000 WHEN {||NotBusy()} REFRESHBLOCK {||MyrefreshFunction()}
Jon Steven
Re: need codeblock to control AUTOREFRESH
Done.
Attached.
Attached.
- Attachments
-
- autorefresh.zip
- Autorefresh Block
- (61.67 KiB) Downloaded 916 times
The eXpress train is coming - and it has more cars.