Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to retrieve combovalue for variable......?
Message
From
01/08/2000 03:10:04
 
 
To
31/07/2000 13:14:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00398680
Message ID:
00399142
Views:
35
Hi Jimmy.

>> I put ~ LPARAMETERS uOldVal,"" ~ into the addProperty of the combo <<

This is not how to add a property to a custom class. I am assuming that you are using a custom combo class. In order to add a new property to your class, you select Class -> New property from the menu while you have the class open in the class designer.

If you are using a base class and you need to add the custom property at runtime, you can use code like this in the combo's Init():

This.AddProperty( 'uOldVal', '' )

May I suggest that you do yourself a favor and check out some of the excellent references available at www.Hentzenwerke.com? WHil's "The Fundamentals" should be a very big help in increasing your understanding of VFP. You are going to have trouble being productive if you do not get a little more knowledge about the basics < s >.

>> This brings to mind a question. If the recordsource of a grid is set to an alias, Column(n).controlsource is left as (none), and the controlsource of the combobox is used to set the field of the alias, does the combo or the grid itself display the data? <<

I am not sure what you are asking here. The grid displays the data from its RecordSource. If you do not specify ControlSources for the columns, they are implied and the grid binds each of its columns to the columns in the underlying RecordSource in the physical order that they occur in the RecordSource. If the combo is the CurrentControl in a given column, it also displays the data in that particular column.

Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform