Search found 31 matches

by FdeRaadt
Fri Aug 05, 2022 8:24 am
Forum: Product
Topic: [DebuggerStepThrough]
Replies: 5
Views: 2152

[DebuggerStepThrough]

Code: Select all

using System.Diagnostics

[DebuggerStepThrough];
Function etc
It seems like I was missing the USING System.Diagnostics Statement.
It works now

Thanks a lot!

Frank
by FdeRaadt
Thu Aug 04, 2022 3:50 pm
Forum: Product
Topic: [DebuggerStepThrough]
Replies: 5
Views: 2152

[DebuggerStepThrough]

<r><CODE><s>[code]</s>[DebuggerStepThrough];
Function DBG(cString as string) as void pascal<e>[/code]</e></CODE>
Error XS0246 The type or namespace name 'DebuggerStepThroughAttribute' could not be found (are you missing a using directive or an assembly reference?)<br/>
<br/>
Which reference do you ...
by FdeRaadt
Thu Jun 23, 2022 10:56 am
Forum: Product
Topic: Best way to implement bBrowser codeblocks in X#
Replies: 12
Views: 3260

Best way to implement bBrowser codeblocks in X#

<r>Hi Wolfgang, Chris and more<br/>
<br/>
Making the "all methods are virtual" does not change the end result.<br/>
We have a bBrowserfunction that essentially uses the FieldGet method of DBServer to return a logic.
<CODE><s>[code]</s>Class Contact_External_Class Inherit Contact
METHOD ...
by FdeRaadt
Thu Jun 16, 2022 10:52 am
Forum: Product
Topic: Data conversion array->Object for excel
Replies: 14
Views: 4573

Data conversion array->Object for excel

<r>I tried to following code in my XSharp project:<br/>

<CODE><s>[code]</s><i>
</i>oData := OBJECT[,]{nY,nX}
FOR nY := 1 UPTO ALen(aData)
FOR nX := 1 UPTO ALen(aData[1])
oData[nY,nX] := aData[nY][nX]
NEXT
NEXT
oRange:Value := aData<e>[/code]</e></CODE>

This results in an Error: XS0021 Cannot apply ...
by FdeRaadt
Fri Jun 10, 2022 7:08 am
Forum: Product
Topic: Visual Studio crashes since last Xsharp Update
Replies: 8
Views: 2453

Visual Studio crashes since last Xsharp Update

Hi Chris,

Yes, the crash only happens with Clean Solution.

Frank
by FdeRaadt
Fri Jun 10, 2022 7:07 am
Forum: Product
Topic: Visual Studio crashes since last Xsharp Update
Replies: 8
Views: 2453

Visual Studio crashes since last Xsharp Update

OS: Windows 10
Visual Studio Community 2019: 16.11.15
XSharp: 2.12.2

I've included the Windows pop-up shown when the freeze occurs.

Frank
by FdeRaadt
Fri Jun 10, 2022 12:08 am
Forum: Product
Topic: Visual Studio crashes since last Xsharp Update
Replies: 8
Views: 2453

Visual Studio crashes since last Xsharp Update

<t>Hello All,<br/>
<br/>
I've updated XSharp to the newest(2.12.2) version and have been experiencing frequent crashes of my Visual Studio.<br/>
This happen every time when making use of the option "Cleaning Solution" under Build.<br/>
This problem does no longer occurs when downgrading XSharp back ...
by FdeRaadt
Thu May 12, 2022 3:15 pm
Forum: Product
Topic: SEUIXP icon in menu & converted X# menu using default ribbon
Replies: 11
Views: 3349

SEUIXP icon in menu & converted X# menu using default ribbon

<t>Hi Chris,<br/>
<br/>
I've changed the Ribbon Filename to the related bitmap.<br/>
I've mirrored the same settings from VO.<br/>
Sadly the same wrong buttons are still visible in the menu editor.<br/>
<br/>
I've noticed some inconsistencies in my code, so I will report back with more information ...
by FdeRaadt
Mon Feb 28, 2022 1:22 pm
Forum: Product
Topic: Unable to cast object 'bBrowser.bDataColumn' to type 'bBrowser.bVirtualColumn'
Replies: 4
Views: 2050

Unable to cast object 'bBrowser.bDataColumn' to type 'bBrowser.bVirtualColumn'

<t>Hi Robert,<br/>
<br/>
I've looked into the code and it turns out you're right. By changing oColumn to cDataColumn my problem is fixed.<br/>
I don't really like that the compiler doesn't warn me about these mistakes in my code. I have to manually test if changes to my code result in a RunTimeError ...
by FdeRaadt
Fri Feb 18, 2022 5:21 pm
Forum: Product
Topic: Macrocompiler: error XM0101: Unexpected '<'
Replies: 7
Views: 2566

Macrocompiler: error XM0101: Unexpected '<'

<r>Hello everyone,<br/>
<br/>
I have the following code:
<CODE><s>[code]</s>oColorCondition := bColorCondition{ cCondition, oColumn:server, oForeground, oBackground }<e>[/code]</e></CODE>

Which resuls in the following error:<br/>
Macrocompiler (1,97): error XM0101: Unexpected '<'<br/>
<br/>
I've ...