Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@&^#%#^%# ListBoxs!
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00009961
Message ID:
00010145
Views:
67
>>>if #1 is a combo box in a toolbar,
>>>the answer for # 1 is.....
>>>
>>>put the following in your formset init
>>>
>>>thisformset.djrealbar.combo1.value =3
>>>thisformset.djrealbar.combo1.refresh
>>
>>Well I am not using a formset but get the idea. What is djrealbar? What does Value = 3 supposed to do?
>>
>>Anyway I tried what I could in the Toolbar with no luck.
>>
>>Thanks
>>Tom
>
>if a toolbar, aren't you asked to create a formset (i am, maybe you're doing something different). djrealbar is a subclass of a toolbar.
>ignoring those, combo1.value=3 tells the combobox to select the third item. you might use combo1.value=paMyArray[1].
>
>this should go in the form/formset init after your array is initialized. refresh the object and you'll see what you're looking for.


I will look at refresh() if I ever get done with all these darned messages. This place is Nutso today! (s)

Thanks
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Reply
Map
View

Click here to load this message in the networking platform