Re: [Gambas-user] gambas newbie question re custom events

2013-07-18 Thread Bruce
Here's a simple (albeit silly) demo of how to use the Observer class. hth Bruce demo_events-0.0.1.tar.gz Description: application/compressed-tar -- See everything from the browser to the database with AppDynamics Ge

Re: [Gambas-user] Gambas 3.4.2 hanging on startup (Ubuntu 12.10 with Cinnamon desktop)

2013-07-29 Thread Bruce
> #25 0x080526a0 in ?? () > > > #26 0x0806c94e in ?? () > > > #27 0x08055eb6 in ?? () > > > #28 0xb737f936 in ?? () from /usr/lib/gambas3/gb.qt4.so > > > #29 0x08051c69 in ?? () > > > #30 0x0807c63b in ?? () > > > #31 0x08050f43 in ?? () >

[Gambas-user] Another Best Approach Question: Statistics over an array of objects

2013-08-07 Thread Bruce
braries like that. So, just looking for a "good idea". regards Bruce -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down

Re: [Gambas-user] Another Best Approach Question: Statistics over an array of objects

2013-08-07 Thread Bruce
On Wed, 2013-08-07 at 15:58 +0200, Tobias Boege wrote: > On Wed, 07 Aug 2013, Bruce wrote: > > I'm looking for good ideas again I'm afraid. > > > > > > I have an array of objects that can be best described as a set of > > categories with an asso

Re: [Gambas-user] Another Best Approach Question: Statistics over an array of objects

2013-08-07 Thread Bruce
On Wed, 2013-08-07 at 23:56 +0930, Bruce wrote: > On Wed, 2013-08-07 at 15:58 +0200, Tobias Boege wrote: > > On Wed, 07 Aug 2013, Bruce wrote: > > > I'm looking for good ideas again I'm afraid. > > > > > > > > > I have an array of objects

[Gambas-user] Killing an arbitrary process

2013-08-08 Thread Bruce
andle. When the program is closed the gnuplot process remains, so I want to kill it. So, how can I kill an arbitrary process? Better still, is there a way to get information on an arbitrary process so that I can check it is a child of $sop and if so kill it? tia

Re: [Gambas-user] Another Best Approach Question: Statistics over an array of objects

2013-08-10 Thread Bruce
hAnalysis > > End > > Return aResult > > would be the correct Return statement here. > Thanks Tobi, The Object.GetProperty was the clue I needed! regards Bruce -- Get 100% visibility into J

Re: [Gambas-user] Microsoft Access database

2013-08-13 Thread Bruce
hin their constraints. In short, scalabilty was a pipe dream. c) there was/is a community called databaseadvisors(.com) who were a great deal of help. Looking at your problem from a distance, using a proper rdms is in the long term a better road. ymmd. best of luck Bruce

Re: [Gambas-user] strange behaviour from commandline - empty mail attachments

2013-08-15 Thread Bruce
tories, I presume you are using temporary files somewhere. Don't forget that the cron daemon is running in a completely different environment to your User environment. hth Bruce -- Get 100% visibility into Java/.NET

[Gambas-user] Get versions of libraries and components at runtime?

2013-08-25 Thread Bruce
Short of including debug lines in each and every library, is there some way to detect and print the versions of libraries and components loaded by a Gambas application at runtime? tia Bruce -- Introducing Performance

[Gambas-user] Inline help for structs?

2013-08-25 Thread Bruce
(Just a quicky to confirm that I'm not doing something wrong.) Structs appear in the IDE help but it does not appear possible to include inline help comments for them in the code. Is this true? tia Bruce -- Introd

[Gambas-user] hConnection = New Connection ( [ DatabaseURL As String ] )

2013-08-25 Thread Bruce
other path strings to the connection definition). All I get is "Malformed URL" error. ? tia Bruce -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your s

Re: [Gambas-user] hConnection = New Connection ( [ DatabaseURL As String ] ) Clarification

2013-08-28 Thread Bruce
First off, thanks everyone for your answers - all are correct. My original question was purely about the syntax of the Connection constructor, specifically about the optional DatabaseURL parameter. Clarification 1: According to the help there are three ways to initialise a connection: a) by direc

Re: [Gambas-user] SQL query for DB.Exec() question

2013-08-28 Thread Bruce
; > > > 'IC.Actual IC' > > > They all give back syntax errors from MySql > > > > > > Any suggestions welcome > > > > > > > Out of pure intuition I would leave the single quotes out in the string you > > give to Exec(), i

Re: [Gambas-user] SQL query for DB.Exec() question

2013-08-28 Thread Bruce
On Thu, 2013-08-29 at 01:56 +0200, Willy Raets wrote: > On Thu, 2013-08-29 at 09:17 +0930, Bruce wrote: > > On Thu, 2013-08-29 at 01:25 +0200, Willy Raets wrote: > > > On Wed, 2013-08-28 at 22:28 +0200, Tobias Boege wrote: > > > > On Wed, 28 Aug 2013, Willy Ra

Re: [Gambas-user] hConnection = New Connection ( [ DatabaseURL As String ] ) Clarification

2013-08-28 Thread Bruce
On Wed, 2013-08-28 at 13:47 +0200, Tobias Boege wrote: > On Wed, 28 Aug 2013, Bruce wrote: > > First off, thanks everyone for your answers - all are correct. > > > > My original question was purely about the syntax of the Connection > > constructor, specifically abo

Re: [Gambas-user] A Check MarK?

2013-09-02 Thread Bruce
rojects a check mark appeared next to the line > > numbers > > as in the attachment. Just one. It moves about. > > > > I've searched but cannot find anything about it. > > > > Is it an undocumented feat

Re: [Gambas-user] Knowing which Module called a function in other Module

2013-09-03 Thread Bruce
#x27;t System.Backtrace[1] provide exactly that? But, note that the project will need to be compiled with "Keep debugging information" option set. hth Bruce -- Learn the latest--Visual Studio 2012,

Re: [Gambas-user] MySQL connection gone away, how to re-establish?

2013-09-05 Thread Bruce
might help to search the forum archives. (Sorry I can't be more specific - I avoid MySQL like the plague!) Bruce -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to ma

Re: [Gambas-user] gb.Chart capabilities

2013-09-26 Thread Bruce
s a single graphical output from the underlying engine. On that would be one or more plots that depict a certain set of data. Certainly, "graph" has a particular mathematical meaning (nodes and edges) that could have conflicts as abstract data types. I agree with Tobi that it would be better

[Gambas-user] What type of control is it?

2013-09-29 Thread Bruce
Arrrgghhh! I've done this a zillion times before but today I can't find an example. How do I get the type of the Application.CurrentControl control? It's not TypeOf() as that returns gb.Object I need to know if it has a text or value so I can copy it to the clipbo

Re: [Gambas-user] What type of control is it?

2013-09-30 Thread Bruce
On Mon, 2013-09-30 at 09:26 +0200, Tobias Boege wrote: > On Mon, 30 Sep 2013, Bruce wrote: > > Arrrgghhh! I've done this a zillion times before but today I can't > > find an example. > > > > > > How do I get the type of the Application.CurrentCon

Re: [Gambas-user] [slightly OT] No Problem with Gambas or MySql!

2013-10-05 Thread Bruce
Cherry Zontop was a technical nightmare that essentially required offloading and reloading multiple sets of rows from multiple tables*. Under postgresql it is the execution of one SQL command: UPDATE horse SET name='Cherry Zontop', namechanged=TRUE, oldname='Lemon Liniment'

[Gambas-user] A minor thing re IDE "System informations..."

2013-10-05 Thread Bruce
ystem Libraries], or something like that, to avoid confusion with gambas libraries? Bruce -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for M

Re: [Gambas-user] [slightly OT] No Problem with Gambas or MySql!

2013-10-06 Thread Bruce
On Sun, 2013-10-06 at 11:55 +0200, Charlie Reinl wrote: > > Salut Bruce, > > how do you look back to 'Lemon Liniment' history ? > > Once the name change occurs we have no reason to look for 'Lemon Liniment' history, it's all under the 'Cherry Z

[Gambas-user] No Spacing property in splitter controls

2013-10-10 Thread Bruce
with a margin? Seems a bit of an overkill. Bruce -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more

[Gambas-user] Is there a way to contrain a picturebox stretch to the original aspect?

2013-10-10 Thread Bruce
I have a picturebox within a vsplit which is in turn inside a hsplit. The gist of what I need is to control the stretch so that the original aspect ratio of the picture is maintained no matter which splitter they expand/reduce. tia Bruce

Re: [Gambas-user] Is there a way to contrain a picturebox stretch to the original aspect?

2013-10-11 Thread Bruce
On Fri, 2013-10-11 at 11:29 +0200, Tobias Boege wrote: > On Fri, 11 Oct 2013, Bruce wrote: > > I have a picturebox within a vsplit which is in turn inside a hsplit. > > > > The gist of what I need is to control the stretch so that the original > > aspect ratio of t

[Gambas-user] AARRRGH - dates dont get read from the database anymore

2013-10-11 Thread Bruce
Rev 5871 did something nasty to database fields that are dates (well for postgresql at least). Any date field is returned from any query (included using the connection manager) as a null. Reverting to 5870 to check if it happens there. Bruce (On our busiest day of the week!!! Aaaarr

Re: [Gambas-user] AARRRGH - dates dont get read from the database anymore

2013-10-11 Thread Bruce
On Sat, 2013-10-12 at 12:51 +1030, Bruce wrote: > Rev 5871 did something nasty to database fields that are dates (well for > postgresql at least). > > Any date field is returned from any query (included using the connection > manager) as a null. > > Reverting to 5870 to chec

Re: [Gambas-user] AARRRGH - dates dont get read from the database anymore

2013-10-12 Thread Bruce
On Sat, 2013-10-12 at 09:11 +0200, Benoît Minisini wrote: > Le 12/10/2013 04:45, Bruce a écrit : > > On Sat, 2013-10-12 at 12:51 +1030, Bruce wrote: > >> Rev 5871 did something nasty to database fields that are dates (well for > >> postgresql at least). > >>

[Gambas-user] gb.xml "unSerialize"

2013-10-19 Thread Bruce
What is the opposite of XMLElement.Serialize(text as String)? ( I want my SQL text back as "... WHERE rdate http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https:/

Re: [Gambas-user] gb.xml "unSerialize"

2013-10-19 Thread Bruce
ustralian is the definitive interpretation of the English language) that it depends on the explicit usage. "The content of this box is dangerous" refers to the entire c

Re: [Gambas-user] Editor - How to

2013-10-21 Thread Bruce
> > [Quicky] [From memory] String2 = " to you" Editor1.richtext= String1 & String2.Bold (but I think you want more than that?) Bruce -- October Webinars: Code for Performance Free Intel webinars c

[Gambas-user] gb.logging component when was it introduced?

2013-10-22 Thread Bruce
rgrds Bruce -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel proce

Re: [Gambas-user] gb.logging component when was it introduced?

2013-10-22 Thread Bruce
his one better. ;) > If not, feel free to commit any features you think are missing. > > > > > Kind regards, > > Caveat > > > > > > On 22/10/13 09:43, Bruce wrote: > > > I just added the help content for the gb.logging component (the > > >

[Gambas-user] New custom control "List Manager"

2013-10-23 Thread Bruce
same thing directly into another project. I must have done this about 20 times! So I finally just sat down and wrote the custom control. Hope you like it. Bruce -- October Webinars: Code for Performance Free Intel webinars ca

[Gambas-user] Conflicting and bewildering help for pipes

2013-10-23 Thread Bruce
(sort of, there are instances of junk getting in there.) but I can't figure out how to catch the output? tia Bruce -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application pe

Re: [Gambas-user] New custom control "List Manager"

2013-10-24 Thread Bruce
On Wed, 2013-10-23 at 20:25 +1030, Bruce wrote: > Hi all, > > I just added a new custom control to the wiki "Additional Components" > page (or you can just go here http://paddys-hill.net/wp/?page_id=174). > > It provides a means for the user to manipulate a list of ob

Re: [Gambas-user] New custom control "List Manager"

2013-10-24 Thread Bruce
On Thu, 2013-10-24 at 13:47 +0200, Charlie Reinl wrote: > Am Donnerstag, den 24.10.2013, 21:41 +1030 schrieb Bruce: > > On Wed, 2013-10-23 at 20:25 +1030, Bruce wrote: > > > Hi all, > > > > > > I just added a new custom control to the wiki "Additional C

Re: [Gambas-user] Adressing a self-made object

2013-10-24 Thread Bruce
ub chkScroll_Click() 'or Change or Whatever Dim x as Control x=Last x.something=buggeriseAroundHere(x.Value) End writing MIGHT .. be handled via the Tag

Re: [Gambas-user] Conflicting and bewildering help for pipes

2013-10-25 Thread Bruce
In fact you have to do this if you want to swap between the external and embedded plots. 4) Either plot responds to gnuplot "mouse" commands. (Put the mouse over the plot and press "h", then look at the console output.) 4a) In particular, using the mouse scroll wheel seems to

[Gambas-user] IconPanel: does this respect the Visible property?

2013-10-26 Thread Bruce
If blahblah then iconpanel1[0].Visible = False Endif doesn't seem to hide that panel? -- Bruce Paddys-Hill dot net -- October Webinars: Code for Performance Free Intel webinars can help you accelerate applic

Re: [Gambas-user] New custom control "List Manager"

2013-10-26 Thread Bruce
On Wed, 2013-10-23 at 12:06 +0200, Tobias Boege wrote: > On Wed, 23 Oct 2013, Bruce wrote: > > Hi all, > > > > I just added a new custom control to the wiki "Additional Components" > > page (or you can just go here http://paddys-hill.net/wp/?page_id=174). >

Re: [Gambas-user] IconPanel: does this respect the Visible property?

2013-10-26 Thread Bruce
On Sat, 2013-10-26 at 15:15 +0200, Benoît Minisini wrote: > Le 26/10/2013 13:06, Bruce a écrit : > > If blahblah then > >iconpanel1[0].Visible = False > > Endif > > > > doesn't seem to hide that panel? > > > > > > Mmm... I guess no. I

Re: [Gambas-user] Gambas self-extracting installer (4)

2013-10-27 Thread Bruce
FCE" Print "Installing - " & Subst("'cd &1; pwd; pkexec make install'", User.Home &/ workdir &/ Replace(File.BaseName(wkitem), ".tar", "")) Shell Subst("'cd &1; pwd; pkexec

[Gambas-user] gb.settings: Detect if a slot exists

2013-10-28 Thread Bruce
ts, so then I could If Settings.Exist["Filter"] then GetFilterSettings Else SetDefaultFilter Endif -- Bruce Paddys-Hill dot net -- Android is increasing in popularity, but the o

Re: [Gambas-user] Conflicting and bewildering help for pipes

2013-10-29 Thread Bruce
ed). This version makes a plot and lets us interact with it. Notes: 1) sending the "show all" command gets us lots of text back from gnuplot and it all appears to be contained within my "Read [" and "] ..done" tags. So it looks as though we are getting (stdout) text ba

Re: [Gambas-user] Conflicting and bewildering help for pipes

2013-10-29 Thread Bruce
On Wed, 2013-10-30 at 00:46 +0100, Benoît Minisini wrote: > Le 30/10/2013 00:00, Benoît Minisini a écrit : > > Le 29/10/2013 23:12, Tobias Boege a écrit : > >> On Fri, 25 Oct 2013, Beno?t Minisini wrote: > >>> Le 24/10/2013 15:08, Tobias Boege a ?crit : > My workaround always was like this: >

Re: [Gambas-user] New custom control "List Manager"

2013-10-30 Thread Bruce
I have added several other utility components to the website. http://paddys-hill.net/wp/gambas/gambas-components/ ‎ -- Bruce Paddys-Hill dot net -- Android is increasing in popularity, but the open development

Re: [Gambas-user] gb.settings: Detect if a slot exists

