Search found 2761 matches

by Chris
Fri Jan 17, 2025 2:08 am
Forum: Chit-Chat
Topic: Winforms, GDI+ and basic conceptual fightings
Replies: 7
Views: 226

Re: Winforms, GDI+ and basic conceptual fightings

Hi Karl,

Problem is, how will you rotate the buttons?

I really like stuff like this, see this code below that uses OOP to draw such buttons, you can use it as a starting point:

USING System.Windows.Forms
USING System.Drawing
USING System.Collections.Generic

[STAThreadAttribute];
FUNCTION Start ...
by Chris
Wed Jan 15, 2025 5:02 pm
Forum: Chit-Chat
Topic: Winforms, GDI+ and basic conceptual fightings
Replies: 7
Views: 226

Re: Winforms, GDI+ and basic conceptual fightings

Hi Karl,

The parent OnPaint() method of the PictureBox class is PROTECTED, message says that when you override this method in a subclass, it can't have different visibility, so you need to make it PROTECTED as well. Vulcan was doing this automatically.
by Chris
Wed Jan 15, 2025 11:41 am
Forum: Visual FoxPro
Topic: Creating a component fails when adding a visual custom class to a form
Replies: 4
Views: 160

Re: Creating a component fails when adding a visual custom class to a form

Hi xinjie,

Thanks, I see the problem, it's because in this line:

This.KeyDown += myCheckBox_KeyDown

the compiler does not know what "myCheckBox_KeyDown" represents, so adds code that tries to resolve it at runtime (to a memvar or similar) and that fails. You can fix this by explicitly specifying ...
by Chris
Wed Jan 15, 2025 11:15 am
Forum: Chit-Chat
Topic: Winforms, GDI+ and basic conceptual fightings
Replies: 7
Views: 226

Re: Winforms, GDI+ and basic conceptual fightings

Hi Karl,

My old session (for vulcan) was included in 2023's session material, in the folder "Old sessions", but I'm attaching it also here:


2005. Programming GDI+ in Vulcan.NET.zip


Regarding rotation, have a look in the GDI+ demo code, in the method DrawWave(). Basically you need to

- Save ...
by Chris
Wed Jan 15, 2025 1:20 am
Forum: Product
Topic: Open a DBF without extension using the DbUseArea() function
Replies: 8
Views: 495

Re: Open a DBF without extension using the DbUseArea() function

Hi Irwin,

Great, thanks for the feedback! Btw, it's too late to include this change in the upcoming build, as the installer is already tested and ready, so after installing it (should be out very soon), please apply again the new dll.
by Chris
Tue Jan 14, 2025 11:18 pm
Forum: Visual FoxPro
Topic: Creating a component fails when adding a visual custom class to a form
Replies: 4
Views: 160

Re: Creating a component fails when adding a visual custom class to a form

HI xinjie,

Can you please zip and post the complete solution so we can have a look? This will help with reproducing for sure the problem, because with the forms designer there can be a lot of variables at play.
by Chris
Tue Jan 14, 2025 10:38 am
Forum: Product
Topic: Open a DBF without extension using the DbUseArea() function
Replies: 8
Views: 495

Re: Open a DBF without extension using the DbUseArea() function

Robert, Irwin,

A new dll for testing the fix can be found here: https://github.com/X-Sharp/XSharpPublic ... 2589567931

Irwin, you need to replace the old dll in C:\Windows\Microsoft.NET\assembly\GAC_MSIL\XSharp.Core\v4.0_2.6.0.0__ed555a0467764586
by Chris
Tue Jan 14, 2025 1:47 am
Forum: Product
Topic: Open a DBF without extension using the DbUseArea() function
Replies: 8
Views: 495

Re: Open a DBF without extension using the DbUseArea() function

Hi Irwin,

Understood, and Robert has already fixed that problem today!

https://github.com/X-Sharp/XSharpPublic/issues/1671
by Chris
Tue Jan 14, 2025 1:46 am
Forum: VO & Vulcan
Topic: Migrating from VO 2.6 to Vulcan
Replies: 10
Views: 803

Re: Migrating from VO 2.6 to Vulcan

Hi Robbie,

The most basic thing that you need to download is the X# installer, you can get it from here: https://www.xsharp.eu/itm-downloads?folder=installers

This contains a single .exe file (installer)

The other files you downloaded as Jamal said are plugins for XIDE. Maybe we should make the X ...
by Chris
Mon Jan 13, 2025 11:22 am
Forum: Product
Topic: Open a DBF without extension using the DbUseArea() function
Replies: 8
Views: 495

Re: Open a DBF without extension using the DbUseArea() function

Hi Irwin,

Sorry, I had missed this one before, but I now checked it and it is a bug, also VO can open dbf files without an extension, but X# currently doesn't. Will open a ticket for this now.