Mike, The whole reason for a visual class is so you can drop onto a visual form etc, in which case the form holds the datasession information.
I can't really see the reason for wanting a class based upon datasession unlesss I'm missing something! Also, you can still manipulate the datasession programatically within the VCZ if you want to, need to and are careful. The only time I have ever wanted this requirement is to be able to pass datasessions as a property of an object - but you can't .... end of. Dave -----Original Message----- From: ProFox [mailto:[email protected]] On Behalf Of MB Software Solutions, LLC Sent: 15 October 2012 15:57 To: ProFox Email List Subject: No session classes in a VCX? VFP9SP2 Was going to recreate a PRG class in the visual designer (VCX) and quickly realized why I didn't like using the VCX for my data object class years ago---no Session class in the dropdown selection when creating the class. Boooo! I changed it in my PRG to a Custom class so I guess I could go that route again in the VCX but still found this not to make sense. I mean...you've got Cursor and CursorAdapter classes available...why not Session? I was refactoring some code to make it (hopefully) easier for others to maintain. I like the PRG-based dataobj classes but I know others like VCX classes instead. -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] 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.
