Path: csiph.com!news.mixmin.net!border2.nntp.ams1.giganews.com!nntp.giganews.com!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost2.xs4all.net!not-for-mail Message-ID: Subject: Re: XSharp Public Beta available ! Newsgroups: comp.lang.clipper.visual-objects References: <6caca755-e2fb-42a4-ab7a-e523246fb3c3@googlegroups.com> From: Chris Pyrgas Date: Mon, 29 Feb 2016 23:37:28 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 Hamster/2.1.0.11 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-PostingHost: 62.112.72.79 Lines: 48 NNTP-Posting-Host: 80.100.95.152 X-Trace: 1456783296 dreader36.news.xs4all.nl 4201 80.100.95.152:57487 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 2599 X-Received-Body-CRC: 885967116 Xref: csiph.com comp.lang.clipper.visual-objects:9069 Hi Dick, > My suggestion would be to add a small sample with a screen and a menu. > I guess that should be possible given the fact that Vide compiled as > Xide but without a WPF or Winforms editor I am not sure how to build > that as an example. I understand WPF doesn't work yet but maybe a > small Winforms sample is even more meaningful for users. Apart from creating forms apps in X# with XIDE (which supports all kind of controls etc in the designer), you can create a form by code in VS, or even use the template "Windows Forms Application" in VS when creating a New Project (due to a small bug, though, you will need to add a reference to System.Drawing to it after creating it). I'm sure it will not take much time to add support also for the designers for WinForms and WPF in VS. btw, regarding your question about translating c# code in the vulcan forums, as I'd rather not post anything there, here's a quick reply, you can use this code in X#/vulcan: METHOD DoSomething() AS LOGIC RETURN Task.Factory:StartNew(System.Func{ SELF , @DoSomething_helper() }):Result METHOD DoSomething_helper() AS LOGIC // ... RETURN TRUE In x#, you can also use an anonymous method: RETURN Task.Factory:StartNew( {|| iif( , TRUE , FALSE) } ):Result and I think we had added support for that also in vulcan, but I am not sure if that feature made it into the 4.0 version. But you should be able to at least use the c#-like simpler delegate instantiation syntax, also in vulcan (this was definitely implemented in a build before the 4.0 version): RETURN Task.Factory:StartNew( SELF:DoSomething_helper ):Result hth, Chris