Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event Model
Message
From
04/10/2000 12:47:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Event Model
Miscellaneous
Thread ID:
00424840
Message ID:
00424840
Views:
57
HELP!

I've created a composite control that contains 2 comboboxes and 3 textboxes. All controls have controlsources
in a view (set in the instance on the form). Depending upon the value of combo1, only 1 of the 3 textboxes is
visible. I've used the InteractiveChange and ProgrammaticChange methods of combo1 to execute custom
method (SetControls) code on the container upon which the 5 controls were dropped. The Init method of the
container also executes this SetControls. This composite control was dropped on a form that also has a grid
that is used to move from record to record in the view.

My Problem:

As the grid changes to a subsequent record and the controlsource of combo1 changes it's value, I need to
know what event can have ...SetControls() added to it's method to have the "correct" textbox available.

I tried adding this.SetControls() to the refresh method of the container, but I get a VFP error "Exceeded DO
limit" (I use a Case structure in SetControls().

Any help will be greatly appreciated.

Mike
Mike
Next
Reply
Map
View

Click here to load this message in the networking platform