Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrow Keys Don't Fire When, GotFocus, Click in Grid txtB
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00618623
Message ID:
00622192
Views:
35
Nadya,

Thanks... I've been practicing. I've actually created a class library and done some subclassing. Though I do have a few questions:

I have prefixed my class names and class library name with acs (for Advance Computer Services). Is it OK to, say, create my base class grid with a name like acsgrdbase. Then, if I want to subclass off of it, I would create acsgrdsubclass1, acsgrdsubclass2, & so on. That way, my base classes and subclasses will all be in the same library file, acsBase.vcx. Is that proper? Or, are you strictly supposed to have your base classes in one file and subclasses in another file(s)?

Once you have a class in a class library, is there any way to delete the class? I've been playing around with creating different classes and class names, and, as I get honed in on this process, I need to clean some of the garbage.

I have created a TextBox class, acstxtbase, that I wish to have in my grid. How do I get it in there?

TIA,
Chuck

>Chuck,
>
>See FAQ #7967 for ideas.
>
>>Hi Pamela,
>>
>>Please try not to get impatient with me... I hate to say this, but I just haven't yet got the concept of how to Class & Subclass. And I know I need to get it; so, I'm trying.
>>
>>When I first built this form and put a grid on it, I used the Grid Builder to get the basic layout of the grid. I still need to customize some properties on the txtBoxes, namely, SelectedBackColor and SelectedForeColor. I can see how it would be better not have to set these properties individually for each txtBox. I guess the main question I have is, how do I go about creating a txtBox class and how do put an instance of that in my existing grid?
>>
>>TIA,
>>Chuck
>>
>>>Hi Chuck,
>>>
>>>>>>I do like the idea of not having to code all the txtBoxes in the grid.
>>>
>>>I wouldn't code all the textboxes in the grid. I would create a textbox class and use an instance of it in each column in the grid.
>>>
>>>pamela
Chuck Henry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform