msgrun

Post Reply
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

msgrun

Post by Richard Chidiak »

Is there any replacement possible for msgrun ?

How can we make a message like "please wait, processing ..." and process in the same time (what msgrun does)

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Richard,

Already implemented. There is a new FWPPC build to download.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

Antonio Linares wrote:Richard,

Already implemented. There is a new FWPPC build to download.
Antonio,

Almost there !

There is a problem refreshing the screen after the msgrun ends trhe event

try something like :

@ 0, 120 BTNBMP OBTN4 FILE CurDir() + "\BMP\PARAM.bmp" SIZE 40, 40 OF oWnd NOBORDER CENTER ;
ACTION MsgRun( "Réorganisation en Cours...", "Veuillez Patienter", ;
{ || INXGEN() } )


function inxgen()
IF ! MsgYesNo( 'Voulez-vous Effectuer une réorganisation de vos fcichiers ?', 'Veuillez Confirmer' )
RETURN NIL
ENDIF
......
return nil

in this sample, the msgyesno box will remain painted as it overlaps the msgrun painting area

Another sample

@ 0, 120 BTNBMP OBTN4 FILE CurDir() + "\BMP\PARAM.bmp" SIZE 40, 40 OF oWnd NOBORDER CENTER ;
ACTION IF( MsgYesNo( 'Voulez-vous Effectuer une réorganisation de vos fcichiers ?', 'Veuillez Confirmer' ), ;
MsgRun( "Réorganisation en Cours...", "Veuillez Patienter", ;
{ || INXGEN() } ) , )

The msgyesno is the button action, the painting is perfect but you need to click anywhere at the end in order to erase the painting. It rzmains.

If i am not clear enough, let me know, i will try to hardcopy screens.

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Richard,

Yes, we have noticed it too. We may change the style of the used dialogbox.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Richard,

Fixed. There is a new FWPPC build to download.

We appreciate your feedback, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

Antonio Linares wrote:Richard,

Fixed. There is a new FWPPC build to download.

We appreciate your feedback, thanks
Antonio :D

Works OK this time

Thanks

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

good :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply