FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour say objects not updating
Posts: 63
Joined: Mon Aug 02, 2010 05:38 PM

say objects not updating

Posted: Tue Aug 31, 2010 08:11 PM

I have 6 folders, NONE of the says within these folders will update to reflect changed variable contents.

REDEFINE SAY oName_12 VAR alltrim(cName_l)+", "+alltrim(cName_f)+" "+cName_m ID 2100 of oFld:aDialogs[4] ;
Picture "@R ###-##-####" ;
UPDATE

REDEFINE SAY oSS_Num12 VAR cSS_Num ID 2101 of oFld:aDialogs[4] ;
UPDATE

Another function changes the contents of the variables.
oFld:aDialogs[4]:Update()

This works flawlessly in FW for Clipper but fails utterly in FWH.

What am I missing?

Don

Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM

Re: say objects not updating

Posted: Tue Aug 31, 2010 11:58 PM
Hi Don

This is how I use says on folders

Code (fw): Select all Collapse
REDEFINE SAY oSayClient  ID SayClient    of oMainFold:aDialogs[2] UPDATE   picture '@'
oSayClient:SetColor(CLR_RED,getSysColor(COLOR_BTNFACE))

//  Then is another function 
   oSayClient:bGet := {||'' "}
   oSayClient:Refresh()

    oSayClient:bGet  := {||oCode:Client}
    oSayClient:Refresh()



Hope this helps

Cheers

Colin
Posts: 63
Joined: Mon Aug 02, 2010 05:38 PM

Re: say objects not updating

Posted: Wed Sep 01, 2010 08:49 PM

Thank you, Colin. Your advice worked.

Don

Continue the discussion