Re: [Gambas-user] best way to monitor remote URL/file in gambas2
That sounds exacly like what I need. If anyone has an idea how to implement that into a gambas program, please shoot. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Normal behaviour for GTK+?
NNNOO Please do not depricate gb.gtk. I use it all the time, and I refuse to use qt (stubborn me!) I'm not a gnome user, The closest I get is xfce4, but most of the time I'd use something like flux/openbox or awesome. The gtk toolkit is too popular to be depricated. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] best way to monitor remote URL/file in gambas2
I'm trying to figure out a way to do this guys. I want an application that can monitor a remote file or URL. For example, the following url http://irssi.org/files/ I want to run the program, and notify me if the contents of that dir have changed since the last time it was checked. The comparison I can manage in gambas, but I need your help in figuring out how to access the contents of that directory from gambas. Has anyone done anything like this or can anyone throw some ideas this way please? -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] best way to monitor remote URL/file in gambas2
@ Benoit I'd be monitoring other people's URLs.. not mine, so that would be out of my control. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] equivalent to python dictionaries in gambas2?
Will try the collection and see how it goes. I was thinking maybe a multi-dimensional array I know how to use arrays, but not multi-dimensional. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Using SVN in gambas question
Yes.. I just check out the code and load the peoject. I've had issues in the past where gambas would add the .gambas (hidden) directory to svn. That creates a problem. So I just exclude that dir from version control and that takes care of it On Sep 24, 2009 6:10 PM, Benoît Minisini gam...@users.sourceforge.net wrote: On Wednesday 23 September 2009 21:36:37 you wrote: I have always created the project without t... As far as I could test, renaming files is not a problem, but renaming a directory is. To rename a directory, svn copies the old one to the new one, and deletes the old one. But it will actually delete the old one at the next commit. So you can't rename the new directory back to its old name. Another question I thought one could copy files from outside ones svn into the svn tree and... You were wrong. svn deals with files only if you tell him with svn add. Also that I could delete files externally then do an update and svn would replace them - app... It depends. If you delete a file without using svn remove, then you can use svn update or, faster, svn revert to get the file back. My svn is in a real mess at the moment and I can't commit anything even on the command line... I suggest that you checkout your project in a new directory, copy your changes from the old ones (by using svn commands of course), and then commit from the new one. Then you will use it definitely, and can delete the old directory. Regards, -- Benoît Minisini -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event y... -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Using SVN in gambas question
I have always created the project without the subversion option enabled. The added the project to the svn repo. after that, then you open the project with the gambas ide you can commit and update using the gui. Always worked for me On Sep 23, 2009 4:23 AM, richard terry rte...@pacific.net.au wrote: I'm writing some documentation for my project. When I created it from svn, I did it via the gambas gui interface, not by using the terminal as one would for example by typing svn checkout svn://project/trunk. I wondered if it is possible to do a manual checkout of an svn project and then load it from the gambas IDE (which of course one can) but will the IDE then treat the project like a svn project and allow the usual updates and commits? Hope this is not ambiguous. Regards Richard -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Passive wait ???
Timer seems to do the trick Just to be sure though.. 5 seconds = 5000 miliseconds? Can somebody verify that for me? -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Passive wait ???
Great. Thank you. This takes care of what I needed to do On Sep 23, 2009 2:47 PM, Lee McPherson leemcpher...@gmail.com wrote: Yes M0E Lnx wrote: Timer seems to do the trick Just to be sure though.. 5 seconds = 5000 milise... -- Come build with u... -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Passive wait ???
I'm trying to implement soft of a status bar on my application. When certain actions are performed, I want to display the successful results on this status bar, rather than a pop-up message. This is an attempt to reduce the number of clicks necessary (get annoying after a while). So I thought, to accomplish this, I can add a text label a the bottom of my form, and use it as a status bar. When a task is performed succesffully, I want it to display the message for 5 seconds and then clear the status bar, so I thogh tlStatusLbl.text = Task succeeded wait 5 tlStatusLbl.text = And that works, except that while it's in that WAIT loop, the whole app lags, and the app doesn't move or refresh until the wait period is over. Does anyone know a way to send this wait to the background or another way to implement this behaviour? -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Passive wait ???
Never heard of a statuslabel before... but yes... I need it to clear after 5 seconds On Sep 22, 2009 5:07 PM, Benoît Minisini gam...@users.sourceforge.net wrote: I'm trying to implement soft of a status bar on my application. When certain actions are p... Sorry: ...and starts a timer to clear the status five seconds later. -- Benoît Minisini --... -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
Ohh, I guess it needs gambas3 I'm still using gambas2 here. Wanted to try it on VectorLinux -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
I see where it detected my gambas version But there is no OS information reported - root:$ cat report.log [OperativeSystem] OperativeSystem=Linux KernelRelease=2.6.27.29 Distribution= [Hardwate] [Gambas] Gambas= Gambas2=2.15.2 Gambas3= -- You can search for /etc/vector-version You can also check for /etc/slack-ware version. But I would do /etc/vector-version first, as vector has both. that way, you can correctly identify a vectorlinux install. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
I get an error says report2: line 23: [: /etc/slackware-version: binary operator expected -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
and the overall output is not good... your quotes are throwin the whole thing off I think == #!/bin/bash # System Report # GPL'd # Based on David Villalobos Cambronero's original report script # Collect the data for OS OutputFile='report2.log'; OS=`uname` KERNEL=`uname -r` ARCH=`uname -m` maybe try OS=$(uname) KERNEL=$(uname -r) ARCH=$(uname -m) -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
Still not good on Vector == vluser:$ cat report.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.27.29 [Distribution] ID= RELEASE= CODENAME= DESCRIPTION= [Hardware] Architecture=2.6.27.29 [Gambas] Gambas= Gambas2=2.15.2 Gambas3= == And here is the complete output of report2.log == vluser:$ sh report2 report2: line 22: [: /etc/slackware-version: binary operator expected report2: line 39: gbx: command not found report2: line 41: gbx3: command not found VLVM:/~/Downloads vluser:$ cat report2.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.27.29 CPUArchitecture=i686 Distribution= [Gambas] Gambas1= Gambas2=2.15.2 Gambas3= === -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
As I said before, vector has both, /etc/vector-version and /etc/slackware-version -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] To the wish list...
Can you use the array.find() method? maybe loop through the array? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] To the wish list...
What I do also to avoid duplicates is check the array before you add the new entry to it IF MyArray.Find(YourString) = -1 THEN MyArray.Add(YourString) -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
Interesting project. My hands are plenty tied with my own projects though, but I think we can all pitch in to work with who ever takes up the project for example by giving any pointer that would help him/her identify whichever distro we all run and that sort of stuff. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
For vectorlinux, you want the result of # cat /etc/vector-version console responds with something like Vectorlinux 6.0 SOHO built on 08012008 I know a lot of distros have something in etc like /etc/slackware-version /etc/debian etc...etc...etc. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Reading settings
Ok. Gambas is open source after all, so if it's all gambas code, and you posted the thing here I got no problem with it. Thanks -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Text formatting on textlabel (gb.gtk)
Hi guys, Using gambas2-2.15.2 and gb.gtk for my app Is there any way to insert a bullet character into a textlabel's .text value? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Reading settings
Is this supposed to give the gb.settings the functionality of gb3 get keys thing? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Reading settings
How do i bring this over to my gambas2 installation? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Reading settings
I tried to follow your instructions. When loading the project, te gambas IDE complained about gb.settings missing, so I clicked the OK button. went to Main.Main() sub and changed the path to an existing settings file, and the strings to something else following your format. when I debug it, it terminates immediately, and the debugging shell only print a 0 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Reading settings
Never mind, I figured it out It looks like what I need -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Reading settings
Before I install it to the user component directory, do I need to clear the string in Main.Main? or does that not matter if I leave the srings in there? Also, when using in my app, do I need both the gb.settings and the gb.settings-bp or just the gb.settings-bp? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Reading settings
So if I grab the Settings class from this project and import it into my project, then I dont need to use the native gb.settings class Will that suffice? what do I do with the Main module and the _Settings class? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Reading settings
It works if I import it's Main.module also so this is what I did 1) Disable the gb.settings from project - components 2) import Settings.class and _SettingsKeys from gb.settings-bp 3) import Main.module from gb.settings-bp My app works now as it should -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Gambas sticker graphic?
I think I recall somebody posting a gambas sticker here a while back. I seem to have lost that email. Can someone shoot it out this way if they have it please? Thanks -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Reading settings
Speaking of legal stuff. My project is released under the gpl v3. Can the guy who wrote this add licensing so I can use it please? On Aug 7, 2009 4:11 PM, Benoît Minisini gam...@users.sourceforge.net wrote: Am Freitag, den 07.08.2009, 22:24 +0200 schrieb Benoît Minisini:Am Freitag, den 07.08.2009,... With your own project, you can do what you want. But the rule with Gambas is that a stable version has only bug fixes, no new features. Actually you can have new features in the development environment, but no new classes, methods or properties in any component. Regards, -- Benoît -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your re... -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas sticker graphic?
Thanks guys. That works. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Reading settings
Guys, I've been working with gb.settings on a couple of my apps in the past, but I have a question. Is there any way to sort of browse through the stored settings? I guess to see what settings are defined in the settings file? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Reading settings
I should have said something native to gambas without having to cat the thing using a shell process. I mean, I'll do it if it's the only way, but I'd rather do it in gambas if at all possible. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Reading settings
Yeah.. that's what I mean. But I'd like to take a peek at the settings and see what all is in there from gambas Let's say my settings file has something like [FMAIN] Width=300 Height=200 X=0 [Form1] Width=400 Height=200 X=10 How can I check for something lie [FMAIN] or [Form1] ? and see if it exists in the file yet? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] question about CATCH
So I've been looking at this http://gambasdoc.org/help/lang/catch My question is... Can the sub/function continue after catch has been declared, or should catch always be the last thing in the sub? For instance PUBLIC SUB Save_a_file() DIM sStr AS String File.Save(/tmp/test,sStr) CATCH PRINT Error saving file ' Can I still have code here... after the catch, or is everything after CATCH considered to be executed only after an error? END -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] question about CATCH
Ok... that clears things up.. I know for a fact that FINALLY has to come before CATCH (if present) otherwise, the project wont compile... Thanks for the clearing this up for me... it's been one of those tings in the back of my head. ;) -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Translated strings from settings file
Hi guys, I'm using the gb.settings component to read a settings file and manipulate it's values in my application. My question is My application is also translated into other languages... How would can I make sure the strings coming from the settings file get translated also? Anyone ever done anything like this? -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Smooth Scrolling (not happening)
I just tried building the latest svn (2011) and it wont build anymore... I mean it builds, but gb.qt wont, so the IDE is useless... does not load I have both qt-3.3.8b and qt4-4.5.0 installed all previous versions have built without a problem. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] scroll to bottom
I just ran into the need for this also, and noticed the listview does not offer a scroll() method. In my case I need to scroll it back to 0,0 the very top. Anyone got any idea how to get this done? On Jun 10, 2009 2:10 PM, Pete Morrison pkmorri...@gmail.com wrote: I am trying to use a listview to provide a display of progress messages such that the newest should be visible at the bottom - ie scroll up as new message are added. Have tried .MoveLast .Refresh as i add items - does nothing visible. Of course the scroll bar can be manually moved by the user but that is not very elegant. Is there any other list type control that will let me do this or am I missing something. -- Dan Quayle http://www.brainyquote.com/quotes/authors/d/dan_quayle.html - This President is going to lead us out of this recovery. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] scroll to bottom
Whoops... mine isn't a listview, but rather a listbox. Anything I can do to get the same results here? On Jun 10, 2009 2:20 PM, Benoît Minisini gam...@users.sourceforge.net wrote: I just ran into the need for this also, and noticed the listview does not offer a scroll() metho... Listview items have an EnsureVisible method, that will scrolls the ListView so that the specified item becomes visible. Hope that helps... -- Benoît -- Crystal Reports - Ne... -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] WAIT ... is it an (un) necessary evil for my app?
Just for giggles, I switched my app over to use gb.qt and gb.qt.ext and it seems to work a lot better... So that raises the question, Could this be yet another gb.gtk bug? -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] WAIT ... is it an (un) necessary evil for my app?
Anyone else have any other suggestions? I still can't get this to work. Adding the wait on the process_kill() event also allows the progressbar to refresh, but I the results are the same...performance suffers with this lag at the end of every process. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Smooth Scrolling (not happening)
I guess he meant sort of embedded. A quick and dirty way around this issue. An embedder on the host form that runs a separate gambas binary which is designed to scroll and scroll only. This is what I've done here for my application, but it's not exactly the way I'd rather do it. -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://www.creativitycat.com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] WAIT ... is it an (un) necessary evil for my app?
So, the next version of my vinstall-ng app is really shaping up nicely, but I'm running into a weird dilemma here. This is a linux installer, so there is a lot of decompression going on in the background as packages are being installed using via the gambas EXEC method. Here is the problem I'm having though. I have string arrays of package names to install one at a time. I have a sub that reads these arrays and processes each package at a time I have a function that simply installs the package and checks to make sure the process didn't return an error. Allow me to demonstrate PUBLIC INSTALL_FROM_ARRAY(sList as string[]) DIM sPkg as string DIM i, iRet as Integer FOR i = 0 to sList.Max IF INSTALL_THIS_PACKAGE(trim(sList[i])) 0 then RETURN pbprog.value = i / sList.count NEXT END PUBLIC FUNCTION INSTALL_THIS_PACKAGE(sPkgPath as String) as Integer dim $hproc as Process $hproc = EXEC [/sbin/installpkg,-q,-R, ClsGlobal.sTargetPath, sPkgPath] WAIT IF $hproc.value 0 then RETURN $hproc.Value ELSE RETURN 0 END IF END My problem is that the progressbar does not update as every package installs. I need to add a wait of at least 0.25 before each package gets installed to give the progressbar time to update. The background processes do run without the wait instance, but the GUI seems stuck. On the other hand, if I want the progressbar, I have to sacrifice performance. Can anyone think of a way around this? Using gambas2.2.12 app uses gb.gtk Any help is welcome. Thanks -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Smooth Scrolling (not happening)
Hi all, Some of you may have seen my project... a GUI installer for VectorLinux. I've gotten the functionality parts to work, and it's all good. I do have one annoyance that I can't shake and this is where I need help. While packages are being installed, I have a scrollview that scrolls through the credits of all the people making the distro possible. Sort of like movie credits. The names come from a text file, and each name is turned into a textlabel inside the scrollview. A timer object automatically handles the scrolling (set to 25-50). The problem is that I need this to sroll while a bunch of shell commands run in the background. These shell commands being executed are really packages being installed, so depending on the size of the package, the system may take longer to free up the process object. The timer object lags while the shell process is running in the background, so the scrolling is not smooth at all. The timer object and its event are not at all related to the function that runs the shell processes. It resides on a separate function on a separate module. Any one have any pointers I could follow? Thanks -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Smooth Scrolling (not happening)
I just tried that and all I accomplished was longer installation times perpackage. The srolling is not improved at all. On May 20, 2009 11:21 AM, Werner wd...@netfront.net wrote: M0E Lnx wrote: Hi all, Some of you may have seen my project... a GUI installer for VectorLinux... Shooting from the hip: since you are already root, could you nice yourself up a little bit? Conversely, could you nice the processes that you created down? -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] gambas2-2.13 build failing
I'm trying to upgrade to 2.13.0 and my build is failing during the gb.gtk build process. Here is a link to the error details http://nopaste.com/p/aUCCbdxsqb This is VectorLinux 6.0 (based on slackware 12.1) gtk version is 2.12.9 Any ideas? -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas2-2.13 build failing
Running test right now... on rev 1904. Will report back in a bit On May 18, 2009 10:16 AM, Stefano Palmeri rospolo...@tiscali.it wrote: Il lunedì 18 maggio 2009 17:05:33 Benoît Minisini ha scritto: Il lunedì 18 maggio 2009 16:23:25 M0E Lnx ha scritto:I'm trying to upgrade to 2.13.0 and ... Ok. I'm going to test it. Stefano -- Crystal Reports - Ne... -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas2-2.13 build failing
Ok. My test on svn rev 1964 reveals success. So it is fixed. I will wait for the official 2.13.1 to build again because this is the official package for our distro. But again... it seems fixed in svn now... make succeeded On May 18, 2009 10:18 AM, M0E Lnx m0e@gmail.com wrote: Running test right now... on rev 1904. Will report back in a bit On May 18, 2009 10:16 AM, Stefano Palmeri rospolo...@tiscali.it wrote: Il lunedì 18 mag... Il lunedì 18 maggio 2009 16:23:25 M0E Lnx ha scritto:I'm trying to upgrade to 2.13.0 and ... Ok. I'm going to test it. Stefano -- Crystal Reports - Ne... -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] A web page for Gambas applications
Here is one of mine NAME: Moises Henriquez APP NAME: vinstall-ng DESCRIPTION: A graphical linux installer HOME PAGE: http:// vinstall-ng.googlecode.com Sorry can't attach screenie from my mobile phone, but several available @ the project page On May 14, 2009 6:51 AM, Benoît Minisini gam...@users.sourceforge.net wrote: Benoît Minisini wrote: Hi Benoit, Can i join several screenshots of my applications... Are they really useful? -- Benoît -- The NEW KODAK i700 S... -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] A web page for Gambas applications
Where is the uel for the page? On May 14, 2009 6:16 PM, Jesus Guardon jguar...@telefonica.net wrote: Name: Jesus Guardon Title: dfhLog Description: General purpose Amateur Radio logging application Project page: http://code.google.com/p/dfhlog/ ScreenShot: attached 'dfhlog.png' and more on project site. Hope it could be useful for someone :-) Regards Jesus -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Rounding numbers to pre-set increments
This dilema is running circles around my head... I need help I need a way to take a number, say an integer and round it up to the nearest increment of 250. This may imply decreasing or increasing the number. For instance input = 400 I need my app to round up to 500 input = 550 I need my app to round down to 500 The input values come from a text file provided to my from another coworker, which means that using a spinbox is out of the question. I have no control over what is fed to the app, it just needs to round up/down to 250 cut offs. Does anyone have an idea how to work this? -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Rounding numbers to pre-set increments
Thank you guys. The first suggestion worked. On Apr 30, 2009 3:24 PM, Simonart Dominique simonart.domini...@wanadoo.fr wrote: Frank Cox a écrit : On Thu, 30 Apr 2009 14:00:06 -0500 M0E Lnx wrote:I need a way to take a number, say an... A = N mod 250 N = N - A if A 125 then N += 250 In this case N=125 would be rounded to 0 If you want it rounded to 250 change the test by if A = 125 ... Dominique Simonart -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] define data-variable as record
Never heard of such a thing. But maybe a variant type of variable will do what you need On Apr 25, 2009 3:57 AM, juelin juergen.lin...@gmx.de wrote: hello, it is possible to define a record into gambas? thats mean a variable with different datatypes for example: type recorda as record a as intger b as string c[99] as float endtype dim variablename as recorda kind regards Jürgen -- View this message in context: http://www.nabble.com/define-data-variable-as-record-tp23229945p23229945.html Sent from the gambas-user mailing list archive at Nabble.com. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Format Text
How about using something like space(5) between each string? On Apr 23, 2009 9:16 AM, Stefan Miefert smief...@kikxxl.de wrote: HEllo, how can i format a text like this 1 Auto 20.12.2008 20,15 2 Fahrrad 30.12.20053,22 3 Bus 12.05.2000 22,44 4 Auto2 15.04.2088 23,55 5 Auto3 15.04.2088 6 Bus2 15.04.2088 7 LKW 15.04.2088 8 Bus 15.04.2088 9 Auto4 15.04.2088 10 Bus 5 15.04.2088 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] build failing 1931
Do you have mysql installed? On Apr 22, 2009 5:32 PM, richard terry rte...@pacific.net.au wrote: The last few builds from 1929 on seem to be failing on my machine here: Is this just my problem? Compiling the gb.db.mysql project... gb.db.mysql gbc: project file not found: /home/richard/gambas3-svn/src/trunk/gb.db.mysql/src/gb.db.mysql/.project gba: ERROR: Cannot set file owner: /home/richard/gambas3-svn/src/trunk/gb.db.mysql/src/gb.db.mysql/gb.db.mysql.gambas: No such file or directory /bin/install: cannot stat `gb.db.mysql.gambas': No such file or directory make[4]: *** [install-data-hook] Error 1 make[4]: Leaving directory `/home/richard/gambas3-svn/src/trunk/gb.db.mysql/src' make[3]: *** [install-data-am] Error 2 make[3]: Leaving directory `/home/richard/gambas3-svn/src/trunk/gb.db.mysql/src' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/richard/gambas3-svn/src/trunk/gb.db.mysql/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/richard/gambas3-svn/src/trunk/gb.db.mysql' make: *** [install-recursive] Error 1 == ERROR: Build Failed. Aborting... -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] a problem installing gambas...
I have seen this before. My problem was solved by restoring the sane permissions to my /tmp dir On Apr 21, 2009 11:55 AM, arbelmichal arbelmic...@gezer.org.il wrote: Hi Please read this thread and see if you can help me... I got project that I am working on and I hed to stop beacuase my Gambas died... Thanks Arbel http://www.linuxbasic.net/index.php?topic=466.0 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] a problem installing gambas...
Post your output of ls -al / On Apr 21, 2009 12:30 PM, arbelmichal arbelmic...@gezer.org.il wrote: can you please explain a bit more? What do I have to do? Arbel On Tue, 2009-04-21 at 12:17 -0500, M0E Lnx wrote: I have seen this before. My problem was solved b... -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] shared librarry into gambas
Thanks a lot man... This certainly helps. I'll see if I can follow your example into making something useful with libparted. I found the API references here http://www.gnu.org/software/parted/api/modules.html -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] shared librarry into gambas
Huh!. I wouldn't be surprised at all if your arguments are true, but for someone like myself, I feel that the documentation on this subject very limited. I will try to look at some examples. I need to access the libparted library, in the mean time, if you want to work up a sample for me that accesses the library, that would be swell! ;) -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Proper use of containers
See attached project. I think the problem is in the frame object. It doesn't resize it's child objects. Since the hbox inside the frame does not get resized, the hbox cannot resize it's children objects. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Proper use of containers
Whooops... forgot to actually attach the project Here it is now nester-0.0.1.tar.gz Description: GNU Zip compressed data -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Proper use of containers
So I'm trying to put all my objects in containers for easy handling of window resizing, but I've ran into a problem. Here is the problem. Hpanel1 ( expand=true) |- Frame1 (expand=true) |- Hbox1 (expand=true) | - Textlabel1 (expand=true), |- Combobox1 (expand=true) the frame resizes just fine, which tells me the Hpanel is resizing fine. but the Hbox which is a child to Frame1 does not resize. I'm using gambas2-2.12.0 My app uses gb.gtk I've noticed that when you use more than 2 containers, there are resizing issues. Has anyone seen this? or can anyone suggest a better approach?. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Ugly gtk warnings with tabstrip object
I run clearlooks with tango for icons. -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Dynamic objects
I have no experience with mysql at all, but you can easily create this textbox PUBLIC SUB Read_DBASE() DIM sList as string DIM sResults as String[] DIM tb as TextBox DIM sItem as String DIM i as integer dim y as integer ' This is where you get your values from mysql and let's assume you put them into a raw string (sList) ' After that you creat an array with the results sResults = split(sList, ) ' or however your values may be separated FOR i = 0 to sResults.Max tb = new TextBox(me) as Textbox WITH tb .Text = sResults[i] .width = 100 .height = 24 .x = 4 .y = y END WITH y = y + tb.height + 4 NEXT END -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] My first rodeo in using the network component
How exactly do you do this? What I need is to get the listing of a FTP directory and analyze it.. I can do that in gambas code, but I thought I could use the net component to get the listing. Would you mind explaining how your method works? -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] adjusting objects .width property in proportion to their .text property
I've always had this problem in gambas. Using gb.gtk I have buttons, textlabels and such objects on a form. My project is translatable, which means that the space needed for the their .text property is not always the same. Is there a way gambas could figure out exacly object's width needed to fit their .text property? FWIW, I've done just a bit of pygtk reading and practicing.. and in their case, the objects are always as wide as they need to be.. no need to adjust their .width property. Maybe gambas can implement something like that? -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] adjusting objects .width property in proportion to their .text property
Does the AutoResize property work when the object is a child to something like an hbox whose .expand property is set to true? I'm having a hard time getting this to work on mine here. I have an HBOX set expand=true All child objects of this hbox have their .expand property set to true but textlabels still dont shrink/expand to their .text property. how is this supossed to work? -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Feature requests
I have a couple of requests for the gb.gtk component (and maybe even the gb.qt as well) It's about progressbars. I'd like to use a progressbar like alternating progressbar (like the one used in the gparted windows while executing changes (top one)) alternates from left to right I'd like to be able to display some text inside the progressbar ... not just the value, but a way to display my own string in there Is this at all possible? -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Feature requests
I'm not sure how to do this... THe progressbar only moves in one direction, and the .label property is a boolean... Dont know how to change any of that. On Wed, Mar 4, 2009 at 11:09 AM, Benoît Minisini gam...@users.sourceforge.net wrote: I have a couple of requests for the gb.gtk component (and maybe even the gb.qt as well) It's about progressbars. I'd like to use a progressbar like alternating progressbar (like the one used in the gparted windows while executing changes (top one)) alternates from left to right I'd like to be able to display some text inside the progressbar ... not just the value, but a way to display my own string in there Is this at all possible? That's something you can do in Gambas easily, isn't it? -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Feature requests
? -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] baloon size
When do you expect the next gambas2 release to be? I'm trying to figure out if it's worth it for me to build the svn tree or wait a bit for the next release. On Tue, Mar 3, 2009 at 2:08 PM, Benoît Minisini gam...@users.sourceforge.net wrote: Thank you. Will it automagically resize or does it have a .width and .height property that I need to adjust? It will automagically resize. -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] baloon size
When do you expect the next gambas2 release to be? I'm trying to figure out if it's worth it for me to build the svn tree or wait a bit for the next release. On Tue, Mar 3, 2009 at 2:08 PM, Benoît Minisini gam...@users.sourceforge.net wrote: Thank you. Will it automagically resize or does it have a .width and .height property that I need to adjust? It will automagically resize. -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] baloon size
Thank you. Will it automagically resize or does it have a .width and .height property that I need to adjust? On Tue, Mar 3, 2009 at 5:33 AM, Benoît Minisini gam...@users.sourceforge.net wrote: Is there any way to get a balloon to resize to what I need? I'm using aballoon to display about 12 lines of text (each line about 70 characters long) Is there any way to make the baloon resize to fit such a thing? Using Gambas2-2.11.1 Mmm. It seems there is a bug in gb.gtk, as with gb.qt the balloon displays 12 lines of text without problems. Regards, OK, this bug is fixed in revision #1891 for Gambas 2 and revison #1892 for Gambas 3. Regards, -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] baloon size
when can I expect to see this fixed? On Thu, Feb 26, 2009 at 7:31 AM, Benoît Minisini gam...@users.sourceforge.net wrote: Is there any way to get a balloon to resize to what I need? I'm using aballoon to display about 12 lines of text (each line about 70 characters long) Is there any way to make the baloon resize to fit such a thing? Using Gambas2-2.11.1 Mmm. It seems there is a bug in gb.gtk, as with gb.qt the balloon displays 12 lines of text without problems. Regards, -- Benoît -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Missing dependencies in compiled packages
BTW, the 3.0 development branch is said to have support for such a thing... I have yet to try it. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Missing dependencies in compiled packages
I asked this question a long time ago (08/18/08) Apparently, there are no provisions for this in the gambas2 branch. I was referred to this back then http://gambas.svn.sourceforge.net/viewvc/gambas?view=revrevision=1520 (notice the log message) In the mean time, you may need to study your .deb package structure and manually hack it to pull those dependencies. That's what I did for my application (for VectorLinux) In VectorLinux and Slackware (.tlz and .tgz) packages, there is a file called slack-required which defines package dependencies. Maybe there is something similar in .deb -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Change translations at runtime
I have a program that runs the same way. Unfortunately, for translations to take place, all translated objects must be destroyed and re-created under the new environment. The first time around, I created a loop to restart the application after setting the right environment. Later, I realized that I could do it without having to restart the entire application. You can do it by using a class or module as startup class, and if you are offering a language selection, of course, your first window will always show up in the language defined by LANG. Anything after that will be shown in the language selected by the user. I have seen python applications, where you click a language in a list and everything in the form translates immediately...the screen doesn't even flash. I wonder if gambas could implement someting like that some day -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] baloon size
Is there any way to get a balloon to resize to what I need? I'm using aballoon to display about 12 lines of text (each line about 70 characters long) Is there any way to make the baloon resize to fit such a thing? Using Gambas2-2.11.1 -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Nesting objects into gridview cells
Hello guys. I'd like to know how if anyone has ever been able to nest objects like comboboxes, buttons, checkboxes or anything like that into a gridview's cell. I guess what I'm looking for is a way to do what the gambas IDE does for a forms or objects properties side panel I'm attaching a picgure of what I mean so I can be better understood If anyone can suggest a way to do this, I'd greatly appreciate it Thank you attachment: nested objects.png-- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Sidepanel bug?
I did report a bug with this object in gb.gtk though. the first time you try to shrink it, it does shink, but you can't restore it again you have to manually drag it and resize it back to it's normal size. Shrinking and expanding work fine after the that. On Sat, Dec 20, 2008 at 11:20 PM, Benoit Minisini gam...@users.sourceforge.net wrote: On samedi 20 décembre 2008, Jussi Lahtinen wrote: Hi! Is this planned behavior; Orientation left/right changes just hide buttons placement, NOT direction where sidepanel opens? I need sidepanel to right side of screen, now it is not possible. Problem is noticed on QT at program run state. gambas...@ubuntu 8.10 Jussi The hide buttons just shrink the side panel. The width is shrinked if a Left or Right orientation is set, and the height if the orientation is Top or Bottom. If you want to it to move, you must put it inside accurate containers (HBox or VBox). Regards, -- Benoit Minisini -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] sidepanel object + gb.gtk bug
I develop a couple of application in gambas2-2.9.0, both of which have a sidepanel object. Both use gb.gtk. I've found something that I believe is a bug. Does not happen when I use the gb.qt component When I click the little on the side panel (to hide it) it goes well, but when I click it again to restore it, it will not restore it. The little arrow will only turn the other way, but the panel is still hidden. I can drag it and resize it back to normal size, and hiding/restoring after that works flawlessly... but the first time it gets stuck. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] parent of current item
If you do not provide a Key, gambas will assign one, but you can provide one as a string. Like this Prep -Prep0 -Prep1 Inst -Inst0 -Inst1 Conf -Conf0 -Conf1 On Tue, Dec 16, 2008 at 11:11 AM, Wally wa...@voosen.eu wrote: How to get the parent of the current item in treeview ? (the key's are populated by random numbers) regs wally -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Drag Drop to KDE Desktop
AFAIK, such a feature doesn't exist yet... I remember asking about it some time ago. At least not in 2.x On Tue, Dec 16, 2008 at 2:15 PM, Doriano Blengino doriano.bleng...@fastwebnet.it wrote: Hi list, how can I implement dragdrop with the desktop? I mean, drag an item (a filename, for example) to an icon on the desktop, and viceversa, a file from a file manager to a running gambas application? Regards, -- Doriano Blengino Listen twice before you speak. This is why we have two ears, but only one mouth. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Emulating wizard Back/Next navigation
I've tried the Show event, but I get the same results. The forms.Show or Open events are not getting called. They're just getting Raised So, How do I run code in the forms Show or Open event? On Mon, Dec 15, 2008 at 10:56 AM, Steven Lobbezoo ste...@revimmo.com wrote: I think you need to use the form's show event, not the open event. Steven Le lundi 15 décembre 2008 à 09:36 -0600, M0E Lnx a écrit : BTW, the functions that populate my content are called in each form's _Open() event On Mon, Dec 15, 2008 at 9:34 AM, M0E Lnx m0e@gmail.com wrote: After testing this, I do have a question though. My forms have objects like treeviews, listboxes, etc which get populated by running external functions. So, when I implement your example into my project, the navigation works perfectly, My forms however do not. My content shows up only when I'm going though it the first time around. if I click the back button, and navigate my way back and forth, my forms are displayed, but the objects are mot populated. How can I fix this? On Mon, Dec 15, 2008 at 7:59 AM, M0E Lnx m0e@gmail.com wrote: Yes!... this is exactly how I need it to work. Thank you On Sat, Dec 13, 2008 at 2:23 AM, Fabien Bodard gambas...@gmail.com wrote: it better to have a demo ... and it work fine ... take it and tell me if that is what you want. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Emulating wizard Back/Next navigation
My idea was a little different, but I think I got it In my idea, I use a panel or workspace in FMain as a host for the other windows. The navigation is always handled from FMain, and not from each child window, which is what makes it complicated for me. I had created a model that used the object[] for reverse navigation and the logical forward sequence is defined by the child windows, and partly from a pre-defined default path. I'm getting satisfactory results, but I was trying to see if there was a better way to do it On Fri, Dec 12, 2008 at 11:54 AM, nando nand...@nothingsimple.com wrote: To remove the complicatedness of going from 2 to 4 or 5, skipping 3, you could implement it this way. Let's say you're in Form2 and when NEXT is pressed, it is determined that the next step is 5. You should have two global vars (called 'FROM' and 'DEST') set FROM 2 and set DEST to 5. Then perform the code (in Form2) to next the next form (FORM3) but it checks to see if it matches DEST. This case it doesn't. Form3 will run code for NEXT to Form4. Each form performs the same type of operation. Each form should have a local var to remember the FROM when the thread reaches there to know where to go BACK to. In this case when in Form5, it would save locally that it came from 2. If Form5 needs to go BACK, it will use it's local copy of FROM to know to set DEST, then run the back code (to Form4, then Form3, then Form2). Everything works sequencially forwards and backwards and each form has similar tests and methods to perform doing it. -- Original Message --- From: Dominique SIMONART simonart.domini...@wanadoo.fr To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Fri, 12 Dec 2008 04:11:24 +0100 Subject: Re: [Gambas-user] Emulating wizard Back/Next navigation M0E Lnx a écrit : I just can't seem to completely wrap my mind around this one. It really doesn't matter if i return to the same state or not... as long as I return there. it gets complicated when for instance, you go in a sequence from 1, 2, 3 then you back up to 2... change something in 2 that now makes you skip 3 and jump to 4 or 5. On Thu, Dec 11, 2008 at 3:40 PM, Simonart Dominique simonart.domini...@wanadoo.fr wrote: M0E Lnx a écrit : Exactly. The forward navigation depends on the user input, so it could jump from Form1 to Form3 and then to Form2 ans do on... So if we leave a footprint in the array, I think it *should* be easy to reverse the process indeed sort of like an undo process. But I'm not sure exactly what the best way to do the reverse is... should I index the array? or try to find the current form in the array and then just use the current forms.index in the array - 1 ? I've been fidling with this for a while... and it works perfecly in my mind... but can't really make it work on the IDE :( On Thu, Dec 11, 2008 at 2:23 PM, Simonart Dominique simonart.domini...@wanadoo.fr wrote: M0E Lnx a écrit : I have to say, the array idea makes more sense to me, simply because otherwise, it'll be hard to tell the next and back buttons which sub to run. I have tried an array, but object array rather than string array. The idea is that every form that gets opened leaves a footprint in this object array for instance, the form's open() event would have something like this IF ArrNav.find(me) = -1 THEN ArrNav.Add(me) this makes reverse navigation possible by indexing the array or a similar method. However, I am not able to work out all the bugs resulting from this because it gets crazy when you try to move back, then forward... then back... ends up in a crash almost every time Can someone work out a sample I can use? On Thu, Dec 11, 2008 at 6:20 PM, nando nand...@nothingsimple.com wrote: Perhaps the following ideas... Every step in the wizard has an associated form for whatever it does for that step. Every form has a SUB for 'backwards' and 'forwards so that when NEXT is clicked, the forwards code runs, which is whatever is required for moving to the next form (ie: perform work, verify info, hide form, the activate 'next' form) when BACK is clicked, the backwards code runs, which is whatever to undo this step (if needed), hide form, activate 'back' form. Each form knows how to go back one step, and go forward one step. You would have to tell the Next and BAck buttons which forwards and backwards sub to run...you could place in NEXT.tag and BACK.tag the form or info required to properly run the correct code. This would be modular so each form takes care of things. Or, the list of wizard steps could be in a global string array with the name of the form and simply step through the index. -Fernando -- Original Message --- From: M0E Lnx m0e@gmail.com To: mailing list for gambas users gambas-user
Re: [Gambas-user] Emulating wizard Back/Next navigation
Exactly. The forward navigation depends on the user input, so it could jump from Form1 to Form3 and then to Form2 ans do on... So if we leave a footprint in the array, I think it *should* be easy to reverse the process indeed sort of like an undo process. But I'm not sure exactly what the best way to do the reverse is... should I index the array? or try to find the current form in the array and then just use the current forms.index in the array - 1 ? I've been fidling with this for a while... and it works perfecly in my mind... but can't really make it work on the IDE :( On Thu, Dec 11, 2008 at 2:23 PM, Simonart Dominique simonart.domini...@wanadoo.fr wrote: M0E Lnx a écrit : I have to say, the array idea makes more sense to me, simply because otherwise, it'll be hard to tell the next and back buttons which sub to run. I have tried an array, but object array rather than string array. The idea is that every form that gets opened leaves a footprint in this object array for instance, the form's open() event would have something like this IF ArrNav.find(me) = -1 THEN ArrNav.Add(me) this makes reverse navigation possible by indexing the array or a similar method. However, I am not able to work out all the bugs resulting from this because it gets crazy when you try to move back, then forward... then back... ends up in a crash almost every time Can someone work out a sample I can use? On Thu, Dec 11, 2008 at 6:20 PM, nando nand...@nothingsimple.com wrote: Perhaps the following ideas... Every step in the wizard has an associated form for whatever it does for that step. Every form has a SUB for 'backwards' and 'forwards so that when NEXT is clicked, the forwards code runs, which is whatever is required for moving to the next form (ie: perform work, verify info, hide form, the activate 'next' form) when BACK is clicked, the backwards code runs, which is whatever to undo this step (if needed), hide form, activate 'back' form. Each form knows how to go back one step, and go forward one step. You would have to tell the Next and BAck buttons which forwards and backwards sub to run...you could place in NEXT.tag and BACK.tag the form or info required to properly run the correct code. This would be modular so each form takes care of things. Or, the list of wizard steps could be in a global string array with the name of the form and simply step through the index. -Fernando -- Original Message --- From: M0E Lnx m0e@gmail.com To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Wed, 10 Dec 2008 20:39:45 + Subject: [Gambas-user] Emulating wizard Back/Next navigation So I set myself to create a program that acts like a wizard, but chose not to use the wizard object because well, there is just too many variables here, and there is more than one way to get to the end, Depending on user input. So what I did was create a navigation tool bar at the bottom of FMain this toolbar has a BACK, EXIT, and a NEXT button. I have a workspace object above it which will host other forms via each forms .Reparent method. Can anyone suggest a way to make reverse and forward navigation on such a setup? I have created a small project what I'm trying to do... See attachment Any help is appreciated Thanks --- End of Original Message --- -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user I think BACK has to be only an undo process, and NEXT is the logical next state depending on the datas already collected. If 2 forms could result from an actual status, then you have to review the logical chain. my two cents :) Dominique Simonart -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now
Re: [Gambas-user] Emulating wizard Back/Next navigation
Can you try to work a sample?? On Thu, Dec 11, 2008 at 3:04 PM, nando nand...@nothingsimple.com wrote: To go back, you have to 'undo' all the things needed to properly go forward. So, in form5 (ie step5) you would have code to run to 'undo' what you did to get to step6...so when step6 has to go back, you'll run step5's 'undo' code. something psuedo like... IF 'BACK' was clicked THEN hide form (the current form pointed to by your pointer which is Form6) DEC your array pointer (which is now for Form5) run the sub called UNDO unhide form (the current form pointed to is now Form5) Endif -- Original Message --- From: M0E Lnx m0e@gmail.com To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Thu, 11 Dec 2008 14:50:38 -0600 Subject: Re: [Gambas-user] Emulating wizard Back/Next navigation Exactly. The forward navigation depends on the user input, so it could jump from Form1 to Form3 and then to Form2 ans do on... So if we leave a footprint in the array, I think it *should* be easy to reverse the process indeed sort of like an undo process. But I'm not sure exactly what the best way to do the reverse is... should I index the array? or try to find the current form in the array and then just use the current forms.index in the array - 1 ? I've been fidling with this for a while... and it works perfecly in my mind... but can't really make it work on the IDE :( On Thu, Dec 11, 2008 at 2:23 PM, Simonart Dominique simonart.domini...@wanadoo.fr wrote: M0E Lnx a écrit : I have to say, the array idea makes more sense to me, simply because otherwise, it'll be hard to tell the next and back buttons which sub to run. I have tried an array, but object array rather than string array. The idea is that every form that gets opened leaves a footprint in this object array for instance, the form's open() event would have something like this IF ArrNav.find(me) = -1 THEN ArrNav.Add(me) this makes reverse navigation possible by indexing the array or a similar method. However, I am not able to work out all the bugs resulting from this because it gets crazy when you try to move back, then forward... then back... ends up in a crash almost every time Can someone work out a sample I can use? On Thu, Dec 11, 2008 at 6:20 PM, nando nand...@nothingsimple.com wrote: Perhaps the following ideas... Every step in the wizard has an associated form for whatever it does for that step. Every form has a SUB for 'backwards' and 'forwards so that when NEXT is clicked, the forwards code runs, which is whatever is required for moving to the next form (ie: perform work, verify info, hide form, the activate 'next' form) when BACK is clicked, the backwards code runs, which is whatever to undo this step (if needed), hide form, activate 'back' form. Each form knows how to go back one step, and go forward one step. You would have to tell the Next and BAck buttons which forwards and backwards sub to run...you could place in NEXT.tag and BACK.tag the form or info required to properly run the correct code. This would be modular so each form takes care of things. Or, the list of wizard steps could be in a global string array with the name of the form and simply step through the index. -Fernando -- Original Message --- From: M0E Lnx m0e@gmail.com To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Wed, 10 Dec 2008 20:39:45 + Subject: [Gambas-user] Emulating wizard Back/Next navigation So I set myself to create a program that acts like a wizard, but chose not to use the wizard object because well, there is just too many variables here, and there is more than one way to get to the end, Depending on user input. So what I did was create a navigation tool bar at the bottom of FMain this toolbar has a BACK, EXIT, and a NEXT button. I have a workspace object above it which will host other forms via each forms .Reparent method. Can anyone suggest a way to make reverse and forward navigation on such a setup? I have created a small project what I'm trying to do... See attachment Any help is appreciated Thanks --- End of Original Message --- -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- SF.Net email
Re: [Gambas-user] Emulating wizard Back/Next navigation
I just can't seem to completely wrap my mind around this one. It really doesn't matter if i return to the same state or not... as long as I return there. it gets complicated when for instance, you go in a sequence from 1, 2, 3 then you back up to 2... change something in 2 that now makes you skip 3 and jump to 4 or 5. On Thu, Dec 11, 2008 at 3:40 PM, Simonart Dominique simonart.domini...@wanadoo.fr wrote: M0E Lnx a écrit : Exactly. The forward navigation depends on the user input, so it could jump from Form1 to Form3 and then to Form2 ans do on... So if we leave a footprint in the array, I think it *should* be easy to reverse the process indeed sort of like an undo process. But I'm not sure exactly what the best way to do the reverse is... should I index the array? or try to find the current form in the array and then just use the current forms.index in the array - 1 ? I've been fidling with this for a while... and it works perfecly in my mind... but can't really make it work on the IDE :( On Thu, Dec 11, 2008 at 2:23 PM, Simonart Dominique simonart.domini...@wanadoo.fr wrote: M0E Lnx a écrit : I have to say, the array idea makes more sense to me, simply because otherwise, it'll be hard to tell the next and back buttons which sub to run. I have tried an array, but object array rather than string array. The idea is that every form that gets opened leaves a footprint in this object array for instance, the form's open() event would have something like this IF ArrNav.find(me) = -1 THEN ArrNav.Add(me) this makes reverse navigation possible by indexing the array or a similar method. However, I am not able to work out all the bugs resulting from this because it gets crazy when you try to move back, then forward... then back... ends up in a crash almost every time Can someone work out a sample I can use? On Thu, Dec 11, 2008 at 6:20 PM, nando nand...@nothingsimple.com wrote: Perhaps the following ideas... Every step in the wizard has an associated form for whatever it does for that step. Every form has a SUB for 'backwards' and 'forwards so that when NEXT is clicked, the forwards code runs, which is whatever is required for moving to the next form (ie: perform work, verify info, hide form, the activate 'next' form) when BACK is clicked, the backwards code runs, which is whatever to undo this step (if needed), hide form, activate 'back' form. Each form knows how to go back one step, and go forward one step. You would have to tell the Next and BAck buttons which forwards and backwards sub to run...you could place in NEXT.tag and BACK.tag the form or info required to properly run the correct code. This would be modular so each form takes care of things. Or, the list of wizard steps could be in a global string array with the name of the form and simply step through the index. -Fernando -- Original Message --- From: M0E Lnx m0e@gmail.com To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Wed, 10 Dec 2008 20:39:45 + Subject: [Gambas-user] Emulating wizard Back/Next navigation So I set myself to create a program that acts like a wizard, but chose not to use the wizard object because well, there is just too many variables here, and there is more than one way to get to the end, Depending on user input. So what I did was create a navigation tool bar at the bottom of FMain this toolbar has a BACK, EXIT, and a NEXT button. I have a workspace object above it which will host other forms via each forms .Reparent method. Can anyone suggest a way to make reverse and forward navigation on such a setup? I have created a small project what I'm trying to do... See attachment Any help is appreciated Thanks --- End of Original Message --- -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user I think BACK has to be only an undo process, and NEXT is the logical next
[Gambas-user] Gambas2-2.9 Possible bug when running in russian locale
Here is the problem. I have an application which offers different languages to select from (English, Spanish, and Russian ATM) The problem is that when I select russian, I get this error that says This application has raised an unexpected error and must abort [31] Unsupported string conversion. Stock.AddPath.60 This only happens when it is ran with the ru_RU locale. To see the error yourself, checkout a copy of the program svn co http://vinstall-ng.googlecode.com/svn/branches/iVL vinstall-ng Set the locale to ru_RU and execute the binary cd vinstall-ng LANG=ru_RU ./installer.gambas Please HELP -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Feature request
I've noticed the radio button has no .Adjust method. This would be nice, because in my case, I have a radio button with text, that when translated to other languages can be quite long. It'd be nice to have it work like the textlabels work with an .adjust method. Cheers! -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Feature request for Message()
Very nice ;) Thank you On Tue, Nov 11, 2008 at 8:11 AM, Benoit Minisini [EMAIL PROTECTED] wrote: On mardi 7 octobre 2008, M0E Lnx wrote: I'd like to see a way to modify the message's title when using the Message() function to display a message. Maybe it should default to the project title as it does now, but offer an option to change it I implemented a Message.Title property in revision #1695. Regards, -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Alternating progressbars
I know other GTK applications can do this... Kind of hoping it gets implemented into gambas3 at least if it doesn't make it in Gambas 2 On Fri, Nov 7, 2008 at 2:52 PM, birchy [EMAIL PROTECTED] wrote: M0E Lnx wrote: Is there a way to do alternating progressbars in gambas? I also have a need for this kind of progress bar. I guess it could be done with a picture box but then you're writing quite a few lines of code to achieve something fairly trivial. -- View this message in context: http://www.nabble.com/Alternating-progressbars-tp20383755p20388574.html Sent from the gambas-user mailing list archive at Nabble.com. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to make a treeview un-clickeable
THanks On Tue, Nov 4, 2008 at 10:58 AM, Benoit Minisini [EMAIL PROTECTED] wrote: On mardi 4 novembre 2008, M0E Lnx wrote: Can anyone suggest a way to do this? I have a treeview which I intend to use as a simple list of tasks to perform. The treeview selection and pictures and stuff are controlled and affected by other objects in the form. What I need is a way to keep the user from clicking on different items on the treeview, because the seleced = true proerty changes when the user clicks on it. I really dont want to use the treeview.enabled = false method. This grays out the entire trieeview. I need it to look alive, but yet be locked for any clicking TreeView.Mode = TreeView.None ? -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Multiple instances of Gambas ...
Nice ;) On Tue, Nov 4, 2008 at 2:23 PM, Jose J. Rodriguez [EMAIL PROTECTED] wrote: On 11/4/08, Gareth Bult [EMAIL PROTECTED] wrote: I have 4 screens .. I start Gambas on screen 3 .. then gambas2 will work quite happily on screens 2,3 and 4 , but will give the dump as quoted if started on screen 1... although I'm sure it wasn't working on 2 and 4 earlier. FWIW, I just ran 2 instances of the Gambas2 IDE on virtual desktop (VD) 1, then 2 on VD2, then tried it the other way around, with no problems. Using Vector Linux 5.9.1 SOHO, KDE 3.5.9 and Gambas2-2.9. Regards, Joe1962 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Shipping translations for my project
The code I'm using now is somewhat similar, except, I'm using a columnview, and storing the LANGUAGE CODE as the key for each entry and the LANGUAGE NAME as the .text property for each entry. I foud it's easier to do it this way than it is to keep up with 2 arrays of the same thing, I just use what gambas already has. So when you select an item in the columnview, you can easily get it's LANG CODE by getting the selection's key. But beniot is right... It seems to me that the resulting binary should be able to rdir(.lang) On Fri, Oct 31, 2008 at 6:47 AM, Benoit Minisini [EMAIL PROTECTED] wrote: On jeudi 30 octobre 2008, M0E Lnx wrote: And that's what I'm doing at the moment. But that only works when the application is ran inside the IDE if I run it outside the IDE, then it doesn't list the languages not even when ran from the same directory that contains .lang suggestions? Mmm. This is an old bug in Dir() when browsing an executable. -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Shipping translations for my project
I'm working on this project and I'm offering translations. My question now is... where do I put the translations so my program can get to them? Is there a GNU Standard for this anyone knows of? And what is the best way of listing the offered translations withoug having to hard code a list? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Shipping translations for my project
I've got the translations... but what do I do with them? If it is all automatic, how can I offer the end user the choice of languages? On Thu, Oct 30, 2008 at 10:59 AM, Benoit Minisini [EMAIL PROTECTED] wrote: On jeudi 30 octobre 2008, M0E Lnx wrote: I'm working on this project and I'm offering translations. My question now is... where do I put the translations so my program can get to them? Is there a GNU Standard for this anyone knows of? And what is the best way of listing the offered translations withoug having to hard code a list? Everything is automatic: just do the translation from the IDE. Regards, -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user