Get ...action ...

Get ...action ...

Postby Silvio.Falconi » Wed Sep 05, 2018 10:25 pm

I wish insert the cursor of the mouse when move on btnbmp of the get

Local cCursor:= TCursor():New(,'HAND')
....
aGet[3]:oBtn:ocursor:= cCursor
...
Code: Select all  Expand view  RUN
Application
===========
   Path and name: C:\Work\pezzi_per_spiaggia\Elementi\test.Exe (32 bits)
   Size: 3,915,776 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 3 secs
   Error occurred at: 09/06/18, 00:23:24
   Error description: Error BASE/1005  No exported variable: OCURSOR
   Args:
     [   1] = U  
     [   2] = O   TCURSOR

Stack Calls
===========
   Called from:  => _OCURSOR( 0 )


why make error ?
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: 7076
Joined: Thu Oct 18, 2012 7:17 pm

Re: Get ...action ...

Postby Antonio Linares » Thu Sep 06, 2018 5:46 am

Silvio,

You have to do it from the ON INIT clause of the dialog

The button is not initialized yet so it is nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

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