Page 1 of 1

Problems with REDEFINE SAY

Posted: Thu Apr 30, 2009 1:07 am
by gab_vg
Hi, I need to use a SAY to show data from a field that means it needs to be updateble I already have done that with code but I have a problem using resources, the error line (suppously) is this one:

REDEFINE SAY oLblID VAR aFields[1,01] ID 4002 OF oFld:aDialog[ 2 ]

I'm using Pelles C as Resource editor the line of the RC is this one:

CONTROL "This is a label:", 4002, "Static", WS_GROUP, 85, 20, 53, 10, WS_EX_STATICEDGE

At the begining I thougth that it was cuz the array but I've changed it into a normal variable and is the error continues:

TFOLDERS:ADIALOG
Args:
[ 1] = O Object

Stack calls:
__ERRRT_SBASE(0)
TFOLDER:ERROR(170)
(b)HBOBJECT(105)
TFOLDER:MSGNOTFOUNDD(0)
TFOLDER:ADIALOG(164)
myfunctions()..
..
..

And unfortunally I notice that I can't create it with code (mix resouces and code objects) gives me another error but the main one is the above :mrgreen:

Thanks in advance for ur help

I'm using fwppc January 2009

Re: Problems with REDEFINE SAY

Posted: Fri May 01, 2009 5:28 pm
by gab_vg
Problem solved was the name of the folder thanks anyway