1. IDE
- Posted by dcole Apr 28, 2011
- 1514 views
Hello,
Does anybody know how to change the default font and font size for an EditText in Judiths IDE?
It seems that I saw that somewhere in IDE.
By the way what is the default font and font size for EditTexts in IDE.
The reason for all this is because that when I run my WinXP programs in Windows 7 the EditTexts are too small and very hard to read.
What is the solution? Does anybody know?
Don Cole
"It's only when the tide goes out do we see who's swimming naked",
Warren Buffett on Bernie Madoff
2. Re: IDE
- Posted by zebra Apr 28, 2011
- 1420 views
Hello,
Does anybody know how to change the default font and font size for an EditText in Judiths IDE?
It seems that I saw that somewhere in IDE.
By the way what is the default font and font size for EditTexts in IDE.
The reason for all this is because that when I run my WinXP programs in Windows 7 the EditTexts are too small and very hard to read.
What is the solution? Does anybody know?
Don Cole
"It's only when the tide goes out do we see who's swimming naked",
Warren Buffett on Bernie Madoff
Don: More than likely she used win32lib's EzCreateFont() to create the font so if you find where she setup the font in her code; you should be able to change her parameters to that function.
3. Re: IDE
- Posted by AndyDrummond Apr 29, 2011
- 1436 views
There is a Win32Lib routine called:
setCreateFont ( sequence faceName, atom points, object attrib, atom color )
which you can call in the general or intro sections of your program; it will affect all control fonts, I guess. I used it some while ago to make a program more easily used, and I think it changed every control. Try it and see....
Andy
4. Re: IDE
- Posted by dcole May 01, 2011
- 1367 views
Thank you Zebra and Andy,
You put me on the right track.
For what it's worth:
In Judith's IDE the default EditText font is "MS Sans Serif",7,Normal.
If you go down lower than 7 (6,5,4 etc...) nothing changes in IDE.
When switching from XP to Windows 7, you find your XP programs hard to read then,
Change to setFont(myEditText,"MS Sans Serif",7,Normal+Bold)
To change the size of of all the EditTexts or any Control,
You must Create a new Project.
Go to Options\Configure IDE\Values Used To Create A New Control.
And click on the Control you want to change. Click Save.
From then on any new controls created will be new size.
When finished it is a good idea to change back to default size of the Control here.
Don Cole