polymathinc
Programmer
I am a newbie at VFP.
I have placed some labels on a page of a pageframe.
How do I reference the object to change color. It was my intent to put the following in the "gotfocus" of the accompanying text field entry
thisform.label1.forecolor=255
and then in the lost focus of the text object to change the color back to black. This would highlight the label of the field being entered.
When I do it, I get an error message "unknown member label1"
I don't know how to reference the label1 on page2 of the pageframe.
This works without a page frame. Thanks in advance.
I have placed some labels on a page of a pageframe.
How do I reference the object to change color. It was my intent to put the following in the "gotfocus" of the accompanying text field entry
thisform.label1.forecolor=255
and then in the lost focus of the text object to change the color back to black. This would highlight the label of the field being entered.
When I do it, I get an error message "unknown member label1"
I don't know how to reference the label1 on page2 of the pageframe.
This works without a page frame. Thanks in advance.