xsharp.eu • DoubleListBox UI Component in X# Winform - VO dialect
Page 1 of 1

DoubleListBox UI Component in X# Winform - VO dialect

Posted: Thu Oct 05, 2023 12:02 pm
by ArunBerlin
Hi,

I've converted VO source code to WinForms in X#, from its .AEF file.

A ListBox UI control throws the following error on compile/build:

Severity Code Description Project File Line Suppression State
Error XS1061 'VO.ListBox' does not contain a definition for 'aSelected' and no accessible extension method 'aSelected' accepting a first argument of type 'VO.ListBox' could be found (are you missing a using directive or an assembly reference?)

Severity Code Description Project File Line Suppression State
Error XS0246 The type or namespace name 'DoubleListBoxSelect' could not be found (are you missing a using directive or an assembly reference?)

Code: Select all

PROTECT poDoubleListBoxSelect AS ListBox
LOCAL  aSelected, aAvailable AS ARRAY
aAvailable :=poDoubleListBoxSelect:aAvailable
ASelected :=poDoubleListBoxSelect:aSelected
poDoubleListBoxSelect := DoubleListBoxSelect{SELF:oDcExcludeLB, SELF:oDcIncludeLB, SELF:paExcluded, SELF:paIncluded}
Is the ListBox with doubleListBox property a part of X# UI Control ?
Any alternative UI controls to replace it ?

Re: DoubleListBox UI Component in X# Winform - VO dialect

Posted: Thu Oct 05, 2023 1:13 pm
by robert
Arun,
I think this class is part of one of your in-house libraries.
Robert

Re: DoubleListBox UI Component in X# Winform - VO dialect

Posted: Tue Oct 10, 2023 10:58 am
by ArunBerlin
Robert,

Thank you. You were right DoubleListBox was a custom in-house Library.
I was unaware of the usage of a dependent library project.

Do I need to delete this thread ?

Re: DoubleListBox UI Component in X# Winform - VO dialect

Posted: Tue Oct 10, 2023 11:41 pm
by Chris
Hi Arun,

Please don't worry about that, don't need to delete anything!