You are not logged in.

Search results

Search results 101-120 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.

Thursday, October 17th 2013, 7:59am

Author: Dani

JBGrid - Update

Hey there theuserbl, nice investigation, thanks! I tried invoking MultiLines with some elder versions of the framework but it did not work. I wonder if it did for Manuel!? I will look at the source again later. Maybe I am missing the correct 'keywords' to invoke linebreaks. You got a lot of information on this one but I think it is all much to involved. I found something very prmissing though. It could be inspiring: http://blog.botunge.dk/post/2009/10/09/J…l-renderer.aspx Jabaco Source 1 2 3 4 5...

Wednesday, October 16th 2013, 6:45pm

Author: Dani

JBGrid - Update

@ theuserbl There is something else I am curious about... In the JBHeaderRenderer we have a Call Jabaco Source 1 Call Base.setUI(New VBA#MultiLineLabelUI) But I never got a multiline text there except for when I use html code <br> !! It would be a nice feature to get that to work for the header and the JBGrid cells. (Automatischezeilenhöhenanpassungundumbrechungdestextes) To be honest, I did not even look at MultiLineLabelUI Standard JLabel has no linebreak ability! Since it is in the VBA tree o...

Wednesday, October 16th 2013, 7:57am

Author: Dani

JBGrid - Update

Hey there theuserbl, I am dealing with financial programms so I need back- and forecolors on selected rows to represent certain values. Funny I have been playing around with that too! Also I wanted to get the sortindicator a lighter shade of the gridcolor. Just a different approach in the paint method: Jabaco Source 1 2 3 4 5 6 7 8 Dim cRed As Integer = myGrid.Parent.getTableHeader.getForeground().getRed() Dim cGreen As Integer = myGrid.Parent.getTableHeader.getForeground().getGreen() Dim cBlue ...

Tuesday, October 15th 2013, 9:03pm

Author: Dani

ComboBox/ListBox - Update

...got to go for today ... back tomorrow!? Dani

Tuesday, October 15th 2013, 8:54pm

Author: Dani

ComboBox/ListBox - Update

...[derived class] Yes, but if we have it within ListBox only, we would have to make it accessible from each control anyway so we can have different colorsettings for every control. Or how would you do that? Isn't it just another property like Font or ForeColor? Dani

Tuesday, October 15th 2013, 8:29pm

Author: Dani

ComboBox/ListBox - Update

Hm, did you read my post further up http://www.jabaco.org/board/p3786-combob…e.html#post3786 I don't see a problem with the CheckBox or do you mean the ComboBox? I did add 'BackColorAlternating' there but I tested many usecases! If you do modify FileListBox please don't forget Jabaco Source 1 2 3 Option Explicit 'and Dim i as Integer within the code Dani

Tuesday, October 15th 2013, 8:02pm

Author: Dani

ComboBox/ListBox - Update

Yeah, I know I thought of that too! And maybe also a RowHeader and a HeaderMatrix. While I was implementing the BackColorAlternating I found that everything coul be done within each Renderer but I decided to stick with what Manuel provided. So I just extended wich sometimes tends to bloat a bit!! But as you said, it is quite some work to start from scratch. I believe the solution right now is quick and clean enough. The renderer calls some properties but that's fine. Except for the xml part it s...

Tuesday, October 15th 2013, 7:20pm

Author: Dani

Using a final variable in Jabaco

Hey there, Jabaco.jar rev. 117, 2013/10/15 You are using a State.class in a .zip, not the source you provided in the Ste.zip right? Dani

Tuesday, October 15th 2013, 6:23pm

Author: Dani

ComboBox/ListBox - Update

The xml changes are needed! Because from my point of view this is rather a Jabaco IDE Problem than an framework issue. There are only a few hardcoded values in the framework except for constants or some special cases not too important for the Jabaco user. It probably is a question of design! We should keep them in one place and in the xml file they are easier to accessand most values are stored there anyway. You where right in uploading a new Jabaco.xml. I think when we introduce new Properties ...

Tuesday, October 15th 2013, 6:12pm

Author: Dani

ComboBox/ListBox - Update

I would rather change FileListBox: Jabaco Source 1 2 3 4 5 Public Sub Class_Initialize() myDirectory = CurDir Base.BackColorAlternating = Base.BackColor ' <=== this is the new line Update_Filename_List() End Sub We could add Property BackColorAlternating to FileListBox too!? Quoted Possibly the same could be done with CheckBox and JBGrid. Does the CheckBox in the VBGrid not work right? It does for me!! Dani

Tuesday, October 15th 2013, 5:54pm

Author: Dani

ComboBox/ListBox - Update

Hey there, Jabaco Source 1 2 3 4 5 6 7 8 9 Public Property Get BackColor() As Long BackColor = ColortoRGB(Parent.getBackground()) End Property ... Public Property Let ForeColor(v As Long) Parent.setForeground(RGBtoColor(v)) End Property these two are fine, they return / set what they are supposed to. BackColor is the return of Property BackColor (), no variable needed and that's how it is done in most of the Jabaco controls! I was just wondering about the additional lines starting with " Call......

Tuesday, October 15th 2013, 3:37pm

Author: Dani

ComboBox/ListBox - Update

Hey there theuserbl, thanks and sorry, I had to change it little more. Essentially it is the same as your fix something else: do you know why in the ListBox code we have Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 Public Property Get BackColor() As Long BackColor = ColortoRGB(Parent.getBackground()) Call Base.setBackground(Parent.getBackground()) End Property 'and... Public Property Let ForeColor(v As Long) Parent.setForeground(RGBtoColor(v)) Call Base.setForeground(Parent.getForeground()) End Propert...

Tuesday, October 15th 2013, 10:57am

Author: Dani

ComboBox/ListBox - Update

I found a little bug: The JBGrid ComboList BackColor is messed up since ComboBox has its own BackColorAlternating Value now! I will upload a patch to the framework soon. Sorry about that... Just let me make sure everything else works fine for now!! Thanks, Dani PS: You might want to stay with rev. 115

Monday, October 14th 2013, 4:27pm

Author: Dani

ComboBox/ListBox - Update

Quoted Possible we could add those links to the wiki: http://www.jabaco.org/wiki/Main_Page (Login-name and Password is the same like for this forum). Aha, I didn't even know we could edit anything there! Hm, would Manuel let us post links to Jabaco.jars there? In the forum it is up to us. But in the Wiki he might feel that he has to vouch for what we are doing with the framework. Also I believe those links are easier to be found over here. I don't know?? But I might actually write to the Wiki ....

Monday, October 14th 2013, 3:56pm

Author: Dani

ComboBox/ListBox - Update

Thanks a lot theuserbl ! Quoted It is no longer possible to write in this section. Oh, OK I didn't know abaout that... Anyway, I will start a thread somewhere else and allways add new versions to it. I will take your links if you don't mind. That way we will have every release in one place and people can refer to this thread. By the way, we got lucky Jabaco.org is still up... Dani

Monday, October 14th 2013, 10:21am

Author: Dani

ComboBox/ListBox - Update

@ theuserbl Suggestion: Why don't you start a single thread under History & News where you can allways post the latest framework .jar !? That way everybody can save a link to that post and easily find updates. What do think? Dani

Monday, October 14th 2013, 10:10am

Author: Dani

ComboBox/ListBox - Update

these would be the according sections for the Jabaco.xml to set the default values at startup: Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 <Object Type="List"> <Param Name="BorderStyle" Value="fmBorderStyleSingle"/> <Param Name="CanGetFocus" Value="True"/> <Param Name="BackColor" Value="-2147483643"/> <Param Name="BackColorAlternating" Value="-2147483643"/> <Param Name="ForeColor" Value="-2147483640"/> <Param Name="BackColorSel" Value="-2147483...

Monday, October 14th 2013, 10:04am

Author: Dani

ComboBox/ListBox - Update

Hey there, since I was at it and it was only a couple lines of code, I added .BackColorAlternating to the ComboBox and ListBox index.php?page=Attachment&attachmentID=367 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 25 26 27 Public Sub Form_Load() ComboBox1.BackColorAlternating = RGB(240, 240, 240) ComboBox1.ListData(0) = "ListDataArray(0)" ComboBox1.AddItem "Test1" ComboBox1.AddItem "Test2" ComboBox1.AddItem New ListCellData("Test3", resources.RssPng, False) Combo...

Saturday, October 12th 2013, 4:30pm

Author: Dani

JBGrid - Update

Framework rev. 114 - I hope theuserbl will take care of providing the .jar Hey there, I have added a couple of features to the JBGrid: index.php?page=Attachment&attachmentID=366 JBGrid1.ClearData() reinitializes the grids' DataMatrix and Header. All other values and settings are kept. This makes it easier and faster to populate an existing JBGrid when your data updates or the underlying datasource changes a lot. You don't have to overwrite all existing fields of the DataMatrix anymore. JBGrid1.A...

Thursday, September 12th 2013, 2:18pm

Author: Dani

App.Path

Quoted If I for instance use the App.Path command in a program, and place that program on a flash drive, or any other drive, shouldn't it yield the path to the folder of the operating program? Strange ... thats exactly what it does for me now! Jabaco Source 1 2 3 Public Sub Form_Load() Text1.AppendText App.Path End Sub Are you sure you updated your Jabaco.jar correctly? Dani

WoltLab Burning Board