Notification boxes colored

Re: Notification boxes colored

Postby cnavarro » Tue May 22, 2018 11:33 am

You have same prg
But you he sent me his class with the modified New method
As I mentioned, you have to make the modification in the NewToast () method, they are two different methods
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Notification boxes colored

Postby Otto » Tue May 22, 2018 12:45 pm

Hello Antonio, hello Silvio, hello Cristobal,
this is an interesting sample.
Can you please add this to the upcoming 18.4 Version of Fivewin.
Thank you in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6320
Joined: Fri Oct 07, 2005 7:07 pm

Re: Notification boxes colored

Postby cnavarro » Tue May 22, 2018 2:00 pm

Otto wrote:Hello Antonio, hello Silvio, hello Cristobal,
this is an interesting sample.
Can you please add this to the upcoming 18.4 Version of Fivewin.
Thank you in advance
Otto


Otto, done
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Notification boxes colored

Postby Silvio.Falconi » Tue May 22, 2018 3:29 pm

Cristobal,
I correct now as you sad me but not run ok
I see the message before and then I see the dialog over
as if they were two different entities

Image
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7048
Joined: Thu Oct 18, 2012 7:17 pm

Re: Notification boxes colored

Postby cnavarro » Tue May 22, 2018 6:48 pm

Silvio, in this method, search if exist this line and remove or comment this

Code: Select all  Expand view

      //oWnd      := nil
 
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Notification boxes colored

Postby Silvio.Falconi » Wed May 23, 2018 7:50 am

done
make the same
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7048
Joined: Thu Oct 18, 2012 7:17 pm

Re: Notification boxes colored

Postby cnavarro » Wed May 23, 2018 8:31 am

Silvio, please, in your code, look this line
Code: Select all  Expand view

      ::Super:New( nTop, nLeft, nBottom, nRight,, nStyle,,,, nil,,, nClrText, nClrPane,,,,,,,.T. )
 


and look how it appears in my modification
viewtopic.php?f=3&t=35648&start=0#p212310

Code: Select all  Expand view

      ::Super:New( nTop, nLeft, nBottom, nRight,, nStyle,,,, ::oWndEvent,,, nClrText, nClrPane,,,,,,,.T., nStyleEx,,,)
 
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Notification boxes colored

Postby Silvio.Falconi » Wed May 23, 2018 9:16 am

not found nStyleEx

I put
nStyleEx:= 1


seem to run but How I can to show it at @x,y ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7048
Joined: Thu Oct 18, 2012 7:17 pm

Re: Notification boxes colored

Postby cnavarro » Wed May 23, 2018 9:20 am

Silvio, put this ( bold letter )

::Super:New( nTop, nLeft, nBottom, nRight,, nStyle,,,, ::oWndEvent,,, nClrText, nClrPane,,,,,,,.T.,)

Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Notification boxes colored

Postby cnavarro » Wed May 23, 2018 9:26 am

Silvio.Falconi wrote:seem to run but How I can to show it at @x,y ?


It is possible that the next version includes this feature
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Notification boxes colored

Postby Silvio.Falconi » Wed May 23, 2018 4:43 pm

Ok
it can resolve the problem but perhaps it there is not that I search
because it create a window over an dialog and I cannot move it to specific coordinates
perhaps ttitle class or another class can make the same I'm trying or we must found another solution
show this type of message can be much usefull for tablet application

Perhaps there are commands as our MsgXXXXX() converted into tablet mode
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7048
Joined: Thu Oct 18, 2012 7:17 pm

Re: Notification boxes colored

Postby cnavarro » Wed May 23, 2018 6:16 pm

Next version of Fw allow move message to other position
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Otto and 47 guests