You are not logged in.

1

Friday, February 19th 2010, 9:47am

TextBox Control not visible?!

Hi there,

I have a problem with TexBox control, when I put it on the Form (at design time) everything is Ok, but when i run it it just shrink in some little line.

Can someone explain me this TextBo
x issue!

See the attached image for better understanding my problem...



Best regards,
Viktor
I think it will be a good replacement for VB6 after a little improvements and minor bug fixes... :rolleyes:

OlimilO

Intermediate

  • "OlimilO" is male

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

2

Saturday, February 20th 2010, 8:16am

Changed system settings?

Hi,

please try the following code in your little project:

Jabaco Source

1
2
3
4
5
6
Public Sub Command1_Click()
   Text1.FontName = "Courier New"
   Text1.FontSize = 20
   Text1.Height = 50
   Text1.Width = 150
End Sub


what do you see?



what operating system do you have?

maybe you have changed some system settings?

What happended to the caption line of your form, the text is centered?

Also the border of your form is way too small.



regards

OlimilO

3

Saturday, February 20th 2010, 10:10am

Hi OlimilO,

First of all, your code worked and after that I realized something (when you've asked about the Caption of my Form).... :rolleyes:

You won't believe what was causing this issue... 8o

A few days ago, I reinstalled Windows XP Professional with SP3 + JRE v1.6.0_17-b04, so it was a clean Windows installation. I wanted to change little bit the Windows appearance, so I installed the VistaVG with uxtheme style patcher, because I like that Vista style...

I didn't know that the Jabaco IDE is Windows (default) style/theme dependent, since in VB6 everything is OK (with the mentioned VistaVG style/theme) including Form appearance and other controls as well!

The final conclusion: do not use any custom kind of Windows styles/themes if you want Jabaco to work/display correctly!

Thank you for pointing me to the right solution...!!! :thumbsup:

Best regards,
Viktor
I think it will be a good replacement for VB6 after a little improvements and minor bug fixes... :rolleyes:

This post has been edited 2 times, last edit by "beic" (Feb 20th 2010, 1:57pm)


OlimilO

Intermediate

  • "OlimilO" is male

Posts: 277

Date of registration: Jan 18th 2009

Location: Germany

Occupation: software engineer

  • Send private message

4

Saturday, February 20th 2010, 4:08pm

Hi beic,

Quoted

You won't believe what was causing this issue

Yes I will believe, because that's what I guessed ;)

Quoted

I didn't know that the Jabaco IDE is Windows (default) style/theme dependent

NO it is not!

Quoted

do not use any custom kind of Windows styles/themes if you want Jabaco to work/display correctly!
Please don't act like a nerd, there is no need to say "dont use any".
Those tools do changing so much different settings, like font, font size, border style, ...

better find out the one specific setting that caused the problem.
With this info you could help others much better.



regards

OlimilO

5

Saturday, February 20th 2010, 4:44pm

Hi OlimilO,

First of all please don't call me "nerd", it is a little bit strong expression for me!
:huh:

I just tested another Windows XP style called "Razor" and the same problem showed up, so I cannot see what causes these problems because I did not write the uxtheme patcher for Windows XP SP3, it cannot be from font, color, etc...changes...it seems to be something in the background, some system settings...that I cannot find!

Here is the Razor style TextBox issue, same problem with VistaVG style:


Best regards,
Viktor
I think it will be a good replacement for VB6 after a little improvements and minor bug fixes... :rolleyes:

This post has been edited 3 times, last edit by "beic" (Feb 20th 2010, 7:05pm)


6

Saturday, February 20th 2010, 5:38pm

Instead of calling me a "nerd" (this expression is a bit strong and insalting...), you should be thankful that I have found bugs in the Jabaco IDE, so that who created it can think about it and maybe ajust it.

Then please explain to me how come that VB6 doesn't have problems with the same styles/themes and settings, if you are saying that it isn't style/theme dependent?
:rolleyes:

Look at the screenshots with the same styles/themes (Razor and VistaVG) in a VB6 project:



Best regards,
Viktor

I think it will be a good replacement for VB6 after a little improvements and minor bug fixes... :rolleyes:

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

7

Saturday, February 20th 2010, 7:18pm

Installing themes in XP definitely is risky. The side-effects are countless and many applications are affected in sometimes strange ways.
My suggestion is to focus on Jabaco in a standard environment. That is complex enough.

Cheers

A1880

8

Sunday, February 21st 2010, 6:34pm

Hi A1880,

Thanks for quick and accurate/directed answer to my question! :thumbup:

Best regards,
Viktor
I think it will be a good replacement for VB6 after a little improvements and minor bug fixes... :rolleyes:

Rate this thread
WoltLab Burning Board