Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox error when bound to object
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01250531
Message ID:
01250546
Views:
10
You add visual controls like label, textbox. etc to a form using AddObject to make them a part of the form. A bussines object is stored in a propery of a form as shown below. It's not a part of a form.
		*this.AddObject("bo1","clsBo")
		this.Addproperty("bo1", CREATEOBJECT("clsBo"))
>I created a simple class to work as a Business Object, works fine when bound to text boxes, but combo boxes will not show the .displayName when the value is changed by the user. Here is a piece of code that reproduces the behavior (pls cut and save as a prg to run).
>Im using vfp9 sp2 on Win XP.
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform