Question@fgControls.dll for Device

wm.chatman

Well-Known Member
Licensed User
Longtime User
Question:

Can the fgControls.dll for Device be merged in the executable?

Best regards
Wiliam
 
D

Deleted member 103

Guest
Unfortunately no, the DLL is written in vb.net and not c#.
 

wm.chatman

Well-Known Member
Licensed User
Longtime User
Dir Sir

Hi

Using fgControls I am getting some very strange behavior.
I added Object-> fgMouse Events and named them pandatenew and panreplacenew so we are able to move both panels, when we like to write into txt box.

On Desktop PC all is well. No problems there!
but, Testing on Device:

1. I am getting a large mouse trail or panel trail when both are being moved.
2. Continuing to test both panels, they just seem to disappear from the main Frm.
3. The panels at times do not show at all, and at times just for 1 second when they do visible = false
When I restart the App, then all is well, until we start playing a bit with both panels (about 5-8 minutes).
I am using fgControl version = 1.0.7.6 and also used the other version, but then the panels were out of control.
I adapted the two panels from henshu source code.

How can I correct this problem please? Am I overlooking something here? Have I added the wrong Event? Do the panels need a New this or New that?

Update:
The panels do not need a New1. But why is there the strange behavior? Panel hides itself at times. Do not understand this.
Is it the wrong fg Object that I added? I do not know...

thank you for helping out.

Best regards
William
 
Last edited:
D

Deleted member 103

Guest
Hallo wm.chatman,

You can post your source here? I could look at it and me on deck, perhaps the error.

kannst du dein Quellcode hier posten? Ich könnte es mir anschauen und vielleicht auch der Fehler andecken.


Ciao,
Filippo
 

wm.chatman

Well-Known Member
Licensed User
Longtime User
Hello Sir

thank you for helping me on this. Now the Question is, I have incorp. the code into the main TRUI App that Klaus and myself had been working on.

Q: Do I need to update the main TRUIDbase App. Or am I allowed to post it here?
 

wm.chatman

Well-Known Member
Licensed User
Longtime User
Ok here we go, almost to limit was close. Had to delete some.
I am using a MDA Pro. When you let the App rest for a few minutes and then go back to the Panels, I hope you get the same errors, as me.

Thx
William
 
Last edited:
D

Deleted member 103

Guest
So, now works!

I just moved the 2 line of Sub btnEditor_Click in Sub App_Start.
PHP:
   panReplaceNew.New1("panReplace",True)  'Panel with Border and movable
   panDateNew.New1("panDate",True) 'Panel with Border and movable

Man should always initiallisieren an object only once.

##########################################

Also jetzt funktioniert!

Ich habe einfach die 2 Zeilen von Sub "btnEditor_Click" in Sub "App_Start" verschoben.
PHP:
   panReplaceNew.New1("panReplace",True)  'Panel with Border and movable
   panDateNew.New1("panDate",True) 'Panel with Border and movable

Mann sollte ein Objekt immer nur einmal initiallisieren.
 

wm.chatman

Well-Known Member
Licensed User
Longtime User
Filippo

Thanks very much for taking the time to take a look see at this Problem.
Your fgControls are pretty cool. They will find quite some use, in the future.

I will test in a bit. Take care.

:sign0089:

again, Thx

Best regards
William
 

wm.chatman

Well-Known Member
Licensed User
Longtime User
yes, now I see the mistake I had made. Dumb sh...
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…