Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatic Manipulation of ListBoxes
Message
From
12/12/2001 15:10:44
Gil Munk
The Scarborough Group, Inc.
Baltimore, Maryland, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Programmatic Manipulation of ListBoxes
Miscellaneous
Thread ID:
00593486
Message ID:
00593486
Views:
54
Hey everyone!

Individually devices have been ordered and the options for each device have been selected. After the selection process comes the verification process.

A Grid on the verification form shows the account and device(s) to be purchased.
Each device has a series of options that have been selected:
The Device Plan (one per device)
The Services for this device (none, one or more)
Insurance type (one per device)
Purchase plan (one per device)

Each option list is in a list box. If 4 devices are being purchased then the Plan listbox view has 4 records (as does the Insurance and Purchase Plans), and the Services view could have any number of records.

I am trying to allow the user to navigate the Device records in the grid and have the listboxes highlight their associated options on each list. I have a call to a form method in the AfterRowColChange Event that determines (via looping thru each listitem of the listbox) if the listbox's bound column's value matches the device in the gridrow and I can set it's select value to TRUE. I know that the selected backcolor and forecolor are good.

My problem is this: Nothing happens to the listboxes.
I know that rows are selected, the boxes are enabled, I done refreshes, setting focus to, firing their click events but nothing changes visually.

Is there a way to programmitically maniulate listboxes to do what can be done with a mouse?

TIA
Gil Munk


"If a nation expects to be ignorant and free, it expects what never was and never will be." - Thomas Jefferson
Next
Reply
Map
View

Click here to load this message in the networking platform