2013-10-30 Thread Bruce
On Tue, 2013-10-29 at 13:43 +0100, Tobias Boege wrote: > On Tue, 29 Oct 2013, Bruce wrote: > > I have a need to detect if a particular Slot exists in the .config > > file for an application. Just the Slot not whether any value lines exist > > under it. > > > > The

Re: [Gambas-user] gb.settings: Detect if a slot exists

2013-10-30 Thread Bruce
On Tue, 2013-10-29 at 13:38 +0100, Charlie Reinl wrote: > Am Dienstag, den 29.10.2013, 13:57 +1030 schrieb Bruce: > > I have a need to detect if a particular Slot exists in the .config > > file for an application. Just the Slot not whether any value lines exist > > under it. &

Re: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2)

2013-10-31 Thread Bruce
oo hard for me) a) where is gb.image going to live? b) if 'foo' uses one of the UI's directly then I presume you would only get (say) foo-gtk. Does that render the entire package unusable on a KDE environment? c) BTW I'll check again, but I seem to recall that the keyring is still t

Re: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2)

2013-10-31 Thread Bruce
On Fri, 2013-11-01 at 11:41 +1030, Bruce wrote: > On Fri, 2013-11-01 at 01:44 +0100, Benoît Minisini wrote: > > Hi, > > > > In revision #5924, the IDE generates meta-packages for QT4 and GTK+ > > support when a project uses the gb.gui component. There is no dependen

Re: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2)

2013-11-01 Thread Bruce
On Fri, 2013-11-01 at 10:51 +0100, Benoît Minisini wrote: > Le 01/11/2013 02:48, Bruce a écrit : > > On Fri, 2013-11-01 at 11:41 +1030, Bruce wrote: > >> On Fri, 2013-11-01 at 01:44 +0100, Benoît Minisini wrote: > >>> Hi, > >>> > >>> In revis

[Gambas-user] This d**** keyring thing

2013-11-03 Thread Bruce
Totally unrelated to the packaging issue. Does anyone know of a way to remove a key and all its secrets from the dreaded gnome keyring? tia Bruce -- Android is increasing in popularity, but the open development

[Gambas-user] QT4, weird message and segfault

2013-11-03 Thread Bruce
at it means and what to do about it. Any clues? (Rev 5934) tia Bruce -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this

[Gambas-user] final error catch

2013-11-04 Thread Bruce
Some where recently I read about something that could catch errors at the "top level" or something like that. I don't know if it was here or in the help pages or even in the commit logs. Does anyone know what I'm talking about and where I can "ref

Re: [Gambas-user] final error catch

2013-11-04 Thread Bruce
On Mon, 2013-11-04 at 22:36 +1030, Bruce wrote: > Some where recently I read about something that could catch errors at > the "top level" or something like that. I don't know if it was here or > in the help pages or even in the commit logs. > > Does anyone know what

Re: [Gambas-user] Unexecuted Orphan Code or Something?

2013-11-04 Thread Bruce
ot;) &", the " & Format(Date(Year(Now), Month(Now), iTp1), "d") fuFormatSuffix(iTp1) ' "Of" & Format(Date(Year(Now), Month(Now), iTp1), ", ") Paste that in a text editor to see it all exactly. Now do you see why that last line i

[Gambas-user] Using a class as a function

2013-11-05 Thread Bruce
I saw an example of how to do this only yesterday. Do you think I can remember where? No. Any clues? Bruce -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming

Re: [Gambas-user] Using a class as a function

2013-11-05 Thread Bruce
On Tue, 2013-11-05 at 12:34 +0100, Fabien Bodard wrote: > In your class : > > Public sub _Call(value as whatyouwant) as whatyouwant > > End > > With that you can do > > Print Myclass(value) > Le 5 nov. 2013 12:10, "Bruce" a écrit : > > >

Re: [Gambas-user] Unexecuted Orphan Code or Something?

2013-11-05 Thread Bruce
On Tue, 2013-11-05 at 06:34 -0800, 2aq9j93b7s wrote: > thank you for the replies I appreciate them > > Unfortunately you are missing the point of the post! I have an uncommeneted > line of code that is not and cannot be executed > > bruce > "Now do you see why that

[Gambas-user] Segfault when freeing pointer used for Extern

2013-11-05 Thread Bruce
0 r-xp 08:01 1112632/lib/ld-2.16.so b77ed000-b77ee000 r--p 0001d000 08:01 1112632/lib/ld-2.16.so b77ee000-b77ef000 rw-p 0001e000 08:01 1112632/lib/ld-2.16.so bff86000-bffa7000 rw-p 00:00 0 [stack] e000-f000 r-xp 00:00 0 [vdso] tia Bruce

Re: [Gambas-user] Segfault when freeing pointer used for Extern

2013-11-05 Thread Bruce
nction and it works, the problem only happens when the Main() method exits. rgds Bruce -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore tec

Re: [Gambas-user] Segfault when freeing pointer used for Extern

2013-11-05 Thread Bruce
Jussi, I was fairly sure I had it wrong, I just couldn't see why. Unfortunately since my colleague Keith Lawson passed away I have had to cope with this type of "low level" issue myself without an expert on tap. At least give me 2 points of credit for working out that the output param

Re: [Gambas-user] App.Major Version

2013-11-08 Thread Bruce
; > > I was wondering if the equivalent of App.Major (vb6) exists in Gambas? > > > > Example: > > > > ' Visual Basic 6.0 > > > > Label1.Caption = "Version: " & App.Major & "." & App.Minor & "." _ > > > > &

Re: [Gambas-user] App.Major Version

2013-11-08 Thread Bruce
quot;) Print aVersion[0] = 48 keystrokes Print Split(Application.Version, ".")[0] = 25 keystrokes :-) Bruce -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scal

Re: [Gambas-user] Semi-persistent pop-up form?

2013-11-11 Thread Bruce
On Mon, 2013-11-11 at 22:30 +0100, Benoît Minisini wrote: > Le 11/11/2013 21:47, Bruce a écrit : > > Is there some way to make a popup form only close on a specific user > > action? > > > > In the attached picture, I have a popup form displaying some statistical > &

Re: [Gambas-user] How to get codelinenumber

2013-11-30 Thread Bruce
On Sat, 2013-11-30 at 09:46 +0100, u...@gmx.ch wrote: > Dear Fabien > > You're my hero. Thanks! > > The only thing I'm still working on is getting the codelinenumber also > in cases without error. System.BackTrace may help here. But I am tired and emotional so check the help. --

Re: [Gambas-user] Semi-persistent pop-up form?

2013-12-01 Thread Bruce
On Tue, 2013-11-12 at 12:45 -0700, paulwheeler wrote: > Bruce, > > Unfortunately, I have no answer for your question, but wanted to say that > your illustrations are SO COOL! > > If you don't mind my asking, how did you do them? > > paul Hi Paul, Thanks for t

Re: [Gambas-user] gb.xml "unSerialize"

2013-12-01 Thread Bruce
On Sat, 2013-10-19 at 22:29 +0200, Adrien Prokopowicz wrote: > Well, looks like there is a little bug here. I will fix that tomorrow. > > Le Sat, 19 Oct 2013 20:15:57 +0200, Bruce a écrit: > > First, thanks all for the replies. > > > > re: Content v Contents &

Re: [Gambas-user] Semi-persistent pop-up form?

2013-12-01 Thread Bruce
On Tue, 2013-11-12 at 16:12 +0100, Benoît Minisini wrote: > Le 12/11/2013 00:19, Bruce a écrit : > > On Mon, 2013-11-11 at 22:30 +0100, Benoît Minisini wrote: > >> Le 11/11/2013 21:47, Bruce a écrit : > >>> Is there some way to make a popup form only close o

Re: [Gambas-user] gambas documentation offline include in source (gb.web)

2013-12-02 Thread Bruce
On Mon, 2013-12-02 at 18:16 +0100, Tobias Boege wrote: > In a next step, we would write a parser to let the IDE display this > help and Its already there. Local modules inline help is shown even if there is no internet connection. Another idea would be to somehow generate all the structural help fr

Re: [Gambas-user] Selecting a window

2013-12-04 Thread Bruce
ion of each > > dWindow property (i.e. X, Y, Width, Height), one can determine which > > window has been clicked. Is that the best way? But how can one allow for > > the situation where the user has clicked a point which is within 2 > > windows i.e. is there a property of dWi

Re: [Gambas-user] Writing a text file from the contents of a text area

2013-12-14 Thread Bruce
On Sat, 2013-12-14 at 11:53 +, John Rose wrote: > I have a TextArea containing a number of lines. I'm confused by the > multiplicity of variants of the Open command. Can someone direct me to > an example of this? I've already failed to find such an example in the > Gambas online documentatio

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-14 Thread Bruce
On Sun, 2013-12-15 at 11:37 +0530, //SCLPL/ Sudeep Damodar wrote: > Hi All, > > How to make .deb file in gmabas > > Best Regards > > Sudeep @IDE ^Project|Make|Installation Package @Wizard #Follow the instructions until step 3 Select Debian #Follow the instructions or if that is too hard, press

[Gambas-user] Overriding native classess

2013-12-15 Thread Bruce
one know what is going on inside this "native code" at the point of program startup? tia Bruce -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a

Re: [Gambas-user] Overriding native classess

2013-12-15 Thread Bruce
On Mon, 2013-12-16 at 00:49 +0100, Benoît Minisini wrote: > Le 16/12/2013 00:36, Bruce a écrit : > > I've got myself in a real mess with this one. :-( > > > > I have a class in a local ("third-party") component that inherits the > > native Application c

[Gambas-user] gb.db Connections questions

2013-12-15 Thread Bruce
nnections up and down our component/library tree. I have changed our local copy of gb.db but am wondering if there is any hidden issues that could arise that mean that Connections must be readonly. tia Bruce -- Rapidly tro

Re: [Gambas-user] gb.logging API change

2013-12-15 Thread Bruce
(bluh!) and we really need the "debug.log" on the dev/fix side of things. The other thing I would like to see is a way to increase the number of levels of detail once we get down to the "debug" level. This would be on an application basis. cheers Bruce --

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-16 Thread Bruce
On Mon, 2013-12-16 at 09:55 +0100, Caveat wrote: > http://msdn.microsoft.com/en-us/library/030kb3e9%28v=vs.90%29.aspx > > That should get you pointed in the right direction... > > Kind regards, > Caveat > > On 16/12/13 07:57, //SCLPL/ Sudeep Damodar wrote: > > Hi all > > > > How to use Type in g

Re: [Gambas-user] gb.logging API change

2013-12-16 Thread Bruce
matter.GetCallLocation.10: Formatter.GetCallLocation.10 Formatter._call.45 Logger.Log.87 Logger._call.95 Application._init.57 i.e. I think you should be using System.Backtrace[4] instead of [3] hth Bruce --

[Gambas-user] Creating a gb3 executable

2013-12-17 Thread Bruce
de to see if I can find a clue, but alas, no joy. I'd appreciate if someone could take a look at that code above and tell me if there is something glaringly obvious that I just cannot see. tia Bruce -- Rapidly troublesh

[Gambas-user] Project line counts

2013-12-17 Thread Bruce
Wasn't there a context menu item somewhere in the IDE that told you (amongst other things) how many source code lines were in the project? ? Bruce -- Rapidly troubleshoot problems before they affect your business.

Re: [Gambas-user] Creating a gb3 executable

2013-12-17 Thread Bruce
On Wed, 2013-12-18 at 13:03 +1030, Bruce wrote: > Some idiotic code. Forget it. I can see why it doesn't work. Sorry about the noise. Bruce -- Rapidly troubleshoot problems before they affect your busine

Re: [Gambas-user] Project line counts

2013-12-17 Thread Bruce
On Wed, 2013-12-18 at 03:54 +0100, Benoît Minisini wrote: > Le 18/12/2013 03:35, Bruce a écrit : > > Wasn't there a context menu item somewhere in the IDE that told you > > (amongst other things) how many source code lines were in the project? > > > > ? > > B

Re: [Gambas-user] File Chooser OK event?

2013-12-19 Thread Bruce
On Thu, 2013-12-19 at 11:36 +0100, Rolf-Werner Eilert wrote: > Just saw that File Chooser can have its own OK and Cancel buttons, but > how would I handle these events? Never used it before, and there is no > hint in the help... > > Regards > Rolf > I really didn't it could be that hard? B

[Gambas-user] A "statusbar" control

2013-12-20 Thread Bruce
Did someone recently speak about having developed a "statusbar" form control? tia Bruce -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear

[Gambas-user] disabling unused components

2013-12-20 Thread Bruce
We do not have the required library for gb.mime, not do we use gb.mime What I can't remember is where and how in the reconf;configure;make circus I need to stick a --disable-? option. Any help would be apprec.

Re: [Gambas-user] A "statusbar" control

2013-12-21 Thread Bruce
On Sat, 2013-12-21 at 10:46 +0100, Tobias Boege wrote: > On Sat, 21 Dec 2013, Bruce wrote: > > Did someone recently speak about having developed a "statusbar" form > > control? > > > > If you mean[0], then yes, roughly. There was a StatusBar class from &

Re: [Gambas-user] Relaunching a program as root

2013-12-29 Thread Bruce
ell Subst("kdesu -n 'cd &1; pwd; make install'", sPath) To logger Print logger Case "GNOME", "XFCE" Shell Subst("'cd &1; pwd; pkexec make install'", sPat>) To logger Case Else Print "Installer type

Re: [Gambas-user] Relaunching a program as root

2013-12-29 Thread Bruce
On Mon, 2013-12-30 at 02:10 +0100, Tobias Boege wrote: > > 3) The Authentication form needs work. The labels are not visually > > associated with the correct control. (This one was from Felicity, who > > can pick these things out with a 3 second glance at a form). > > What do you mean? I have att

Re: [Gambas-user] Gridview

2014-01-01 Thread Bruce
m some months ago, Beniot's explanation is somewhere in the mailing list archives. I can only suggest you search it for "gridview row height", but I do not remember the topic, sorry. hth Bruce -- Rapidl

Re: [Gambas-user] Gridview

2014-01-01 Thread Bruce
On Thu, 2014-01-02 at 14:53 +1030, Bruce wrote: > On Thu, 2014-01-02 at 14:34 +1100, Shane wrote: > > what is needed to get > > word warp height resizing working ? this is what i have > > > > GridView1.Rows[Index].Height = -1 > > GridView1[Index, 0].WordWrap = Tr

Re: [Gambas-user] Cotrols don't show.

2014-01-02 Thread Bruce
ionally lblHt[Loop1].Alignment = Align.Center lblHt[Loop1].Border = Border.Raised lblHt[Loop1].x = 20 lblHt[Loop1].y = 20 + (Loop1 * 30) lblHt[Loop1].Text = Str(Loop1) lblHt[Loop1].Show Next hth Bruce ---

Re: [Gambas-user] Solving the Gambas packaging problem psychologically (!)

2014-01-07 Thread Bruce
On Mon, 2014-01-06 at 18:35 +0100, Benoît Minisini wrote: > Yeah, great mail subject! > > I think it will be more difficult for Linux distributions to fail > packaging Gambas correctly if there is a useful tool made in Gambas > (other than the IDE) that will be integrated inside package reposito

[Gambas-user] Report component - variable height items

2014-01-07 Thread Bruce
that will expand it's height to accommodate either a) strings with "\n" in them, and/or b) strings that are too wide for the constrained width. Any clues gratefully received. regards Bruce -- Rapidly troubles

Re: [Gambas-user] A "statusbar" control

2014-01-07 Thread Bruce
; sub-panels (a Label), "Icon" sub-panels (a pictureBox) and "Progress" sub-panels (a progressBar). Anyway, have a look. As always, any suggestions or criticisms gratefully received. regards Bruce (p.s. resent, I forgot

[Gambas-user] gb.Report : Setting label colors

2014-01-08 Thread Bruce
- What am I doing wrong? tia Bruce -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Ev

  1   2   3   4   5   6   >