Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #9050 > unrolled thread
| Started by | Robert van der Hulst <rjvanderhulst@gmail.com> |
|---|---|
| First post | 2016-02-28 08:55 -0800 |
| Last post | 2016-03-09 10:32 +0100 |
| Articles | 3 on this page of 23 — 9 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
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
Page 2 of 2 — ← Prev page 1 [2]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2016-03-08 20:54 +0100 |
| Message-ID | <doaudblhlqf892q8this4g9b8mreheu518@4ax.com> |
| In reply to | #9069 |
On Mon, 29 Feb 2016 23:37:28 +0200, Chris Pyrgas <chris_at@xsharp
_dot.eu> wrote:
Hello Chris,
>
>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.
That's great to hear. I think - as I also read on the forum- a mini
"South Sea Adventures" sample will show what X# can really do - for
the users. I am not familiair with Winforms (never used them actually)
and without a usuable example to start, I wouldn't know how to include
(in this stage elsewhere created) WPF XAML to be used 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
This works, thank you so much! We'll have to replace some code in the
called method which directly accesses the WPF controls with
databinidng, otherwise calling the methods as in above will logically
result in the error:
The calling thread cannot access this object because a different
thread owns it
But by using DoSomething_helper and having it update a property
showing Time() we could see it works. We expect this, like in a C#
program of mine, to enable an updates UI in a do... while.
In VO that would only take 5 seconds by entering
ApplicationExec(EXECWHILEEVENT) but in .Net you have to completely
redesign your program to have this working. But thanks to Nick Friend
I got this working in C# and thanks to you I expect to get this
working in Vulcan... keep you posted!
Dick
[toc] | [prev] | [next] | [standalone]
| From | Chris Pyrgas <chris_at@xsharp _dot.eu> |
|---|---|
| Date | 2016-03-09 01:48 +0200 |
| Message-ID | <nbnrs6.1oc.1@xsharp.info> |
| In reply to | #9115 |
Hi Dick, > In VO that would only take 5 seconds by entering > ApplicationExec(EXECWHILEEVENT) but in .Net you have to completely > redesign your program to have this working. But thanks to Nick Friend > I got this working in C# and thanks to you I expect to get this > working in Vulcan... keep you posted! Well, in WinForms it's just 4 seconds: Application.DoEvents() ;-) Chris
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2016-03-09 10:32 +0100 |
| Message-ID | <i7rvdbt605oni5b1r395sk0b8934nrkhka@4ax.com> |
| In reply to | #9119 |
On Wed, 9 Mar 2016 01:48:43 +0200, Chris Pyrgas <chris_at@xsharp _dot.eu> wrote: Hello Chris, >Well, in WinForms it's just 4 seconds: Application.DoEvents() >;-) > That's called progress. We should all use WPF because that's the future and yes, it does have advantages. But such an event driven environment certainly comes at a price - I've spent hours and hours getting things like this to work while in VO it takes 4 seconds and as I learn from you, in Winforms in even 1 second less. Dick
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web