Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can one add properties to ListBox at design time?

Status
Not open for further replies.

Loomis

Programmer
Jan 4, 2000
30
US
It is simple to add properties to a form, at design time, using the VFP8 menu options. Similarly, can one add properties to a listbox at design time, and if so, how. I know how to accomplish this at run time using addproperty() method or function.

Loomis
 
The form's properties can be edited in design view by going up to the system menu FORM - EDIT PROPERTY/METHOD...

As for the list box, you would need to subclass it in a vcx, call it something like clsList. Then you can add/edit properties of the subclass by going up to the system menu CLASS - EDIT PROPERTY/METHOD

Slighthaze = NULL
[sub]craig1442@mchsi.com[/sub][sup]
"Whom computers would destroy, they must first drive mad." - Anon​
[/sup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top