Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yuri Rubinov
  Where is Yuri Rubinov?
 Philadelphia
 Pennsylvania - United States
 Yuri Rubinov
 To: Karben Selim Mejia
  Where is Karben Selim Mejia?
 San Pedro Sula
 Honduras
 Karben Selim Mejia
 Tags
Subject: RE: Control the Font in a List Box
Thread ID: 15918 Message ID: 15919 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Thursday, October 03, 2002 9:13:15 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


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