On Aug 30, 2006, at 4:08 PM, Russ Jones wrote:
Hi Robert.
See comments interspersed below:
On Aug 30, 2006, at 5:36 PM, Robert Poland wrote:
Hi,
I think I want to create a ComboBox. It has several dates created
by a method (FillWeeks). When I run it the dates are available to
the arrows bar. But moving the mouse over them doesn't highlight
any of them. If I select one it then appears in the ComboBox. his
is what I've got so far;
// the following code is, I assume, in the ComboBox Open event:
Dim s as String
Dim i,last as Integer
Dim d as New Date
s=FillWeeks
last= CountFields(s,",")
For i=0 to last // this always leaves a null as the first item.
If you use 1 to last, the user has to choose a date.
me.addRow NthField(s,",",i)
Next
me.ListIndex=i // -1 would give a "no selection yet"
// and , I assume, the following line of code appears in the
ComboBox Change event:
editField1.text=me.text
No, but I just put it in the TextChanged event. And that seems to
work. Thanks,
Also don't think I'm passing my selection on. Help or examples
would be appreciated.
Robert Poland
With the code placed in events as I have assumed, it seems to work
ok for me.
Russ
Robert Poland
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>