Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX is invisible until I click on it
Message
De
26/12/2011 13:05:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01531677
Message ID:
01531697
Vues:
34
>>>Hi everybody,
>>>
>>>I created a container class and added MS Forms 2 TextBox control. I added a few of such containers to my form. Unfortunately, when I run my form, the textboxes are not shown until I click on them.
>>>
>>>Do you know what can I do to show them properly?
>>>
>>>Thanks in advance.
>>
>>try
>>
>>* Container.Init
>>  this.MSForms2.Object.Visible = .T.
>>
>
>What do you mean by MSForms2 here?

The "MS Forms TextBox".

>
>I've tried using the object's name (e.g. txtLanguage in my case) and got an error 'Unknown name'

I check and the ActiveX doesn't has the object.Visible property
( a bug ? a Interface issue ? )
but it work ok on a simple form.container.

Your is a draw layer issue.

try
txtLanguage.Visible = .T.

or

ThisForm.Draw
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform