CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error #1?
Listed below is the snippet of code giving me
the following compiler error:
[C++ Error] Unknown Error(#1).
* - are the new lines that I added. Basically I'm just
trying to change the Caption Text in a text label on my form.
I'm sure I have some incorrect syntax, but the
above error is pretty meaningless. Any ideas?
char buf[32];
char
Label1[32]; *
char Label2[32]; *
mathss math;
strcpy(Label1,MathEntry->EntVar->Caption); *
strcpy(Label2,MathEntry->EntVal->Caption); *
MathEntry->EntVar->Caption = "Enter Mean""; *
MathEntry->VarVal->Text="0"; *
MathEntry->EntVar->Caption = "Enter Std Dev:"; *
MathEntry->VarVal->Text="1";
MathEntry->EntVar->Visible=True;
MathEntry->VarVal->Visible=True;
MathEntry->EntVal->Visible=True;
MathEntry->NumVal->Visible=True;
------------------------------------------------------------------
Chris
Strickland
Email: cstrick@iu.net
New
Horizons Software - http://new-horizon.net/
[Central Florida
Jobs, Mutual Fund Directory, Games and more]
W Komornicki's Home Page |
Main Index |
Thread Index