Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21103

[RESOLVED] HELP, this is killing me! Language issue? VB6's fault?

$
0
0
I can't believe this.
I had this huge error and I couldn't find the cause. Then I went step by step and I found the cause of problems is this:

Code:

Debug.Print TextContr(10).Visible 'It says: False
TextContr(10).Visible = True
Debug.Print TextContr(10).Visible 'It says False again!!!

'Locked' property is False. I also tried specyfing the Form:

Code:

BaseDeDatos.TextContr(10).Visible = True
Debug.Print BaseDeDatos.TextContr(10).Visible 'It says False

I also tried with other objects in other forms. Same thing.
I think MAY BE it has to do with the fact that my VB is in spanish. Actually, the return value isn't False but "Falso", and not True but "Verdadero". I'm only having this problem with this spanish version in particular. I tried:

Code:

AnyForm.AnyObject.Visible = -1
Debug.Print AnyForm.AnyObject.Visible 'False again

(?)
Could it be an actual error of Visual Basic it self?

Viewing all articles
Browse latest Browse all 21103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>