Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yousfi Benameur
  Where is Yousfi Benameur?
 El Bayadh
 Algeria
 Yousfi Benameur
 To: Anil Sharma
  Where is Anil Sharma?
 ludhiana
 India
 Anil Sharma
 Tags
Subject: RE: PAGEFRAME -PAGES COLORS
Thread ID: 188641 Message ID: 189006 # Views: 3 # Ratings: 0
Version: Visual FoxPro 6 Category: Forms
Date: Tuesday, August 12, 2008 11:06:08 PM         
   


> > Dear Expert,
> >
> > I'd like to assign specific colours to pages which are activated and different color to a page which has been deactivated to enable the user easily identify pages he/she has worked in at any instance.
> >
> > How do I achieve this using the colors?
> >
> > Thanks
>
> hi Derek
>
> in thisform.pageframe1.page1.acitvate
> this.backcolor = rgb(255,0,0)
>
> in thisform.pageframe.page1.deactivate
> this.backcolor = rgb(212,208,200)
>
> this do in all pages viceavirsa
> Anil
> (Fox is the solution for almost everything!!)

Hi Anil
This works on vfp6.0 ok.
in VFP9:This dont work like this because themes=.t. by default.
For make it working
 themes=.f.

Regards
Yousfi Benameur

ENTIRE THREAD

PAGEFRAME -PAGES COLORS Posted by DEREK DODOO @ 8/11/2008 8:51:23 AM
RE: PAGEFRAME -PAGES COLORS Posted by Koen Piller @ 8/11/2008 8:57:56 AM
RE: PAGEFRAME -PAGES COLORS Posted by surinder singh @ 8/11/2008 9:01:34 AM
RE: PAGEFRAME -PAGES COLORS Posted by Stefan Wuebbe @ 8/11/2008 10:09:37 AM
RE: PAGEFRAME -PAGES COLORS Posted by Jun Tangunan @ 8/11/2008 10:38:20 AM
RE: PAGEFRAME -PAGES COLORS Posted by Stefan Wuebbe @ 8/11/2008 10:49:18 AM
RE: PAGEFRAME -PAGES COLORS Posted by Glenn Villar @ 8/11/2008 10:47:53 AM
RE: PAGEFRAME -PAGES COLORS Posted by Stefan Wuebbe @ 8/11/2008 10:50:23 AM
RE: PAGEFRAME -PAGES COLORS Posted by Anil Sharma @ 8/11/2008 8:42:17 PM
RE: PAGEFRAME -PAGES COLORS Posted by Yousfi Benameur @ 8/12/2008 11:06:08 PM
RE: PAGEFRAME -PAGES COLORS Posted by Anil Sharma @ 8/13/2008 10:25:53 AM
RE: PAGEFRAME -PAGES COLORS Posted by Barbara Peisch @ 8/11/2008 10:45:58 PM
RE: PAGEFRAME -PAGES COLORS Posted by Bernard Bout @ 8/12/2008 1:35:47 AM
RE: PAGEFRAME -PAGES COLORS Posted by Cesar @ 8/12/2008 5:31:25 AM
RE: PAGEFRAME -PAGES COLORS Posted by ho me @ 8/13/2008 8:53:14 AM