[Solved] Busy Indicator while page is loading

You can try something like that: Display a loading-gif on your page: <div class=”loading”> <img src=”https://stackoverflow.com/questions/27108406/path/to/loading.gif” /> </div> And then hide it when the page is fully loaded: $(document).ready(function(){ $(‘.loading’).hide(); }); or hide it when some ajax-calls are completed: $(document).ajaxComplete(function() { $(‘.loading’).hide(); }); 0 solved Busy Indicator while page is loading

[Solved] Select Directory error … delphi 7 [closed]

var olddir: string; //global variable procedure olddiris(name:string); begin if name=”trick” then olddir:= ‘c:\program files\’+name; end; procedure MyGetPath(name:string); var options : TSelectDirOpts; begin OldDirIs(name); //returns olddir if FileCtrl.SelectDirectory(OldDir,options,0) then ShowMessage(‘i got it’); end; procedure TForm1.Button1Click(Sender: TObject); begin Mygetpath(‘trick’); end; This code runs without error… (Note: changed GetPath -> MyGetPath; added “\” to ‘c:\program files’) If the … Read more

[Solved] Pass Data from Dialog to new Activity

Pass in as an extra: instead of: Intent i = new Intent(getActivity().getApplicationContext(),Upvalence.class); startActivity(i); you should pass in the name Intent i = new Intent(getActivity().getApplicationContext(),Upvalence.class); i.putExtra(“string”, SlectedName); startActivity(i); Then, on your Upvalence activity: @Override protected void onCreate(@Nullable Bundle savedInstanceState) { Bundle arguments = this.getIntent().getExtras(); String yourString = arguments.getString(“string”); } solved Pass Data from Dialog to new … Read more

[Solved] execute program while window handled mfc

It sounds like you need a windows hook. http://msdn.microsoft.com/en-us/library/windows/desktop/ms644959(v=vs.85).aspx#whgetmessagehook with WH_GETMESSAGE you get to see the windows events being processed by the other application’s window, you could then wait for the WM_CLOSE to show up, and kill your dialog. solved execute program while window handled mfc