Search found 2887 matches

by wriedmann
Mon Apr 22, 2024 1:11 pm
Forum: Deutsches Forum
Topic: Extended VO Classes with own Methods
Replies: 6
Views: 227

Re: Extended VO Classes with own Methods

Hallo Franz, nein, so funktioniert das leider nicht. "self" gibt es in Deiner statischen Klasse nicht. Das gehört so: STATIC CLASS ControlExtensions STATIC METHOD PostFocus( self oControl as Control ) as void PostMessage( GetParent(oControl:Handle()) , WM_NextDlgCtl , DWORD( _CAST , oContr...
by wriedmann
Mon Apr 22, 2024 11:46 am
Forum: Deutsches Forum
Topic: Extended VO Classes with own Methods
Replies: 6
Views: 227

Re: Extended VO Classes with own Methods

Hallo Franz,
noch was: das, was der XPorter macht, ist nur ein Workaround, damit sich der Code kompilieren lässt - damit funktioniert Dein Code sicher nicht.
Wolfgang
by wriedmann
Mon Apr 22, 2024 11:44 am
Forum: Deutsches Forum
Topic: Extended VO Classes with own Methods
Replies: 6
Views: 227

Re: Extended VO Classes with own Methods

Hallo Franz,
wenn Du nicht auf interne Variablen der Klasse zugreifen musst, sind extension methods das Beste.
https://docs.xsharp.it/doku.php?id=extension_methods
Wolfgang
by wriedmann
Sat Apr 20, 2024 5:33 am
Forum: Chit-Chat
Topic: dotNet, Listview & Hotkeys (curosity question...)
Replies: 1
Views: 176

Re: dotNet, Listview & Hotkeys (curosity question...)

Hi Karl, generally the Microsoft controls are not optimized for hotkeys or user friendly behaviors. They leave that or to the indiviual programmers or to 3rd party control providers. Using mostly the "original" controls and thank to subclassing normally a programmer can add some functional...
by wriedmann
Fri Apr 19, 2024 9:52 am
Forum: Product
Topic: Xide or OS
Replies: 7
Views: 449

Re: Xide or OS

Hi Chris,
I would leave that to you.... if you don't use them otherwise, IMHO Shift would be a good option.
Wolfgang
by wriedmann
Fri Apr 19, 2024 6:14 am
Forum: Product
Topic: Xide or OS
Replies: 7
Views: 449

Re: Xide or OS

Hi Chris, may I suggest something: when during opening XIDE a key combination is pressed like Shift the program should ignore windows settings. I'm doing similar things in my own apps, and that is important specially for people changing frequently between different work settings. Other than this, I'...
by wriedmann
Fri Apr 12, 2024 11:44 am
Forum: Chit-Chat
Topic: Thanks to the X# developers for their work
Replies: 4
Views: 326

Re: Thanks to the X# developers for their work

I can only confirm this also for us: X# applications are a really important part of our work now, both new ones and migrated ones, and nearly all of your VO applications are using X# COM libraries to compensate the shortcomings of the old VO platform. The entire team (even here we see mostly Chris a...
by wriedmann
Fri Apr 12, 2024 8:44 am
Forum: Deutsches Forum
Topic: X# Com module für VO apps
Replies: 5
Views: 198

Re: X# Com module für VO apps

Hallo Franz, wenn Du nicht im Manifest im AppWiz-Verzeichnis Deinen Eintrag drin hast, dann war das der Grund Wenn Du einen Manifest-Viewer verwendest, dann kannst Du das Manifest einer Exe oder DLL anschauen. Ist manchmal nicht schlecht beim Fehlersuchen. Hier wäre einer: https://weblogs.asp.net/ke...
by wriedmann
Fri Apr 12, 2024 6:59 am
Forum: Deutsches Forum
Topic: X# Com module für VO apps
Replies: 5
Views: 198

Re: X# Com module für VO apps

Hallo Franz, zwei Dinge: jede VO-App, die die COM-DLL verwendet, muss das korrekte Manifest haben. Außerdem muss die DLL und alle Abhängigkeiten im Ordner vorhanden sein - im Pfad reicht nicht. Schau mal im Ereignis-Protokoll nach, und sonst hier: https://docs.xsharp.it/doku.php?id=com_module_sample...
by wriedmann
Wed Apr 10, 2024 7:16 am
Forum: Deutsches Forum
Topic: OleAutoObject
Replies: 20
Views: 808

Re: OleAutoObject

Hi Franz,
using Memoread for binary files in .NET is a bad idea.
In .NET strings are Unicode and not more ANSI/ASCII.
Wolfgang