Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbclick in grid is not working
Message
From
19/01/2000 11:45:42
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00319588
Message ID:
00319951
Views:
23
> I didn't say it's hard, I said it's not easy :) It requeres at least to have this class... BTW, in my Input classes I created Inp_Grid with ability to change standard TextBox class to be my class in Run time. I have a question:
> After RemoveObject('text1')
> NewObject('text1', CustomClass, ClassLib)
> text1.visible=.t.
> Do I need to add also
> CurrentControl='text1'
> or I don't?

I normally do, but that's because I add the new control with a new name and assign it to the CurrentControl before deleting out the default textbox. Doing this makes it easy to grab any properties that were inherited when the initial textbox was added by default that I might want in the new grid object.

I'd also advise wraping the whole thing with a form reference.lockscreen = .T. for the entirety of adding columns, so that the grid doesn't visibly alter its appearance until all the modifications are complete.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform