2008-01-05 01:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/tpopup.prg
! Fixed typo in POPUPMENU():getAccel(), causing wrong
position being returned. Reported by Jose Miguel.
* source/rtl/ttopbar.prg
! Changed HB_C52_STRICT guards to HB_EXTENSION.
This commit is contained in:
@@ -8,6 +8,14 @@
|
||||
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2008-01-05 01:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* source/rtl/tpopup.prg
|
||||
! Fixed typo in POPUPMENU():getAccel(), causing wrong
|
||||
position being returned. Reported by Jose Miguel.
|
||||
|
||||
* source/rtl/ttopbar.prg
|
||||
! Changed HB_C52_STRICT guards to HB_EXTENSION.
|
||||
|
||||
2007-12-28 15:51 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
|
||||
* source/rtl/tbrowse.prg
|
||||
Method DispCell()
|
||||
|
||||
@@ -321,7 +321,7 @@ METHOD getAccel( xKey ) CLASS POPUPMENU
|
||||
nPos != Len( cCaption ) .AND. ;
|
||||
xKey == Lower( SubStr( cCaption, nPos + 1, 1 ) )
|
||||
|
||||
RETURN nPos
|
||||
RETURN tmp
|
||||
ENDIF
|
||||
NEXT
|
||||
|
||||
|
||||
@@ -308,11 +308,11 @@ METHOD getAccel( nKey ) CLASS TOPBARMENU
|
||||
IF ( nAt := At( "&", ::aItems[ n ]:caption ) ) > 0 .AND. ;
|
||||
Upper( SubStr( ::aItems[ n ]:caption, nAt + 1, 1 ) ) == cKey
|
||||
|
||||
#ifndef HB_C52_STRICT
|
||||
#ifdef HB_EXTENSION
|
||||
IF ::aItems[ n ]:enabled
|
||||
#endif
|
||||
RETURN n
|
||||
#ifndef HB_C52_STRICT
|
||||
#ifdef HB_EXTENSION
|
||||
ENDIF
|
||||
#endif
|
||||
ENDIF
|
||||
@@ -355,11 +355,11 @@ METHOD hitTest( nMRow, nMCol ) CLASS TOPBARMENU
|
||||
nColumn := aItems[ n ]:__col
|
||||
|
||||
IF nMCol >= nColumn .AND. nMCol <= nColumn + Len( aItems[ n ]:caption )
|
||||
#ifndef HB_C52_STRICT
|
||||
#ifdef HB_EXTENSION
|
||||
IF aItems[ n ]:enabled
|
||||
#endif
|
||||
RETURN n
|
||||
#ifndef HB_C52_STRICT
|
||||
#ifdef HB_EXTENSION
|
||||
ENDIF
|
||||
#endif
|
||||
ENDIF
|
||||
|
||||
Reference in New Issue
Block a user