Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #9069

Re: XSharp Public Beta available !

Message-ID <nb2h54.4g4.1@xsharp.info> (permalink)
Subject Re: XSharp Public Beta available !
Newsgroups comp.lang.clipper.visual-objects
References <6caca755-e2fb-42a4-ab7a-e523246fb3c3@googlegroups.com> <c7e8dbhqj0icinscpaijklasoee71ppjtf@4ax.com>
From Chris Pyrgas <chris_at@xsharp _dot.eu>
Date 2016-02-29 23:37 +0200

Show all headers | View raw


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<LOGIC>{ 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(<do_something_here> ,  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

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

XSharp Public Beta available ! Robert van der Hulst <rjvanderhulst@gmail.com> - 2016-02-28 08:55 -0800
  Re: XSharp Public Beta available ! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-02-28 19:02 +0100
    Re: XSharp Public Beta available ! Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2016-02-28 20:35 +0100
      Re: XSharp Public Beta available ! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-02-29 05:56 +0100
        Re: XSharp Public Beta available ! "Joachim Duerr" <jojo.duerr@gmx.de> - 2016-02-29 11:24 +0000
          Re: XSharp Public Beta available ! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-02-29 13:40 +0100
            Re: XSharp Public Beta available ! D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-02-29 22:42 +0100
              Re: XSharp Public Beta available ! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-03-01 07:34 +0100
                Re: XSharp Public Beta available ! D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-03-01 12:39 +0100
                Re: XSharp Public Beta available ! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-03-01 14:10 +0100
                Re: XSharp Public Beta available ! "Michael Hagl" <haglmi@hagl.de> - 2016-03-02 09:09 +0100
    Re: XSharp Public Beta available ! Franz Rachbauer <office@rachbauer.org> - 2016-02-29 14:05 +0100
      Re: XSharp Public Beta available ! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-02-29 15:18 +0100
  Re: XSharp Public Beta available ! Otto Christiaanse <ofchristiaanse@gmail.com> - 2016-02-29 00:59 -0800
  Re: XSharp Public Beta available ! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-02-29 11:39 +0100
  Re: XSharp Public Beta available ! D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-02-29 14:17 +0100
    Re: XSharp Public Beta available ! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-02-29 15:12 +0100
      Re: XSharp Public Beta available ! D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-02-29 22:45 +0100
        Re: XSharp Public Beta available ! "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-03-01 06:04 +0100
    Re: XSharp Public Beta available ! Chris Pyrgas <chris_at@xsharp _dot.eu> - 2016-02-29 23:37 +0200
      Re: XSharp Public Beta available ! D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-03-08 20:54 +0100
        Re: XSharp Public Beta available ! Chris Pyrgas <chris_at@xsharp _dot.eu> - 2016-03-09 01:48 +0200
          Re: XSharp Public Beta available ! D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-03-09 10:32 +0100

csiph-web