New topic: 

MouseCursor in ListBox cell (SOLVED)

<http://forums.realsoftware.com/viewtopic.php?t=36370>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        pamoxi          Post subject: MouseCursor in ListBox cell 
(SOLVED)Posted: Thu Nov 18, 2010 6:34 pm                         
Joined: Mon Oct 29, 2007 10:30 pm
Posts: 282
Location: Argentina                I want to change mouse cursor in a listbox 
cell, but the next code (in mousemove event) not work:

Code:  Dim row,column As Integer
  column = me.ColumnFromXY( X, Y )
  row = me.RowFromXY( X, Y )
  if column = 5 And row = 0 Then
  MouseCursor = system.Cursors.fingerpointer
  Else
  MouseCursor = system.Cursors.Standardpointer
  End If

How I can do this?      
_________________
Pablo Schwindt
RealBasic 2007R5
Windows 7 32bits
Mac OSX SL 10.6.4      

    Last edited by pamoxi on Thu Nov 18, 2010 7:18 pm, edited 1 time in total.  
 
                             Top                pamoxi          Post subject: 
Re: MouseCursor in ListBox cell (SOLVED)Posted: Thu Nov 18, 2010 7:17 pm        
                 
Joined: Mon Oct 29, 2007 10:30 pm
Posts: 282
Location: Argentina                Solved. I forgot to reference the control.

Code:Dim row,column As Integer
  column = me.ColumnFromXY( X, Y )
  row = me.RowFromXY( X, Y )
  if column = 5 And row = 0 Then
  me.MouseCursor = system.Cursors.fingerpointer
  Else
  me.MouseCursor = system.Cursors.Standardpointer
  End If      
_________________
Pablo Schwindt
RealBasic 2007R5
Windows 7 32bits
Mac OSX SL 10.6.4  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to