General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2003 Server
>I have a listbox.
>
>I want to preselect items in the listbox in the Init method of my form. the MultiSelect property is .T.
>
>I populate the listbox with a cursor, and then set individual Selected(i) = .T., for one or more entries.
>
>This appears to actually cause those items to be selected, but the selections lack the blue highlighting.
>
>When the user then clicks on items, the items clicked on do highlight.
>
>How do I get the programmatically selected items to appear highlighted.
>
>Thanks,
>Jim
Jim,
Any particular reason why you are fighting with a listbox? In my opinion the UI effect you are after can be done in a grid easily with dynamiccolour()
Regards,
Koen
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only