Como trocar Cursor na REBAR (Barra de botões) ?

Post Reply
AOKISANTOS
Posts: 210
Joined: Sun Jul 23, 2006 1:15 am

Como trocar Cursor na REBAR (Barra de botões) ?

Post by AOKISANTOS »

Antonio, como trocar o cursor quando o mouse esta sobre a classe REBAR?

Gracias

Aoki
FWH25+XHARBOUR 99.50
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Aoki,

Modify this method in Class TToolBar:

METHOD MouseMove() INLINE If( ::oCursor != nil, SetCursor( ::oCursor:hCursor ),), nil

Then in your code simply do:

DEFINE CURSOR oHand RESOURCE "hand"
...
oToolBar:oCursor = oHand
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply