cursor on get

cursor on get

Postby Silvio.Falconi » Tue Aug 07, 2018 3:42 pm

I wish use hand for the btnbmp of a get
I made
aGet[1]:oBtn:oCursor:= TCursor():New(,'HAND')

but it make error ...where is the obj of btnbmp of a tget ?


Code: Select all  Expand view
Application
===========
   Path and name: C:\Work\Errori\get_date\test3.Exe (32 bits)
   Size: 3,603,968 bytes
   Compiler version: Harbour 3.2.0dev (r1703231115)
   FiveWin  version: FWH 17.12
   C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
   Windows version: 6.2, Build 9200

   Time from start: 0 hours 0 mins 0 secs
   Error occurred at: 07-08-2018, 17:44:46
   Error description: Error BASE/1005  Variabile non disponibile: OCURSOR
   Args:
     [   1] = U  
     [   2] = O   TCURSOR

Stack Calls
===========
   Called from:  => _OCURSOR( 0 )
   Called from: test3.prg => MAIN( 32 )
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: 7033
Joined: Thu Oct 18, 2012 7:17 pm

Re: cursor on get

Postby karinha » Tue Aug 07, 2018 5:18 pm

Silvio,

Code: Select all  Expand view

   LOCAL oHand

   DEFINE CURSOR oHand RESOURCE "HAND"

   REDEFINE GET aGet[1] VAR XZONACLI PICTURE "@K!" ID 29 OF oDlg ;
        FONT oFont UPDATE COLOR CLR_HRED, CLR_HCYAN CURSOR oHand
 
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7794
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: cursor on get

Postby karinha » Tue Aug 07, 2018 5:24 pm

Code: Select all  Expand view

   DEFINE CURSOR oHand RESOURCE "HAND"

   REDEFINE GET...

   aGet[1]:oCursor := oHand
 
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7794
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 39 guests