Search results
Search results 41-60 of 325.
Dear visitor, welcome to Jabaco - Community.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Hey there, I like the dropdown button. I am not sure if we realy got a Date problem here though. To me it looks like it is a problem with the MouseListener! In MonthCalendar: Jabaco Source 1 2 '########################### MouseListener Public Sub mousePressed(arg2 As MouseEvent) ...gets triggered twice. So we got a recursion here. The day lables get drawn twice and therefore all values change!! My guess is that the Calendar Usercontrolls' MouseListener interferes with the Jabaco Frameworks' User...
Hey there, search the forum for 'database': http://www.jabaco.org/board/905-database…e.html#post3663 Download the sample code, have a look at Private Sub grdMain_init() Everything that's German is only the tablenames and fields!! Dani
by the way... I can highly recommend the H2 database engine. Very slim and fast! Here is a sample app: http://www.jabaco.org/board/905-database…e.html#post3663 Dani
Hey there, have a look here: http://www.jabaco.org/board/109-sqlite-3…rt.html#post448 Dani
Hey there, Jabaco Framework Quoted Log message HeaderAlign() for the JBGrid columns and small fixes The JBGrid now has a HeaderAlign() Property Jabaco Source 1 2 3 JBGrid1.HeaderAlign(0) = fmTextAlignLeft JBGrid1.HeaderAlign(1) = fmTextAlignCenter JBGrid1.HeaderAlign(2) = fmTextAlignRight index.php?page=Attachment&attachmentID=410 The default value still is fmTextAlignLeft, so you do not have to set this value. The FrameworkTest project, part of the Framework (link below) demonstrates the usage ...
Hey there, I have updated the framework a litle (more): Quoted Log message enable graphics methods on FormLoad() for all Form Objects and Dialog when AutoRedraw = True Dani
Hey there, I have just committed some Updates to the Jabaco Framework: https://code.google.com/p/jabacoframewor…ce/detail?r=141 Quoted Log message - fixed FocusEvents for AbstractForm, Dialog, MDIForm, MDIChild - fixed Anchor Error MDIForm - introduced Collection for MDIChild FormGotFocus() and FormLostFocus() now works for Form, Dialog, MdiForm and MDIChild! MDIChild now also has a Collection object. MDIChilds' superclass is a javax/swing/JInternalFrame and for some reason does not reflect the ...
Hey there, please start using the codeformatting ability, <JBC> button, of this board. It makes reading you posts a lot easier. Do not process anything concerning the menu in any Form object other than the MDIForm1! A rough outline: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Public Sub addChildMenu(MDIChildIndex As Integer) 'Remove the current menubar Me.MenuBar.Parent.removeAll() Select Case MDIChildIndex Case 1 Dim myFileMenu As VBMenuGroup myFileMenu = Me.MenuBar.createMenuGro...
No problem... Hey, if you play around with this please share your solution in this forum!
Hey there, you might want to look at this side hosted by theuserbl: https://code.google.com/p/jbaindi/downloads/list He has written a couple of programs dealing with developing Jabaco code! I am not sure about the different files there so just checkt them out... Dani
Quoted This does nothing because the SetLabel() is a function that returns a value. But the code doesn't tell it where to put that value you are right, I took that from your post of course that does not work! Look at the Form1 code I posted further up... Quoted So, now this works with the change you suggested. You mentioned you don't know the effects. Do you think this may cause issues for me? That is exactly why I mentioned it, because I do not know! Dani
well, you are not doing what I proposed! ADD THIS TO YOUR MODULE1: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 'Public Form1 As New Form1 Public Sub main(ByJava args() As String) Dim Form1 As New Form1 Dim myArgs() As String myArgs = args Form1.SetDefaultClose() Form1.Show() End Sub Public Function SetLabel() As String Dim fh As VBFileHandler Set fh = FileSystem.Open("c:\test.txt") SetLabel = fh.readAll() fh.close End Function notice the difference to your code?? AND THIS TO YOUR FORM1:...
I almost forgot: Before initializing a Child's menu call: Jabaco Source 1 Me.MenuBar.Parent.removeAll() to unload the previous menu!! Dani
Hey there, hmm, I don't think that is a legit approach! Quoted An application can have only one MDIForm object but many MDI child forms. If an MDI child form has menus, the child form's menu bar automatically replaces the MDIForm object's menu bar when the MDI child form is active... source: http://msdn.microsoft.com/en-us/library/…6(v=vs.60).aspx The MDIForm holds the MDIFormChildren's Menus. So whenever a MDIFormChild gets the focus you have to initialize the according Menu. Have a look here: ...
Hey there, Quoted In your second suggestion I don't see where you suggest I call Setlabel() from. ... well, go ahead and use the code I provided for Module1. And in your Form1 use this: Jabaco Source 1 2 3 Public Sub Form_Load() Label1.Caption = SetLabel() End Sub that is what you wanted right? Quoted This is exactly what I'm trying to do ... And that is exacly what this solution is doing on my system! Running this code on my system displays Form1 with Label1.Caption populated from test.txt. Dan...
... using your Public Function in Module1: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 'Public Form1 As New Form1 Public Sub main(ByJava args() As String) Dim Form1 As New Form1 Dim myArgs() As String myArgs = args Form1.SetDefaultClose() Form1.Show() End Sub Public Function SetLabel() As String Dim fh As VBFileHandler Set fh = FileSystem.Open("c:\test.txt") SetLabel = fh.readAll() fh.close End Function ... I don't know about possible side effects though! Dani
Hey there, Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 Option Explicit Public Sub Form_Load() Label1.Caption = SetLabel() End Sub Public Function SetLabel() As String Dim fh As VBFileHandler Set fh = FileSystem.Open("c:\test.txt") SetLabel = fh.readAll() fh.close End Function Dani
Just try the latest framework I think you should be fine then...
Hey there, great demonstration... You can find the latest framework revision here: http://www.jabaco.org/wiki/Latest_JabacoFramework_Binary please extract the Jabaco.jar to your jabaco path. But I don't think anything changed concerning the JBGrid since version 127. OK, so the grid is loosing our predefined width for column3 after opening and closing a combobox in column1 and then clicking on another cell in column1 ! Try playing around with JBGrid1.AutoResize values. Define them in code in the ...
Hey there, I have just downloaded my own sample code and played around with it as you proposed. But I can not relate to what you observed! The JBGrid behaves as expected on my systems (Win 7/8, Mac OS)! What OS are you on? What framework version are you using? Are you running my sample as is or did you change any properties of the grid? Sorry, but since I can not provoke this false behaviour it is hard for me to be of any help! Dani