Question Custom Control show wrong text when API-call is inserted

bonifas

New member
Joined
Sep 27, 2010
Messages
1
Programming Experience
5-10
Hello NG,

i my VB.NET (CF 3.5) programm i want to use a custom label-control:

Public Module modTest
Public Class myLabel
Inherits Label
...
End Class
End Module

It all work fine. But if i use a API call inside the programmcode, the myLabel-Control does not shows the correct text in the design mode.
It shows "myLabelTest.modTest+myLabel".

If i delete the API Call, it shows the correct text. All API Calls cause this effect

What is wrong?

Regards, bonifas
 
Top Bottom