FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour flash a small icon
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
flash a small icon
Posted: 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 March-April 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: flash a small icon
Posted: Fri May 06, 2022 08:27 AM

Dear Silvio,

Use a timer and change the icon

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: flash a small icon
Posted: Fri May 06, 2022 09: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 March-April 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

Continue the discussion