Bug in TSay

Post Reply
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Bug in TSay

Post by Enrico Maria Giordano »

Clicking on the button of this sample:

Code: Select all

#include "Fwce.ch"


FUNCTION MAIN()

    LOCAL oWnd, oSay

    LOCAL cVar := "Test"

    DEFINE WINDOW oWnd

    @ 1, 1 SAY oSay VAR cVar

    @ 3, 1 BUTTON "Change";
           ACTION MSGINFO( oSay:VarGet() )

    ACTIVATE WINDOW oWnd

    RETURN NIL
you will get

Message not found TSAY:VARGET

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

Same as Class TControl Method VarPut(). It was not implemented yet. Its already included for next build:

Code: Select all

   METHOD VarGet() INLINE If( ValType( ::bSetGet ) == "B", Eval( ::bSetGet ),)
Thanks for the feedback :)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply