bb.donnay-software.com

Donnay Software Web Forums
It is currently Wed Aug 12, 2020 3:12 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed May 27, 2020 4:48 am 
Offline
User avatar

Joined: Sat Feb 04, 2012 2:23 am
Posts: 1349
Location: Russia, Southern federal district, city of Krasnodar
Is it possible to run the DC_WaitOn() function so that the progress bar can move, hide behind opening Windows, or collapse? Or maybe there is a similar function that can do this?

_________________
http://lc.kubagro.ru/
https://www.researchgate.net/profile/Eugene_Lutsenko
http://ej.kubagro.ru/
http://ej.kubagro.ru/a/viewaut.asp?id=11


Top
 Profile  
 
PostPosted: Fri Jun 05, 2020 5:44 am 
Offline

Joined: Fri Jan 28, 2011 4:07 am
Posts: 17
Privjet Mr. Lutsenko

You will need to

a) remove 'ALWAYSONTOP' parameter for DCGETOPTIONS inside dc_waiton() source
or b) modify dc_waiton() with additional parameter that turns on/off ALWAYSONTOP

express\Source\Dclipx\_dcexpl.prg ; line 564

Currently it is hardcoded as fair i see it in source


Eugene Lutsenko wrote:
Is it possible to run the DC_WaitOn() function so that the progress bar can move, hide behind opening Windows, or collapse? Or maybe there is a similar function that can do this?


Top
 Profile  
 
PostPosted: Wed Jun 10, 2020 12:50 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 27, 2010 6:58 pm
Posts: 4149
Location: Boise, Idaho USA
DC_WaitOn() is a very old function written before I even started writing eXpress++.

I'll see what I can do about giving you ALWAYSONTOP as an option.

_________________
The eXpress train is coming - and it has more cars.


Top
 Profile  
 
PostPosted: Wed Jun 10, 2020 9:42 pm 
Offline
User avatar

Joined: Sat Feb 04, 2012 2:23 am
Posts: 1349
Location: Russia, Southern federal district, city of Krasnodar
Thanks!

_________________
http://lc.kubagro.ru/
https://www.researchgate.net/profile/Eugene_Lutsenko
http://ej.kubagro.ru/
http://ej.kubagro.ru/a/viewaut.asp?id=11


Top
 Profile  
 
PostPosted: Mon Jun 15, 2020 6:37 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 27, 2010 6:58 pm
Posts: 4149
Location: Boise, Idaho USA
This is old, bad code so don't cringe when you see it. It is about 30 years old.

Here is an updated _DCEXPL.PRG with an additional parameter you can pass to DC_WaitOn().

The 12th parameter is lAlwaysOnTop. It defaults to TRUE. You would pass it FALSE.

Example:

Code:
FUNCTION Main()

LOCAL oScrn, i

oScrn := DC_WaitOn('Building Data...',,,,,,,,,,,.f.)

FOR i := 1 TO 10
  Sleep(100)
NEXT

DC_Impl(oScrn)

RETURN nil


Copy _DCEXPL.PRG to your \exp20\source\dclipx folder and run build20.bat or build19_sl1.bat to rebuild dclipx.dll.


Attachments:
_dcexpl.zip [6.86 KiB]
Downloaded 88 times

_________________
The eXpress train is coming - and it has more cars.
Top
 Profile  
 
PostPosted: Mon Jun 15, 2020 7:06 am 
Offline
User avatar

Joined: Sat Feb 04, 2012 2:23 am
Posts: 1349
Location: Russia, Southern federal district, city of Krasnodar
Thank you very much, Roger! Health and well-being to you!

_________________
http://lc.kubagro.ru/
https://www.researchgate.net/profile/Eugene_Lutsenko
http://ej.kubagro.ru/
http://ej.kubagro.ru/a/viewaut.asp?id=11


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group