flash a small icon

flash a small icon

Postby Silvio.Falconi » Thu May 05, 2022 11:04 am

SET MESSAGE OF ::oWinMain TO ::cMsgBar CENTER NOINSET

DEFINE MSGITEM ::oMsgItem1;
OF ::oWinMain:oMsgBar ;
PROMPT "Archivio al 16 Maggio 2020" ;
BITMAPS "MSG_ALERT", "MSG_ALERT";
SIZE 170 ;
TOOLTIP " " + "Data" + " ";
ACTION NIL

Can I flash a small icon on a msgitem of bar
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: 7052
Joined: Thu Oct 18, 2012 7:17 pm

Re: flash a small icon

Postby Antonio Linares » Fri May 06, 2022 8:27 am

Dear Silvio,

Use a timer and change the icon
regards, saludos

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

Re: flash a small icon

Postby Silvio.Falconi » Fri May 06, 2022 9:04 am

Antonio Linares wrote:Dear Silvio,

Use a timer and change the icon


I tried but I not Know How make it



If lOld
oMsgItem2:SetText("Archivio non aggiornato!" )

DEFINE TIMER oTimer OF oMsgItem2 ;
INTERVAL 400 ;
ACTION oMsgItem2:SetBitmap( MSG_ALERT, MSG_ALERT ) )) //???


ACTIVATE TIMER oTimer


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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 68 guests