Re: My appalling ignorance - creating visual classes
Jaime Vasquez wrote: Vince Teachout wrote: Use PrgToVcx, a utility by Tom Rettig, is in the download section: ftp://leafe.com/PrgToVcx.zip Boy, I'm really glad to know that it WASN'T something simple and obvious after all! Thanks. -- Vince Teachout Caracal Software www.caracal.net 518-733-9411 ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: My appalling ignorance - creating visual classes
Vince Teachout wrote: You're supposed to be able to create a visual container class that you then drop on the form and mess with. Problem is, I can't figure out how to create the visual class. Use PrgToVcx, a utility by Tom Rettig, is in the download section: ftp://leafe.com/PrgToVcx.zip HTH Jaime Vasquez. Guatemala C.A. ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
My appalling ignorance - creating visual classes
Ok, I'm not a Class guru by any means, and I'm sure there's an easy way to do this, but after messing with it for the last 1/2 hour, I can't find it. I followed up on one of the messages in the board the other day, and went and snagged the code to create a skype class. You're supposed to be able to create a visual container class that you then drop on the form and mess with. Problem is, I can't figure out how to create the visual class. I can use the class editor to create the class AS container, but then I would have to manually add the properties and cut an paste the methods myself, and I don't want to. The code starts out: DEFINE CLASS aasskype AS container Width = 78 Height = 22 msgid_skypecontrolapiattach = 0 msgid_skypecontrolapidiscover = 0 skypeapiwindowhandle = 0 Name = aasskype ADD OBJECT label1 AS label WITH ; AutoSize = .F., ; Caption = Skype API, ; Height = 17, ; Etc, etc, followed by a bunch of PROC and Func declarations. I tried running the code, adding the OF c:\mytest.vcx and re-running it, but it just sits there. I plead ignorance. How do I take the code, and with very little effort, create the vcx file that I can then add to my project? etc, etc, Vince Teachout Caracal Software www.caracal.net 518-733-9411 ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
My appalling ignorance - creating visual classes
Hi Vince I do it this way, (I did it, my way, FS the best) I click on tab Class + New. Class Name, just choose whatever, based on, choose Container and Store In, again whatever. From them on u have a visual class and u can add the objects. HTH, E. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.4/769 - Release Date: 4/19/2007 5:56 PM ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: My appalling ignorance - creating visual classes
Eurico Chagas Filho wrote: Hi Vince I do it this way, (I did it, my way, FS the best) I click on tab Class + New. Class Name, just choose whatever, based on, choose Container and Store In, again whatever. From them on u have a visual class and u can add the objects. Thank you. That's the way I know how to do it, but that would mean adding the methods by hand, and I was hoping to not have to do that. Thank you, though. -- Vince Teachout Caracal Software www.caracal.net 518-733-9411 ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: My appalling ignorance - creating visual classes
Ed Leafe wrote: On Apr 20, 2007, at 1:30 PM, Vince Teachout wrote: I tried running the code, adding the OF c:\mytest.vcx and re-running it, but it just sits there. I plead ignorance. How do I take the code, and with very little effort, create the vcx file that I can then add to my project? Have you tried running your code to create the object, and then using its SaveAsClass() method? No. Cool trick! That WOULD have got it, but now I get a message One of the members of this class is based on a nonvisual class. Cannot write .VCX file. So there is something wrong with the code itself. But now I know how to do it for next time. Thanks! -- Vince Teachout Caracal Software www.caracal.net 518-733-9411 ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.