Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find - List Dialog
Message
 
 
To
06/12/2002 11:16:53
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00718579
Message ID:
00730369
Views:
18
Gary,

>I have looked at your code and in essence, it should work OK for you. Just a couple of observations. This code shouldn't really be in the click method of a CmdToolActionButtonList. You are binding code into a form's interface (and a button click at that) -- you should be getting away from this Fox 2.x style of coding. The CmdToolActionButtonList calls the form's list method. You could subclass the list method to call another form method that specifically contains your code. Generally, it is good practise to remember that "events call methods". <

Actually, I have already done this - it was in the click() for testing. I should have made that clearer.

>Also, you could optimize your code by using a more up to date syntactical approach. <

Yes... yes... old habits are hard to break.

Thanks for the help and observations.

Mel Cummings
Previous
Reply
Map
View

Click here to load this message in the networking platform