Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Karben Selim Mejia
  Where is Karben Selim Mejia?
 San Pedro Sula
 Honduras
 Karben Selim Mejia
 To: Yuri Rubinov
  Where is Yuri Rubinov?
 Philadelphia
 Pennsylvania - United States
 Yuri Rubinov
 Tags
Subject: RE: Control the Font in a List Box
Thread ID: 15918 Message ID: 15943 # Views: 0 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Friday, October 04, 2002 4:30:08 PM         
   


> ListBox should have popup as a source. Here is a code fragment with few my modification taken from Christof Lange Article/Tip, FoxPro Advisor 09.2002:
>
> *---------------------
> Define Popup P_List
>
> Define Bar 1 of P_List;
> Prompt "Inside the .NET Framework";
> Font "Tahoma", 14 Style "BI";
> Color, RGB(255,255,255,192,0,0)
> Define Bar 2 of P_List;
> Prompt " In This Section";
> Font "Tahoma", 11 Style "B"
> Define Bar 3 of P_List;
> Prompt " Commion Language Runtime";
> Font "Tahoma", 9
>
> lcpicture=IIF(VERSION(4)>"06.",'Picture "Stamp.bmp"','')
> Define Bar 4 of P_List;
> Prompt " Assemblies";
> Font "Tahoma", 9;
> &lcpicture
>
> Define Bar 5 of P_List;
> Prompt " Application Domains";
> Font "Tahoma", 9
> Define Bar 6 of P_List;
> Prompt " Common Type System";
> Font "Tahoma", 9
> Define Bar 7 of P_List;
> Prompt " Related Section";
> Font "Tahoma", 11 Style "B"
> Define Bar 8 of P_List;
> Prompt " Class Library";
> Font "Tahoma", 8
>
> with this.List1
> .Rowsource="P_List"
> .RowsourceType=9
> endwith
>
> > Control the Font in a List Box
> > I need to Learn a programmatic way to set the font properties of individual items in a List Box control.
> >
> > thks
> >
> > Karben Selim Mejia (Mejiaks)
> >
> > I used to think that my life was complete. it was until my (by now) Two-years-old child was born that I realized how wrong I was!
> > Honduras, Central America
> > The very center of the world

Once again Yuri you came to save the day, that is exactly what I was looking for, in fact I tried to read the same article that you mentioned but i am not suscribed to the Foxpro advisor yet

thks a lot, this helped me a lot and gave me the idea to do another thing I was working on, may be you'll see it in the forum soon

Karben Selim Mejia (Mejiaks)

I used to think that my life was complete. it was until my (by now) Two-years-old child was born that I realized how wrong I was!
Honduras, Central America
The very center of the world

ENTIRE THREAD

Control the Font in a List Box Posted by Karben Selim Mejia @ 10/3/2002 7:44:44 PM
RE: Control the Font in a List Box Posted by Yuri Rubinov @ 10/3/2002 9:13:15 PM
RE: Control the Font in a List Box Posted by Karben Selim Mejia @ 10/4/2002 4:30:08 PM