[Gambas-user] Issue 119 in gambas: Event declaration
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 119 by linuxaht...@gmail.com: Event declaration http://code.google.com/p/gambas/issues/detail?id=119 1) Error compiler at Event declaration: PUBLIC bResult AS Boolean 'Controlara la recepcion de STOP EVENT EVENT beforeUpdate(currentRec AS Variant) AS Boolean EVENT afterUpdate(currentRec AS Variant) The Event beforeUpdate show error compiler, afterUpdate no error. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [System] OperatingSystem=Linux KernelRelease=2.6.32-33-generic Architecture=i686 Memory=476036 kB DistributionVendor=Ubuntu DistributionRelease=Ubuntu 10.04.3 LTS Desktop=Gnome [Gambas 2] Version=2.20.2 Path=/usr/local/bin/gbx2 [Gambas 3] Version=2.99.4 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.2 GTK+=libgtk-x11-2.0.so.0.2000.1 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 119 in gambas: Event declaration
Comment #1 on issue 119 by linuxaht...@gmail.com: Event declaration http://code.google.com/p/gambas/issues/detail?id=119 This error only occurs in GB 2.99.4 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 117 in gambas: Clean Up deletes library files
Updates: Status: WontFix Comment #3 on issue 117 by benoit.m...@gmail.com: Clean Up deletes library files http://code.google.com/p/gambas/issues/detail?id=117 See my comment on issue 107... -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 117 in gambas: Clean Up deletes library files
Comment #4 on issue 117 by benoit.m...@gmail.com: Clean Up deletes library files http://code.google.com/p/gambas/issues/detail?id=117 When I have projects that share some libraries, I create a directory somewhere, and I put all the executables there. Not in any project directory. The project executable put in the project directory is an exception in that case. Use it only when the project does not need any library. If you are a cool guy, you will create a summary of the all discussion on the gambas wiki. :-) -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 118 in gambas: Project saving directory recursion
Updates: Status: Accepted Labels: -Version Version-Any Comment #1 on issue 118 by benoit.m...@gmail.com: Project saving directory recursion http://code.google.com/p/gambas/issues/detail?id=118 (No comment was entered for this change.) -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] DataControl and multi-line text
hi, we had a problem regarding DataControl. someone wanted to display multi-line text from a database using controls from gb.db.form (for simplicity). but DataControl is only a single-line textbox, no worwrap no multiple lines. i just want to ask if this is already considered a problem and if there will be something like a DataControl based on TextArea. i think, it would be more useful to have a basic DataControl, just to associate the object with a field from DataSource's table, and have a control associated to this DataControl to display the value with an event to fill it, like this: DataControl.Control = TextArea1 Public Sub DataControl_SetValue(vValue As Variant) 'called whenever the datacontrol has to change its contents Last.Control.Text = CStr(vValue) End or another property (in DataControl) for the property of the control to insert the value into, like: DataControl.Control = TextArea1 DataControl.ControlProperty = Text whenever the contents of the datacontrol have to be changed this may be done internally: Object.SetProperty(Me.Control, Me.ControlProperty, Value) just an idea while writing this, haven't thought deeply. this would mean more code for the programmer but also more control. it would be possible this way to build a spinbox or something into a datacontrol: DataControl.Control = SpinBox1 DataControl.ControlProperty = Value regards, tobi -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Question to View
Hello everybody, at the moment I have a bad internet access, so I can't look as I would like to, and not on the Linux-machine, so I can not send any projects and so on. I have a table in MySQL, (or later more), which I would like to put in a view. Which would be the best method to make this, and which view should be used? Tableview, Gridview, there are some candidats. I usually open a DB with a Connection, and use sql-statements to get and write table-data. Somewhere in my mind... Gambas 3 should support this per defintion, but I can not find it. I would be grateful for any advice. Regards, Dag-Jarle -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Question to View
hi, I have a table in MySQL, (or later more), which I would like to put in a view. Which would be the best method to make this, and which view should be used? Tableview, Gridview, there are some candidats. I usually open a DB with a Connection, and use sql-statements to get and write table-data. Somewhere in my mind... Gambas 3 should support this per defintion, but I can not find it. i would have used classes from gb.db.form. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Database manager - gambas2 vs gambas3 - questions
On Tue, 2011-09-27 at 12:37 +0930, Bruce Bruen wrote: 1) In gambas2, I could get the database manager to Make gambas code which was very handy, I can't find this feature in gambas3. Is it removed? More exactly, I had never enough time to make it again. And as I don't use it... Maybe for Gambas 3.1 ? 2) In the gambas2 database manager I can expand the height of a row in the data view, I can't seem to do this in the gambas3 version. Is this intentional? Yes, because I had a problem with automatic row height resizing and performances. But I'm not 100% sure than preventing rows to be resized is related to that. But normally, if the current selected row should automatically fits its contents. 3) In the gambas3 version there is a button Copy field list, this does not appear to do anything (that I can see). What is it's purpose? regards It copied the list of fields into the clipboard. 4) In gambas 3, I can only have one table or a single sql pane open at a time. I gambas2, I could have lots. I agree, the Gambas 3 database manager may not be as practical as the Gambas 2 one in some places. I plan (later) to allow to save sql requests and they will appear inside the the table list. Or something like that. So that we can deal with many SQL requests at the same time easily. Regards, -- Benoît Minisini -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Question to View
Thank you Tobias, I will take a look at that, but as I said, it is rather hard to get to info at the moment - have to borrow a PC for internet, I am still on shopping and installing my PC after changing my location. Regards, Dag-Jarle 2011/10/1 tobias tobiasb...@web.de hi, I have a table in MySQL, (or later more), which I would like to put in a view. Which would be the best method to make this, and which view should be used? Tableview, Gridview, there are some candidats. I usually open a DB with a Connection, and use sql-statements to get and write table-data. Somewhere in my mind... Gambas 3 should support this per defintion, but I can not find it. i would have used classes from gb.db.form. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Database manager - gambas2 vs gambas3 - questions
On Sat, 2011-10-01 at 23:58 +0200, Benoît Minisini wrote: On Tue, 2011-09-27 at 12:37 +0930, Bruce Bruen wrote: 1) In gambas2, I could get the database manager to Make gambas code which was very handy, I can't find this feature in gambas3. Is it removed? More exactly, I had never enough time to make it again. And as I don't use it... Maybe for Gambas 3.1 ? OK, I'll wait. 2) In the gambas2 database manager I can expand the height of a row in the data view, I can't seem to do this in the gambas3 version. Is this intentional? Yes, because I had a problem with automatic row height resizing and performances. But I'm not 100% sure than preventing rows to be resized is related to that. But normally, if the current selected row should automatically fits its contents. That works sometimes. Other times I get the problem in the attached picture. 3) In the gambas3 version there is a button Copy field list, this does not appear to do anything (that I can see). What is it's purpose? regards It copied the list of fields into the clipboard. Hmm. Nothing gets put in the clipboard. May be a LXDE thing. I'll investigate further. 4) In gambas 3, I can only have one table or a single sql pane open at a time. I gambas2, I could have lots. I agree, the Gambas 3 database manager may not be as practical as the Gambas 2 one in some places. I plan (later) to allow to save sql requests and they will appear inside the the table list. Or something like that. So that we can deal with many SQL requests at the same time easily. OK, but I have more a need to browse related table data. No big problem for postgres with pgadmin3, but the gambas2 database manager was more handy than the mysql and sqlite utilities. Bruce attachment: Selection_029.png-- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 117
Hi Benoit, Yep, I was already thinking of writing up this stuff. It is a fairly big topic though! I have only begun to organise my thoughts and make notes. The attached mind map gives some idea. I think the problem I am having is that this machine acts as a production server, up to 5 other people can be attached (some remotely) using these applications. So I have to be careful to preserve the /usr/bin and other data directories while still maintaining and developing the apps. (Yes, I know that I should have a separate prod server, but money doesn't stretch that far at the moment.) One thing that is hindering me though is that I am now unsure what I can legally put inside a gambas3 project directory. In gambas2 I could put lots of stuff related to the project inside the project and it handled it without the problems I now seem to be hitting. This included stuff like source archives, documentation files, snapshot copies of classes (grrr!) etc. Sometime ago you wrote in a mail something about what gets included in a project build and what gets ignored. I cant find that mail. Would you explain the proper usage of the project directory for me. regards Bruce In Gambas 3, there is a directory named .hidden in the project directory. Only there you can put what you want. The contents of '.hidden' directory will not be included in the executable. In the other places, you should use the IDE. Or you must use the IDE if you don't know what you are doing. I will write a documentation about the gambas 3 project directory on the wiki. Regards, -- Benoît Minisini -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] gb3: unable to compile on Debian Wheezy (testing)
I'd previously posted a message about having problems compiling and didn't get a response, but someone subsequently ran into the same (I think) problem which I believe they resolved. I'm getting the error: /bin/sed: can't read /usr/lib/libfreetype.la: No such file or directory libtool: link: `/usr/lib/libfreetype.la' is not a valid libtool archive make[4]: *** [gb.sdl.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 The solution had something to do with symlinking a file somewhere. Was an elegant solution ever devised to get it to compile properly? I can't remember whatever my brutal hack was to fix it (I reinstalled Debian recently). -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user