Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing colors in pages of page frames
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00111509
Message ID:
00111518
Views:
16
>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
Map
View

Click here to load this message in the networking platform