Jabaco Source |
|
1 |
MsgBox sUnicodeMessage |
Jabaco Source |
|
1 |
Command1.Caption = sUnicodeMessage |
Jabaco Source |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
Public Sub Command1_Click() sUnicodeMessage = ChrW( 3626 ) & ChrW( 3623 ) & ChrW( 3633 ) & ChrW( 3626 ) & ChrW( 3604 ) & ChrW( 3637 ) MsgBox sUnicodeMessage Command1.Caption = sUnicodeMessage Dim f As New JFrame(sUnicodeMessage) Dim p As New JPanel() Dim b1 As New JButton("Button 1") Dim b2 As New JButton(sUnicodeMessage) Dim b3 As New JButton("Button 3") p.add(b1) p.add(b2) p.add(b3) f.add(p) f.pack() f.setVisible(True) Dim b4 As New JButton(sUnicodeMessage) b4.setBounds(10,10,100,30) b4.setVisible(True) Form1.add(b4) Form1.Refresh End Sub |
Jabaco Source |
|
1 |
Command1.Parent.setLabel(sUnicodeMessage) |
Jabaco Source |
|
1 2 3 4 5 6 7 |
Public Sub Command1_Click() sUnicodeMessage = ChrW( 3626 ) & ChrW( 3623 ) & ChrW( 3633 ) & ChrW( 3626 ) & ChrW( 3604 ) & ChrW( 3637 ) Command1.Caption = sUnicodeMessage Dim b As New JButton() Command1.Parent.setFont(b.getFont) End Sub |
For that exists this forum. If you have had asked in 2010 there would also more people who could answer. On that time OlimilO and A1880 were still active.When I tested Jabaco back in 2010 I gave up frustrated because of this unicode bug.
Thanks. But since 2010 are some more fixes and changes done on the JabacoFramework.Quoted
Yesterday I gave Jabaco a new chance (because of a non-unicode-Project) and now I just saw that you just corrected the bug! Wow, that's wonderful!!!
Thanks. I will look later at it.Quoted
But I found some things:
- Frame does not offer to set the font in the properties
Hmmm.... there I have to look also for.Quoted
- Picture1.Print("test") is not working at all (either khmer nor english)
Jabaco Source |
|
1 |
Picture1.Print("test", 10, 20) |
Jabaco Source |
|
1 2 3 |
Picture1.CurrentX = 10 Picture1.CurrentY = 20 Picture1.Print "test" |
I will look at it, if you think it would be needed. But VisualBasic haven't it, too. And if antialiasing would be added for Label, then needs the CommandButton, TextBox, etc antaliasing, too. Right? Seems to be a lot of work.Quoted
- Label has no antialiasing
The easiest way, is to use HTML:Quoted
BUT... How to change the font of the msgbox and the inputbox? The msgbox displays thai letters because thai letters are included in the font that is used by the msgbox. But I need to display khmer letters on a msgbox and khmer letters are not integrated in the font. so i need to change the font. but where? If i can't find a solution I have to make my own msgboxes using forms that are displayed vbModal.
Jabaco Source |
|
1 2 |
sUnicodeMessage = ChrW( 3626 ) & ChrW( 3623 ) & ChrW( 3633 ) & ChrW( 3626 ) & ChrW( 3604 ) & ChrW( 3637 ) MsgBox "<html><font size=+2>This</font> <font color=red>is (" & sUnicodeMessage & ")</font> a <font face=Courier>test</a></html>" |
Yes, I am sorry. I really don't understand why I didn't ask back then. Maybe I was thinking: This is a great project with a great future (unendless possibilities because of Java libaries but easy coding as in VB6/VBA). It was in Beta State so I guess I thought I'll wait until it gets out of Beta state. So I continued to use VB6 (fortunatly VB6 worked and works with Win7/Win8 - VB6 never dies). But now I have to write a multi platform tool. So recently I googled for the exciting project with an VB IDE that put out java code... I was a bit sad when I realized that Jabaco is still in beta status. It seems it got stuck because only the framework is open source. Hey, if I would be an millionaire (or Google or Microsoft), I would buy the code from Manuel :-)Quoted
For that exists this forum. If you have had asked in 2010 there would also more people who could answer.
Thanks, that works. But not perfect with Khmer Script. I don't know why but do you see the Khmer signs over the ':' in the screenshot? I guess you can't do anything. No Problem. I think the print-on-picture-featue isn't important.Quoted
Picture1.Print("test", 10, 20)
Quoted
- Label has no antialiasing ... But VisualBasic haven't it, too
Thanks for this hint. It works great as you can see in the screenshot. Only the font of the TextBox inside the InputBox I can't change. For that I have to make my own Inputbox. But that's okay.Quoted
MsgBox "<html><font...
PictureBox supports it! Create a new PictureBox and set in the Properties "AntiAliasing" to "True". (Thats the same like with "Shape").Quoted
- Label has no antialiasing ... But VisualBasic haven't it, too
Well, not only the Label, but also the PictureBox and the Grid doesn't support antialiasing.
Hmm...currently don't know, why the Label is without AA.Quoted
All the other objects does. For the Label I can use a borderless Frame instead.
This post has been edited 2 times, last edit by "theuserbl" (Mar 21st 2014, 3:10am)
Beginner
Date of registration: Feb 27th 2014
Location: Supanburi ,Thailand
Occupation: Agric Chemical Seller
Hobbies: learning programming and English
Hi jbExplorer,
I always read everyday,but I 'm busy myself. In the post#27,we can create own msgbox instead of Jabaco's.
Hi jbExplorer,
I always read everyday,but I 'm busy myself. In the post#27,we can create own msgbox instead of Jabaco's.
Fixed.- Picture1.Print("test") is not working at all (either khmer nor english)
Jabaco Source |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Dim count As Integer = 0 Public Sub Form_Load() Picture1.Print("Hello") End Sub Public Sub Command1_Click() count = count + 1 Picture1.Print("count: " & count) End Sub Public Sub Command2_Click() Picture1.cls End Sub |
Fixed.- Label has no antialiasing
Jabaco Source |
|
1 2 3 4 5 |
Public Sub Form_Load() For i = 1 To 10 Print i Next i End Sub |