I'm retrievestart () open the window, retrieveend () close the window
CodePudding user response:
Top, also want to have this functionCodePudding user response:
Write the logic in the data window RetrieveRow try,CodePudding user response:
Warrior for helpCodePudding user response:
I feel I can only use multithreading or multi-process implementation, yield impact efficiencyCodePudding user response:
This function does anyone can provide a GuanNian..CodePudding user response:
1, building a popup! Type of the window, put on your GIF images, the name of the stored as w_base_wait;2, the following code. Save as n_cst_thread_basewait sru, right-click on your PBL again import... Get a Custom called n_cst_thread_basewait Class;
$PBExportHeader $n_cst_thread_basewait. Sru
$PBExportComments $on or off waiting threads window
Forward
Global type n_cst_thread_basewait from nonvisualobject
End type
End forward
Global type n_cst_thread_basewait from nonvisualobject
End type
Global n_cst_thread_basewait n_cst_thread_basewait
The type as
End as
The type variables
End the variables
Forward as
The public function integer of_close_wait ()
The public function integer of_open_wait ()
End as
The public function integer of_close_wait (); If isvalid (w_base_wait) then close (w_base_wait)
Return 0
End the function
The public function integer of_open_wait (); If not isvalid (w_base_wait) then open (w_base_wait)
Return 0
End the function
On n_cst_thread_basewait. The create
Call super: : create
TriggerEvent (this, "constructor")
End on
On n_cst_thread_basewait. Destroy
TriggerEvent (this, "destructor")
Call super: : destroy
End on
3, in the application to define a global variable n_cst_thread_basewait gwait and add a function called of_cthread_wait, return an integer:
ErrorReturn err
Err=SharedObjectRegister (" n_cst_thread_basewait ", "nwait")
IF err & lt;> Success! THEN
Messagebox (', 'registered Shared object failed! ', stopsign!)
The return - 1
END the IF
Err=SharedObjectGet (" nwait gwait)
If err & lt;> Success! Then
Messagebox (', 'generated from the Shared object registered thread failure! ', stopsign)
The return - 1
End the if
SharedObjectUnregister (' nwait)
If isvalid (gwait) then
Return 0
The else
The return - 1
End the if
4, written in the application of the open event: of_cthread_wait ()
5, need to open for window place to write: gwait. Post of_open_wait (), where the need to close the write: gwait. Post of_close_wait ()
CodePudding user response:
To learn...CodePudding user response:
Tried, the effect is not idealCodePudding user response:
Tried, the effect is not ideal, ha haCodePudding user response:
Want to be the simplest, find a play AVI control,It does not hang in there,
CodePudding user response: