-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ab01e5
commit b191639
Showing
6 changed files
with
120 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,94 +1,93 @@ | ||
//%attributes = {"invisible":true} | ||
|
||
C_LONGINT:C283(Progress SET PROGRESS ;$1) | ||
C_REAL:C285(Progress SET PROGRESS ;$2) | ||
C_TEXT:C284(Progress SET PROGRESS ;$3) | ||
C_BOOLEAN:C305(Progress SET PROGRESS ;$4) | ||
C_LONGINT:C283(Progress SET PROGRESS; $1) | ||
C_REAL:C285(Progress SET PROGRESS; $2) | ||
C_TEXT:C284(Progress SET PROGRESS; $3) | ||
C_BOOLEAN:C305(Progress SET PROGRESS; $4) | ||
|
||
C_LONGINT:C283(Progress SET ICON ;$1) | ||
C_PICTURE:C286(Progress SET ICON ;$2) | ||
C_BOOLEAN:C305(Progress SET ICON ;$3) | ||
C_LONGINT:C283(Progress SET ICON; $1) | ||
C_PICTURE:C286(Progress SET ICON; $2) | ||
C_BOOLEAN:C305(Progress SET ICON; $3) | ||
|
||
C_LONGINT:C283(Progress SET ON STOP METHOD ;$1) | ||
C_TEXT:C284(Progress SET ON STOP METHOD ;$2) | ||
C_BOOLEAN:C305(Progress SET ON STOP METHOD ;$3) | ||
C_LONGINT:C283(Progress SET ON STOP METHOD; $1) | ||
C_TEXT:C284(Progress SET ON STOP METHOD; $2) | ||
C_BOOLEAN:C305(Progress SET ON STOP METHOD; $3) | ||
|
||
C_TEXT:C284(Progress Get On Stop Method ;$0) | ||
C_LONGINT:C283(Progress Get On Stop Method ;$1) | ||
C_TEXT:C284(Progress Get On Stop Method; $0) | ||
C_LONGINT:C283(Progress Get On Stop Method; $1) | ||
|
||
C_LONGINT:C283(Progress QUIT ;$1) | ||
C_LONGINT:C283(Progress QUIT; $1) | ||
|
||
C_PICTURE:C286(Progress Get Icon ;$0) | ||
C_LONGINT:C283(Progress Get Icon ;$1) | ||
C_PICTURE:C286(Progress Get Icon; $0) | ||
C_LONGINT:C283(Progress Get Icon; $1) | ||
|
||
C_LONGINT:C283(Progress New ;$0) | ||
C_BOOLEAN:C305(Progress New ;$1) | ||
C_LONGINT:C283(Progress New; $0) | ||
C_BOOLEAN:C305(Progress New; $1) | ||
|
||
C_LONGINT:C283(Progress SET TITLE ;$1) | ||
C_TEXT:C284(Progress SET TITLE ;$2) | ||
C_REAL:C285(Progress SET TITLE ;$3) | ||
C_TEXT:C284(Progress SET TITLE ;$4) | ||
C_BOOLEAN:C305(Progress SET TITLE ;$5) | ||
C_LONGINT:C283(Progress SET TITLE; $1) | ||
C_TEXT:C284(Progress SET TITLE; $2) | ||
C_REAL:C285(Progress SET TITLE; $3) | ||
C_TEXT:C284(Progress SET TITLE; $4) | ||
C_BOOLEAN:C305(Progress SET TITLE; $5) | ||
|
||
C_LONGINT:C283(Progress SET MESSAGE ;$1) | ||
C_TEXT:C284(Progress SET MESSAGE ;$2) | ||
C_BOOLEAN:C305(Progress SET MESSAGE ;$3) | ||
C_LONGINT:C283(Progress SET MESSAGE; $1) | ||
C_TEXT:C284(Progress SET MESSAGE; $2) | ||
C_BOOLEAN:C305(Progress SET MESSAGE; $3) | ||
|
||
C_TEXT:C284(Progress Get On Error Method ;$0) | ||
C_TEXT:C284(Progress Get On Error Method; $0) | ||
|
||
C_TEXT:C284(Progress SET ON ERROR METHOD ;$1) | ||
C_TEXT:C284(Progress SET ON ERROR METHOD; $1) | ||
|
||
C_LONGINT:C283(Progress__ManageMethodsError ;$1) | ||
C_LONGINT:C283(Progress__ManageMethodsError ;$2) | ||
C_LONGINT:C283(Progress__ManageMethodsError; $1) | ||
C_LONGINT:C283(Progress__ManageMethodsError; $2) | ||
|
||
C_LONGINT:C283(Progress__UpdateDynVar ;$1) | ||
C_LONGINT:C283(Progress__UpdateDynVar; $1) | ||
|
||
C_LONGINT:C283(Progress__Launch ;$0) | ||
C_LONGINT:C283(Progress__Launch ;$1) | ||
C_LONGINT:C283(Progress__Launch; $1) | ||
|
||
C_TEXT:C284(Progress Get Title ;$0) | ||
C_LONGINT:C283(Progress Get Title ;$1) | ||
C_TEXT:C284(Progress Get Title; $0) | ||
C_LONGINT:C283(Progress Get Title; $1) | ||
|
||
C_TEXT:C284(Progress Get Message ;$0) | ||
C_LONGINT:C283(Progress Get Message ;$1) | ||
C_TEXT:C284(Progress Get Message; $0) | ||
C_LONGINT:C283(Progress Get Message; $1) | ||
|
||
C_REAL:C285(Progress Get Progress ;$0) | ||
C_LONGINT:C283(Progress Get Progress ;$1) | ||
C_REAL:C285(Progress Get Progress; $0) | ||
C_LONGINT:C283(Progress Get Progress; $1) | ||
|
||
C_LONGINT:C283(Progress__OnExternalCall ;$1) | ||
C_LONGINT:C283(Progress__OnExternalCall ;$2) | ||
C_LONGINT:C283(Progress__OnExternalCall; $1) | ||
C_LONGINT:C283(Progress__OnExternalCall; $2) | ||
|
||
C_TEXT:C284(Progress__CallCallBack ;$1) | ||
C_LONGINT:C283(Progress__CallCallBack ;$2) | ||
C_TEXT:C284(Progress__CallCallBack; $1) | ||
C_LONGINT:C283(Progress__CallCallBack; $2) | ||
|
||
C_BOOLEAN:C305(Progress Stopped ;$0) | ||
C_LONGINT:C283(Progress Stopped ;$1) | ||
C_BOOLEAN:C305(Progress Stopped; $0) | ||
C_LONGINT:C283(Progress Stopped; $1) | ||
|
||
C_LONGINT:C283(Progress SET BUTTON ENABLED ;$1) | ||
C_BOOLEAN:C305(Progress SET BUTTON ENABLED ;$2) | ||
C_BOOLEAN:C305(Progress SET BUTTON ENABLED ;$3) | ||
C_LONGINT:C283(Progress SET BUTTON ENABLED; $1) | ||
C_BOOLEAN:C305(Progress SET BUTTON ENABLED; $2) | ||
C_BOOLEAN:C305(Progress SET BUTTON ENABLED; $3) | ||
|
||
C_LONGINT:C283(Progress Get Button Enabled ;$1) | ||
C_BOOLEAN:C305(Progress Get Button Enabled ;$0) | ||
C_LONGINT:C283(Progress Get Button Enabled; $1) | ||
C_BOOLEAN:C305(Progress Get Button Enabled; $0) | ||
|
||
C_TEXT:C284(Progress SET FONTS ;$1) | ||
C_TEXT:C284(Progress SET FONTS ;$2) | ||
C_TEXT:C284(Progress SET FONTS ;$3) | ||
C_TEXT:C284(Progress SET FONTS; $1) | ||
C_TEXT:C284(Progress SET FONTS; $2) | ||
C_TEXT:C284(Progress SET FONTS; $3) | ||
|
||
C_LONGINT:C283(Progress SET FONT SIZES ;$1) | ||
C_LONGINT:C283(Progress SET FONT SIZES ;$2) | ||
C_LONGINT:C283(Progress SET FONT SIZES ;$3) | ||
C_LONGINT:C283(Progress SET FONT SIZES; $1) | ||
C_LONGINT:C283(Progress SET FONT SIZES; $2) | ||
C_LONGINT:C283(Progress SET FONT SIZES; $3) | ||
|
||
C_LONGINT:C283(Progress SET BUTTON TITLE ;$1) | ||
C_TEXT:C284(Progress SET BUTTON TITLE ;$2) | ||
C_BOOLEAN:C305(Progress SET BUTTON TITLE ;$3) | ||
C_LONGINT:C283(Progress SET BUTTON TITLE; $1) | ||
C_TEXT:C284(Progress SET BUTTON TITLE; $2) | ||
C_BOOLEAN:C305(Progress SET BUTTON TITLE; $3) | ||
|
||
C_LONGINT:C283(Progress Get Button Title ;$1) | ||
C_TEXT:C284(Progress Get Button Title ;$0) | ||
C_LONGINT:C283(Progress Get Button Title; $1) | ||
C_TEXT:C284(Progress Get Button Title; $0) | ||
|
||
|
||
//PROGRESS SET WINDOW VISIBLE | ||
C_BOOLEAN:C305(Progress SET WINDOW VISIBLE ;$1) | ||
C_LONGINT:C283(Progress SET WINDOW VISIBLE ;$2) | ||
C_LONGINT:C283(Progress SET WINDOW VISIBLE ;$3) | ||
C_BOOLEAN:C305(Progress SET WINDOW VISIBLE ;$4) | ||
//PROGRESS SET WINDOW VISIBLE | ||
C_BOOLEAN:C305(Progress SET WINDOW VISIBLE; $1) | ||
C_LONGINT:C283(Progress SET WINDOW VISIBLE; $2) | ||
C_LONGINT:C283(Progress SET WINDOW VISIBLE; $3) | ||
C_BOOLEAN:C305(Progress SET WINDOW VISIBLE; $4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,53 @@ | ||
//%attributes = {"invisible":true} | ||
// modifiée le 24 nov 2010 par RL | ||
// fenetre centrée verticalement sur windows | ||
// type de fenetre modifiée (avec case de reduction) | ||
// Modifiée le 24 nov 2010 par RL | ||
// Fenetre centrée verticalement sur windows | ||
// Type de fenetre modifiée (avec case de reduction) | ||
#DECLARE($runnerFlag : Integer) | ||
|
||
C_LONGINT:C283($0) //recursive call | ||
C_LONGINT:C283($1) //recursive indicator | ||
|
||
C_PICTURE:C286($Image) | ||
C_LONGINT:C283($PS_Progress; $ProgressWindow) | ||
|
||
C_LONGINT:C283($SubformWidth; $SubformHeight) | ||
C_LONGINT:C283($x1; $y1; $x2; $y2) | ||
C_LONGINT:C283($Width; $Height; $WinPosX; $WinPosY) | ||
|
||
C_LONGINT:C283(<>PS_Progress) | ||
C_LONGINT:C283(<>VerticalCenter) | ||
var $form : Text | ||
var $height; $width; $left; $right; $top; $bottom : Integer | ||
|
||
If (Count parameters:C259=0) | ||
|
||
If (<>PS_Progress=0) | ||
<>PS_Progress:=New process:C317("Progress__Launch"; 128000; "$ProgressBar"; 0) //ACI0100926 (128000 instead of 64000) | ||
|
||
<>PS_Progress:=New process:C317(Formula:C1597(Progress__Launch).source; 0; "$ProgressBar"; 0) // ACI0100926 (128000 instead of 64000) | ||
DELAY PROCESS:C323(Current process:C322; 15) // 1/4 de seconde | ||
|
||
End if | ||
|
||
return | ||
|
||
End if | ||
|
||
// ACI0098693 | ||
If (Is Windows:C1573) | ||
|
||
$form:="D_Multiprogress_Win" | ||
FORM GET PROPERTIES:C674($form; $width; $height) | ||
|
||
$left:=(Screen width:C187\2)-($width\2) | ||
$top:=(Screen height:C188-$height)\2 | ||
$bottom:=$top+$height | ||
|
||
<>ProgressWindow:=Open form window:C675($form; Plain fixed size window:K34:6+Form has no menu bar:K39:18; $left; $top) | ||
<>VerticalCenter:=($top+$bottom)\2 | ||
|
||
Else | ||
|
||
//ACI0098693 | ||
If (Is Windows:C1573) | ||
|
||
$SubformWidth:=400 | ||
$SubformHeight:=120 | ||
|
||
$x1:=(Screen width:C187/2)-($SubformWidth/2) | ||
$y1:=(Screen height:C188-$SubformHeight)/2 | ||
$x2:=$x1+$SubformWidth | ||
$y2:=$y1+$SubformHeight | ||
|
||
<>ProgressWindow:=Open window:C153($x1; $y1; $x2; $y2; Plain fixed size window:K34:6+Form has no menu bar:K39:18) | ||
<>VerticalCenter:=($y1+$y2)/2 | ||
|
||
DIALOG:C40("D_Multiprogress_Win") | ||
|
||
Else | ||
|
||
|
||
|
||
$SubformWidth:=400 | ||
$SubformHeight:=68 | ||
|
||
$x1:=(Screen width:C187/2)-($SubformWidth/2) | ||
$y1:=80+Tool bar height:C1016 | ||
$x2:=$x1+$SubformWidth | ||
$y2:=$y1+$SubformHeight | ||
|
||
//<>ProgressWindow:=Open window($x1;$y1;$x2;$y2;Plain fixed size window) // ACI0098693 +_ o _ Compositing mode) | ||
|
||
//<>ProgressWindow:=Open window($x1;$y1;$x2;$y2;Palette window*(-1)) | ||
<>ProgressWindow:=Open window:C153($x1; $y1; $x2; $y2; Plain fixed size window:K34:6*(-1)) | ||
<>VerticalCenter:=$x1 | ||
|
||
DIALOG:C40("D_Multiprogress_Mac") | ||
|
||
End if | ||
$form:="D_Multiprogress_Mac" | ||
FORM GET PROPERTIES:C674($form; $width; $height) | ||
|
||
CLOSE WINDOW:C154 | ||
$left:=(Screen width:C187\2)-($width\2) | ||
$top:=80+Tool bar height:C1016 | ||
$bottom:=$top+$height | ||
|
||
<>PS_Progress:=0 | ||
<>ProgressWindow:=Open form window:C675($form; Plain fixed size window:K34:6*(-1); $left; $top) | ||
<>VerticalCenter:=$left | ||
|
||
End if | ||
|
||
DIALOG:C40($form) | ||
CLOSE WINDOW:C154 | ||
|
||
<>PS_Progress:=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,48 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><preferences stamp="16"> | ||
<?xml version="1.0" encoding="UTF-8"?><preferences stamp="17"> | ||
<com.4d> | ||
<interface> | ||
<user can_change_password="true" default_user="0" print_progress="false"/> | ||
<shortcuts> | ||
<add_subform command="false" key_code="0" shift="false"/> | ||
<cancel_input_form key_code="0"/> | ||
<accept_input_form key_code="0"/> | ||
</shortcuts> | ||
<developper design_acces="0"/> | ||
</interface> | ||
<accept_input_form key_code="0"/> </shortcuts> | ||
<developper design_acces="0"/> </interface> | ||
<web> | ||
<standalone_server> | ||
<configuration ip_address="0" listening_address="::" port_number="8080"> | ||
<hosts> | ||
<host home_page="index.html" html_root="./DossierWeb/" id="0" name="Default"/> | ||
</hosts> | ||
</configuration> | ||
<host home_page="index.html" html_root="./DossierWeb/" id="0" name="Default"/> </hosts> </configuration> | ||
<options> | ||
<web_processes timeout_for_inactives="18000"/> | ||
<cache cache_max_size="524288" use_4d_web_cache="false"/> | ||
<web_passwords generic_web_user="1"/> | ||
</options> | ||
<web_passwords generic_web_user="1"/> </options> | ||
<log tokens=""> | ||
<backup daily="" hourly="" mode="0" monthly="" size="0" weekly=""/> | ||
</log> | ||
<misc/> | ||
</standalone_server> | ||
<backup daily="" hourly="" mode="0" monthly="" size="0" weekly=""/> </log> | ||
<misc/> </standalone_server> | ||
<remote> | ||
<misc/> | ||
<options> | ||
<web_processes timeout_for_inactives="18000"/> | ||
<cache cache_max_size="524288" use_4d_web_cache="false"/> | ||
<web_passwords generic_web_user="1"/> | ||
</options> | ||
<web_passwords generic_web_user="1"/> </options> | ||
<configuration allow_ssl="false" ip_address="0"/> | ||
<webservices> | ||
<server allow_requests="false"/> | ||
</webservices> | ||
</remote> | ||
</web> | ||
<server allow_requests="false"/> </webservices> </remote> </web> | ||
<compiler> | ||
<typage default_for_button="1" default_for_numeric="1"/> | ||
<options AMD64_support="true" compilation_path="3" fat_binary="true"/> | ||
</compiler> | ||
<options AMD64_support="true" compilation_path="3" fat_binary="true"/> </compiler> | ||
<sql> | ||
<access data_read_only="0" data_read_write="0" full="1"/> | ||
</sql> | ||
<access data_read_only="0" data_read_write="0" full="1"/> </sql> | ||
<server> | ||
<network> | ||
<options publication_name="4D Progress" use_legacy_network_layer="true"/> | ||
</network> | ||
</server> | ||
<general startup_environnement="0"> | ||
<options publication_name="4D Progress" use_legacy_network_layer="true"/> </network> </server> | ||
<general execute_host_database_event="true" startup_environnement="0"> | ||
<font font_name="Lucida Grande"/> | ||
<mover always_display_dialog="2"/> | ||
</general> | ||
<mover always_display_dialog="2"/> </general> | ||
<database> | ||
<cache size_fixed="32" size_maximum="100" size_reserved="128"/> | ||
<misc use_ast_interpreter="false"/> | ||
</database> | ||
<deployment> | ||
<options/> | ||
</deployment> | ||
</com.4d> | ||
</preferences> | ||
</deployment> </com.4d> </preferences> |