by Silvio.Falconi » Fri Jun 29, 2018 6:36 pm
give me error
I have an array
aBtn[ n]:cToolTip = { |oBtn| HazC5ToolTip( oBtn ,oDlg,n ) }
- Code: Select all Expand view RUN
application
===========
Path and name: C:\Work\Errori\image_su_btnbmp\test.Exe (32 bits)
Size: 3,694,592 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 2 secs
Error occurred at: 29-06-2018, 20:34:53
Error description: Error BASE/1005 No exported variable: OTOOLTIP
Args:
[ 1] = U
[ 2] = O TC5TOOLTIP
Stack Calls
===========
Called from: => _OTOOLTIP( 0 )
Called from: test.prg => HAZC5TOOLTIP( 405 )
Called from: test.prg => (b)SHOW_BEACH( 159 )
Called from: .\source\classes\WINDOW.PRG => TBTNBMP:SHOWTOOLTIP( 3141 )
Called from: .\source\classes\WINDOW.PRG => TBTNBMP:CHECKTOOLTIP( 3120 )
Called from: .\source\classes\WINDOW.PRG => TWINDOW:MOUSEMOVE( 3050 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:MOUSEMOVE( 767 )
Called from: btnbmp.prg => TBTNBMP:MOUSEMOVE( 1124 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1731 )
Called from: btnbmp.prg => TBTNBMP:HANDLEEVENT( 1883 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3356 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
Called from: test.prg => SHOW_BEACH( 199 )
I try with
Function HazC5ToolTip( oCtrl ,oDlg,n)
....
oCtrl[n]:oToolTip := oTip
but make the same error- Code: Select all Expand view RUN
Application
===========
Path and name: C:\Work\Errori\image_su_btnbmp\test.Exe (32 bits)
Size: 3,694,592 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: 29-06-2018, 20:37:48
Error description: Error BASE/1068 Argument error: array access
Args:
[ 1] = U
[ 2] = N 201
Stack Calls
===========
Called from: test.prg => HAZC5TOOLTIP( 405 )
Called from: test.prg => (b)SHOW_BEACH( 159 )
Called from: .\source\classes\WINDOW.PRG => TBTNBMP:SHOWTOOLTIP( 3141 )
Called from: .\source\classes\WINDOW.PRG => TBTNBMP:CHECKTOOLTIP( 3120 )
Called from: .\source\classes\WINDOW.PRG => TWINDOW:MOUSEMOVE( 3050 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:MOUSEMOVE( 767 )
Called from: btnbmp.prg => TBTNBMP:MOUSEMOVE( 1124 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1731 )
Called from: btnbmp.prg => TBTNBMP:HANDLEEVENT( 1883 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3356 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
Called from: test.prg => SHOW_BEACH( 199 )
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