|
-
Feb 22nd, 2002, 09:11 PM
#1
Thread Starter
Hyperactive Member
ComboBox toughie
I've researched this one and concluded it can't be done, but I'll see if anyone here has any ideas.
On a form for a record, I have a combobox of "port names" which are read from a file. When the user views the record, the record's port name will be displayed in the combobox, but the program will hold off reading the file for all the ports until the user clicks on the combobox.
The purpose of this is so the program starts up quickly, without unnecessary file reads.
So the challenge is to make the combobox behave *as if* it were already loaded with the ports, so when the user clicks, it drops down and the port that was displayed is shown as selected in the dropped down list.
I could only get as far as filling the ports, and using SendMessage to drop down the list. I could not get the program to keep the list dropped down with that item selected.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|