General information
Category:
Forms & Form designer
>Is there any way VFP 5.0 will allow me to change a pages color when it is activated/deactivated?
Thanks for any help.
John Ingalls<
There isn't a built in method or property for this. How about something like:
With thisform.pageframe1
for i = 1 to .pagecount
IF .pages(i).enabled=.f.
.pages(i).backcolor=rgb(255,0,0) && or whatever color
ELSE
** Set it to whatever default colour you wish
.pages(i).backcolor=rgb(192,192,192)
ENDIF
endfor
Endwith
called from where it is needed....
--
Jerry Ritcey
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only