Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CComboBoxl Question(s)
Message
From
28/09/2000 07:24:18
Rex Mahel
Realm Software, Llc
Ohio, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00421347
Message ID:
00421949
Views:
17
Robert,

1) If your are binding your CComboBoxL to a view, just fill in the field in the blank record with the desired value.

HTH

Rex

>Hi all,
>
>Two questions that have given me a minor case of frustration over the last couple of days:
>
> 1) How do I set up a default for a CComboBoxl control? For example, clicking the new button on a CBizObjMainatenanceForm displays Properties page with the controls empty. I want the Combobox to display a default value in place of a blank entry.
>
> 2) Related question. In my CComboxl (Similar to the CStateComboboxl) control I placed a label to the right of the drop down inside the container to hold the long name of the the code (for example, Virginia for code VA). Using the Combox InteractiveChange Event I can place the code long name in the label when the code changes. However, when the page displays initially the long name is blank or may contain the long name from the previous code. How can I get current the long name to display when the Properties page displays? I've looked at PostReQueryHook, Init, and a few other events but nothing seems to work. Suggestions? What have I overlooked?
>
>I've been using MM for a couple months -- yes a newbe and still on the learning curve -- and am now getting into my system development cycle. It sure has made life and development easier.
>
>
>Thanks for any help or suggestions.
>
>
>Robert "Bob" Fink
>AME, Inc
>Va Beach, VA.
Previous
Reply
Map
View

Click here to load this message in the networking platform