Bug in TSay

Bug in TSay

Postby Enrico Maria Giordano » Sun Dec 18, 2005 9:56 pm

Clicking on the button of this sample:

Code: Select all  Expand view  RUN
#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
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Sun Dec 18, 2005 10:28 pm

Enrico,

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

Code: Select all  Expand view  RUN
   METHOD VarGet() INLINE If( ValType( ::bSetGet ) == "B", Eval( ::bSetGet ),)


Thanks for the feedback :)
regards, saludos

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

Postby Enrico Maria Giordano » Mon Dec 19, 2005 7:41 am

Thank you!

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 9 guests