toast win 10

toast win 10

Postby Silvio.Falconi » Wed Sep 13, 2017 7:26 am

I tried on windows 10 pro this

Toast( "TicketBus", "Release 1.00", "(c) 2017",;
".\bitmaps\bus.png" )

not show anything only a notice at left with the text "New notice"

any solution ?
and how I can to simulate msgyesno function with toast ?
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: 6716
Joined: Thu Oct 18, 2012 7:17 pm

Re: toast win 10

Postby Silvio.Falconi » Wed Sep 13, 2017 7:51 am

I tried also with

msginfo(nKmIniziali)

where nKmIniziali is a number

and I recall msginfo with this function

Function msginfo(ctext)

Toast( ctext, "TicketBus", "Eoeo Software (c) 2017",;
"file://C:\Work\Prg\TicketBus_tablet\bitmaps\info.png" )

return nil





and it make error
Code: Select all  Expand view

Application
===========
   Path and name: C:\Work\Prg\TicketBus_tablet\TicketBus.Exe (32 bits)
   Size: 7,548,928 bytes
   Compiler version: Harbour 3.2.0dev (r1406271520)
   FiveWin  version: FWH 17.02
   C compiler version: Borland C++ 5.8.2 (32-bit)
   Windows version: 6.2, Build 9200

   Time from start: 0 hours 0 mins 46 secs
   Error occurred at: 13-09-2017, 09:48:10
   Error description: Error BASE/1111  Parametro errato: LEN
   Args:
     [   1] = N   744565

Stack Calls
===========
   Called from:  => LEN( 0 )
   Called from: .\source\internal\WINRT.PRG => WINRTSTRING( 21 )
   Called from: .\source\internal\WINRT.PRG => SETNODETEXT( 33 )
   Called from: .\source\internal\WINRT.PRG => TOAST( 97 )
   Called from: Source\main.prg => MSGINFO( 3047 )
   Called from: Source\PTablet.prg => SELEZIONA_BUS( 446 )
   Called from: Source\PTablet.prg => (b)DIALOGTABLET( 189 )
   Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 665 )
   Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 901 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1721 )
   Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1843 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3325 )
   Called from:  => WINRUN( 0 )
   Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 1036 )
   Called from: Source\main.prg => TAPPLICATION:ACTIVATE( 500 )
   Called from: Source\main.prg => MAIN( 77 )

System
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: 6716
Joined: Thu Oct 18, 2012 7:17 pm

Re: toast win 10

Postby Silvio.Falconi » Wed Sep 13, 2017 8:59 am

resolved with str(ctext)


How simulate msgyesNO function with toast ?
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: 6716
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 7 guests