Search found 2411 matches

by robert
Mon Nov 18, 2024 2:44 pm
Forum: Product
Topic: Calling convention of overriden methods
Replies: 4
Views: 513

Re: Calling convention of overriden methods

Basile,
If the class is a DbServer subclass then it has to be:

Code: Select all

PUBLIC METHOD SetFilter( cFiltre  ) AS USUAL 
Robert
by robert
Mon Nov 18, 2024 12:25 pm
Forum: Product
Topic: optional parameter
Replies: 8
Views: 561

Re: optional parameter

Chris,
We have not yet enabled support for #nullable context in X#.
We'll probably do that in X# 3.

Robert
by robert
Mon Nov 18, 2024 10:57 am
Forum: Product
Topic: optional parameter
Replies: 8
Views: 561

Re: optional parameter

Basile,

Default values for optional parameters are handled by the X# compiler in 2 different ways:
- In the Core dialect, it handles them just like C#. Default must be standard .Net constants.
- In the other dialects, the default values are stored as special attributes on the parameters. This ...
by robert
Sat Nov 16, 2024 8:29 am
Forum: VO & Vulcan
Topic: problems with xSharp in Visual Studio
Replies: 3
Views: 414

Re: problems with xSharp in Visual Studio

Richard,

Due to an (undocumented) change in VS 2020 these features are no longer working with X# 2.20.
This is fixed in the upcoming 2.21 build.

Robert
by robert
Tue Nov 12, 2024 12:35 pm
Forum: VO & Vulcan
Topic: Issue when using DBF file more than 2GB
Replies: 2
Views: 433

Re: Issue when using DBF file more than 2GB

Cyril,
Which version of X#?
I believe this was fixed in one of our last builds. IIRC this was included in 2.20, also in the public build.

Robert
by robert
Mon Nov 04, 2024 11:43 am
Forum: Product
Topic: Doubts about "dialects"
Replies: 11
Views: 1030

Re: Doubts about "dialects"

Guys,

Would it be a good idea to do an online session about this?
We have not done online sessions in a while, and I think this subject "the differences between X# dialects" is a great session for an online presentation.

Robert
by robert
Mon Nov 04, 2024 10:44 am
Forum: Product
Topic: Doubts about "dialects"
Replies: 11
Views: 1030

Re: Doubts about "dialects"

Guys,
What a very good question, and also some very good answers.
In addition to what Chris already said (and I agree about FtpWebRequest):

- The dialect of a project controls the behavior of the compiler. For example:
x Setting the FoxPro dialect enables the FoxPro "DEFINE CLASS" syntax and some ...
by robert
Sat Nov 02, 2024 6:08 am
Forum: Product
Topic: String with Len 0
Replies: 4
Views: 695

Re: String with Len 0

Horst,
Horst wrote: Fri Nov 01, 2024 10:56 am Hi Chris

I know when i compare "Horst " = "Horst" or "Horst" = "Horst " then is the result different, but a empty string ? Thats weird for me.

Horst
Actually, this was "inherited" from dBase (so from the 80s)

Robert
by robert
Wed Oct 30, 2024 4:35 pm
Forum: 3rd party products
Topic: reportPro, two issues
Replies: 5
Views: 693

Re: reportPro, two issues

MJI wrote: Tue Oct 29, 2024 9:06 am 2.3 I think, and perhaps 2 is not that flexible, having to use an online calulator.

Anyway I very rarely do reports, as I normally do the coding!
Can you inspect the properties of the ReportPro DLL and let us know the version of this DLL

Robert
by robert
Wed Oct 30, 2024 10:28 am
Forum: Visual FoxPro
Topic: Unable to open forms created based on customized winform classes using the form designer
Replies: 21
Views: 1714

Re: Unable to open forms created based on customized winform classes using the form designer

Chris, Xinjie,

I did not test this, but the Control Class Hierarchy has a virtual property DefaultSize.
I think that if you add an override of this property in your button or form class, that this is the size that you will get when you reset it.
The Default Size for a Form is 300 x 300.

Robert