Hello!
How to blink or make it blinking the xbrowse current row on ::nMarqueeStyle := MARQSTYLE_HIGHLROWRC
Has any one with working code?
Thanks and regards,
...
@ 0,0 LISTBOX oLbxP1 FIELDS "" HEADERS "" SIZE 200,nSplitH PIXEL OF oChildWnd
...
DEFINE TIMER oCLITimer OF oWnd INTERVAL 300 ACTION Blinking( oLbxP1 )
ACTIVATE TIMER oCLITimer
ACTIVATE WINDOW oChildWnd MAXIMIZED
return nil
Function Blinking( oBrw )
oBrw:nClrNFBack := iif( oBrw:nClrNFBack==oBrow:nClrBackfocus, oBrow:nClrBackfocus, CLR_BLACK)
oBrw:nClrNFFore := iif( oBrw:nClrNFFore==oBrow:nClrBackfocus, CLR_BLACK, oBrow:nClrBackfocus)
oBrw:Refresh()
return .t.
...
Function Blinking( oBrw )
if ! oBrw:lFocused
oBrw:nClrNFBack := iif( oBrw:nClrNFBack==oBrw:nClrBackFocus,oBrw:nClrBackFocus,CLR_BLACK)
oBrw:nClrNFFore := iif( oBrw:nClrNFFore==oBrw:nClrBackFocus,CLR_BLACK,oBrw:nClrBackFocus)
oBrw:Refresh()
endif
return .t.
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 83 guests