FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour [bug] crash on TEdit
Posts: 375
Joined: Tue Feb 10, 2015 09:48 AM
[bug] crash on TEdit
Posted: Tue Nov 20, 2018 01:11 PM
Hello,
I am trying the TEdit control, and i encountered a crash, Error BASE/1004 Message not found: TEDIT:VALTYPE, here:
Code (fw): Select all Collapse
METHOD VarPut( uVal ) CLASS TEdit

   if PCount() == 1
      if ::cType == 'C'
         uVal  := cValToChar( uVal )
      endif
      if ::ValType( ::bSetGet ) ==  'B'
         Eval( ::bSetGet, uVal )
      endif
   endif

return ::VarGet()


obviously it is necessary remove :: before Valtype...
I already fix my personal version
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: [bug] crash on TEdit
Posted: Tue Nov 20, 2018 06:09 PM

You are right.
Thanks for pointing out.
This is fixed at our end for next release.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion