Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set DoubleClick event for Text Boxes in Grids
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00398429
Message ID:
00401055
Views:
26
Barbara / Jess

Thanks a million. That's working out great. I've noticed since I've added all my textbox classes to all 7 of my grids the load time for the form has increased quite a bit. Is there anyway around that? Should I do like I'm doing with the record source for each grid and not load them unless the user goes to that grid. That is, only add the textbox class object if they even view the grid? Would I do that in the Init of each grid?

The few things you and Jess have taught me in this thread has helped me to understand grids and grid classes a whole lot better. Thanks again.

Elgin

>Sorry, I should have described this part better, but forgot - in fact *I* had to think a moment when doing this today.
>
>1. Go to your Form Controls toolbar.
>
>2. Click the 'library' icon (several books)
>
>3. Select ADD
>
>4. Use the file selector to pick the VCX containing the control you want to add to the grid
>
>5. Now on the grid (in your form) make sure the column you're adding to is selected. Then click first on the icon for the control (in the toolbar) and then on the column (in the grid). When you look at your property sheet you'll see that the control has been added to the column
>
>6. Go to the column properties and reset the currentcontrol to the new control.
>
>7. Repeat as needed for each column
>
>HTH
>Barbara
>
>>Barbara,
>>
>>Well I thought I was able to add a textbox class to my grids by selecting the column I wanted then dragging it onto the column from the class list. I get "cannot add this object to a grid." What's the proper way to add a textbox class to a grid column in the form designer? Or even class designer? Do I have to use the AddOBject method?
>>
>>Thanks
>>Elgin
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform