Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 To: tanvir ahmad
  Where is tanvir ahmad?
 rajnandgaon
 India
 tanvir ahmad
 Tags
Subject: RE: text box
Thread ID: 233636 Message ID: 233951 # Views: 35 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Wednesday, July 08, 2009 12:01:08 PM         
   


> >
> > Hi Tanvir,
> >
> > Did you mean Ken or me?, what do you want to do exactly?
> >
> >
> >
> > -Stefan
>
>
> hi drewken
> i downloaded u'r text box class, but i c't understand how to use this class prg

It's not mine, Marcia Akins wrote that class. If your question is something like "How to use a class being defined via Define Class syntax"?, you can put the Define/EndDefine block into a PRG file, say "myclasses.PRG" in a sub-folder "prgs" for instance.
And then create objects derived from your new class by using the NewObject() function or container.NewObject() method:

Thisform.NewObject('Text99', 'txtnum', 'prgs\myclasses.PRG')



Or you make a "visual" VCX class by choosing "New" in the Project Manager's "Classes" tab, and then, in the Class Designer, add and set all properties and copy&paste the methods.


hth
-Stefan



COMPLETE THREAD
text box Posted by drewken @ 7/4/2009 3:44:46 PM
RE: text box Posted by Stefan Wuebbe @ 7/4/2009 7:57:10 PM
RE: text box Posted by tanvir ahmad @ 7/7/2009 2:40:37 PM
RE: text box Posted by Stefan Wuebbe @ 7/8/2009 8:31:38 AM
RE: text box Posted by tanvir ahmad @ 7/8/2009 11:14:38 AM
RE: text box Posted by Stefan Wuebbe @ 7/8/2009 12:01:08 PM
RE: text box Posted by Ammar Hadi @ 7/8/2009 1:29:42 PM
RE: text box Posted by Stefan Wuebbe @ 7/8/2009 4:35:28 PM
RE: text box Posted by Ammar Hadi @ 7/8/2009 5:09:46 PM
RE: text box Posted by Stefan Wuebbe @ 7/8/2009 5:16:21 PM
RE: text box Posted by drewken @ 7/11/2009 6:19:34 AM
RE: text box Posted by Ammar Hadi @ 7/11/2009 9:07:53 AM
RE: text box Posted by Bernard Bout @ 7/12/2009 9:25:47 PM