Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trouble with Label Caption

Status
Not open for further replies.

shahatul

Programmer
May 28, 2002
23
US
Hello,

In VFP 6.0 Caption property of label has ='=' was worked very well but in VFP 8.0 it does not work. Any idea?

Thanks in advance.
 
what do you want as the caption?

an equal sign?

Thisform.Label1.Caption = '=' (or "=")

This isn't working?
 
I want an equal sign. In VFP 8.0, when you open a form, it gives me a Syntax error warning message. So Thisform.Label1.Caption ='=' does not work.
 
have you tried:

Thisform.Label1.Caption = chr(61)

Slighthaze = NULL
[sub]craig1442@mchsi.com[/sub][sup]
"Whom computers would destroy, they must first drive mad." - Anon​
[/sup]
 
Well, I found solution, if you can put space before and after quote, it works ok. For e.g, = ' = '.

Thanks for reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top