Re: [Gambas-user] Text width in tableview
Thank you Benoît -- View this message in context: http://gambas.8142.n7.nabble.com/Text-width-in-tableview-tp40381p40411.html Sent from the gambas-user mailing list archive at Nabble.com. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Paint again
Am Sonntag, den 16.12.2012, 19:02 +0100 schrieb Benoît Minisini: > Le 16/12/2012 14:11, Charlie Reinl a écrit : > > Salut, > > > > as you can see on Bildschirmfoto.png the Paint.Background is changed to > > Color.Cyan (65535) then on Bildschirmfoto-1.png with Paint.Brush = > > Paint.Color(0) the Paint.Brush has changed, but also the > > Paint.Background was set to 0. > > Bildschirmfoto-2.png is the result. > > > > So what is it, a bug in Paint, in Debug-Window or bad use ? > > > > Paint.Background is a synonymous of Paint.Brush with a single color. > Oh, thats right. But sorry, that I don't understand. By coding Paint.Background = Color.Cyan ' set the Background Color Paint.Brush = Paint.Color(0) ' set the Foreground Color Paint.ClipRect(10, 135,50,22) ' draw Cyan Rectangle Paint.Text("Hello",10,135,50,22,3) ' write Hallo into the Rectangle Paint.Fill Paint.Background is really confusing for setting a 'Foreground' -- Amicalement Charlie -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Fwd: Re: Paginate doesn't clear page
Benoit, Have you found time to verify this? Am I doing something wrong, or is it a feature? :-) Regards Rolf Original-Nachricht Betreff: Re: [Gambas-user] Paginate doesn't clear page Datum: Wed, 05 Dec 2012 13:09:15 +0100 Von: Rolf-Werner Eilert Antwort an: i...@eilert-sprachen.de, mailing list for gambas users An: gambas-user@lists.sourceforge.net Am 05.12.2012 12:51, schrieb Benoît Minisini: > Le 03/12/2012 15:46, Rolf-Werner Eilert a écrit : >> Hi, >> >> With a little bit of testing code, I tried to find out how Paginate works. >> >> Public Sub drucker_Paginate() >> >> Paint.DrawText("Hallo " & CStr(drucker.Page), 300 + (seiten * 100), >> 300 + (seiten * 100)) >> >> Inc seiten >> >> If seiten = 4 Then drucker.Count = 3 >> >> End >> >> >> Public Sub drucker_Draw() >> >> Paint.DrawText("Hallo " & CStr(drucker.Page), 2000, 2000) >> >> End >> >> "drucker" is the printer object, and "seiten" counts the pages. When >> "drucker.Count = 3" is called, Paginate ends and Draw is called. I think >> this is correct. But the resulting three pages show this: >> >> Page 1: 4 x "Hallo 0" and "Hallo 1" >> Page 2: "Hallo 2" >> Page 3: "Hallo 3" >> >> So obviously, Paginate doesn't clear the page when it ends and the first >> page of the "real" printing is printed on everything Paginate has left >> behind. >> >> If this is a feature, how can I clear the page before I start printing? >> >> Regards >> >> Rolf >> > > Paginate is for computing the number of pages, not for drawing anything. > > You don't have to clear the page, it is done automatically before > calling the Draw event handler. > > Regards, > Yep, and as the example showed, this is exactly what it does not do :-) The page isn't cleared before Draw is called, so there remain 4 "Hallo 0" and the "Hallo 1" on the first page. Rolf -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Paint again
Le 17/12/2012 11:49, Charlie Reinl a écrit : > > Oh, thats right. > But sorry, that I don't understand. > By coding > >Paint.Background = Color.Cyan ' set the Background Color >Paint.Brush = Paint.Color(0)' set the Foreground Color >Paint.ClipRect(10, 135,50,22) ' draw Cyan Rectangle >Paint.Text("Hello",10,135,50,22,3) ' write Hallo into the Rectangle >Paint.Fill > > Paint.Background is really confusing for setting a 'Foreground' > Again: Paint.Background and Paint.Brush are the same property, with a different syntax. There is no "foreground" or "background" color with the Paint class. Paint.Background is there only to ease the implementation of the Draw class on top of the Paint class. Please read the Paint class documentation carefully, and/or the cairo documentation, to understand the concept of path. In your code, Paint.Fill() fills the path defined by Paint.Text with the black color affected to Paint.Brush(), that's all. Regards, -- Benoît Minisini -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Paint again and Print
Salut, this tiny printing project is based on the question of Rolf-Werner Eilert. I can not reproduce his printing problem, but I have another. While I'm printing into a PDF, if you use it several times the Font.Size change, even with a Print.Font set. The changes go from tiny points on the page, to one huge letter on. -- Amicalement Charlie prnter-0.0.1.tar.bz2 Description: application/bzip-compressed-tar -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Return & Finally
I've just moved to Ubuntu Precise from Lucid so my brain is in a whirl! I have at the start of a sub: Inc Application.Busy I have at the end of a Sub: Finally Dec Application.Busy However, sometimes the Sub, a Return statement is executed. This appears to result in the "Dec Application.Busy" statement not being executed. What is the best method of ensuring that the "Dec Application.Busy" statement is executed -- Regards, John 01902 331266 -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] RaspberryPi
Could anyone tell me what the best method of installing Gambas3 on a RaspberryPi is? When I get my RaspberryPi, I assuming that it will have Debian Squeeze installed on it. -- Regards, John 01902 331266 -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Return & Finally
On Mon, 17 Dec 2012, John Rose wrote: > I've just moved to Ubuntu Precise from Lucid so my brain is in a whirl! > > I have at the start of a sub: > Inc Application.Busy > > I have at the end of a Sub: > Finally > Dec Application.Busy > > However, sometimes the Sub, a Return statement is executed. This appears > to result in the > "Dec Application.Busy" statement not being executed. What is the best > method of ensuring that the > "Dec Application.Busy" statement is executed > Putting it before the Return? Regards, Tobi -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] RaspberryPi
I compiled from source, that worked fine. Maybe there are binary packages for armhf now, they didn't exist when I tested... /Emil 2012/12/17 John Rose > Could anyone tell me what the best method of installing Gambas3 on a > RaspberryPi is? When I get my RaspberryPi, I assuming that it will have > Debian Squeeze installed on it. > > -- > Regards, > John > 01902 331266 > > > > -- > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] RaspberryPi
On 12/17/2012 09:59 AM, Emil Lenngren wrote: > I compiled from source, that worked fine. Maybe there are binary packages > for armhf now, they didn't exist when I tested... Yes, there are gambas2/3 packages for both armhf and armel in the universe repositories now. http://ports.ubuntu.com/ubuntu-ports/pool/universe/g/gambas3/ http://ports.ubuntu.com/ubuntu-ports/pool/universe/g/gambas2/ I have no idea what the current versions of each are, nor have I tested any ARM version of Gambas, but the most current release in each of those directories has armhf packages. Rob -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Return & Finally
Thanks, Tobias. I've put a copy of the "Dec Application.Busy" statement before the "Return" statement and it now works fine. I'm also trying to cope with switching to Thunderbird from Evolution as well as adjusting to Unity! At least, that's my excuse for not seeing the obvious! -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] RaspberryPi
Emil & Rob, Thanks for your replies. I presume that armhf is appropriate for RaspberryPi. I assume that Ubuntu repos will be fine for Debian Squeeze. I'll let you know how I get on. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] RaspberryPi
On 12/17/2012 11:31 AM, John Rose wrote: > Emil & Rob, > Thanks for your replies. I presume that armhf is appropriate for > RaspberryPi. I assume that Ubuntu repos will be fine for Debian Squeeze. > I'll let you know how I get on. Sorry for the confusion. I just answered that question for someone on an ARM forum and forgot they ship with Debian and not Ubuntu. It may pull in a lot of dependencies from Ubuntu repos that make life difficult in the rest of Debian. But I'd probably still try it; Gambas seems made for an educational device like the Pi. Rob -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Strange behaviour of Frames
Here is a very strange thing in the Form editor, happening only with Frames (as it seems to me now): The form has the focus. a) I click on a Frame, hold the mouse button down and move the mouse: works as expected, the Frame is being moved. b) I click on a Frame to give it the focus, then click again, hold the mouse button down and move the mouse: the Gambas window gets the focus, gets resized (the middle window button), and I move the Gambas window! Very funny. Always reproducable. Regards Matti [System] OperatingSystem=Linux Kernel=3.4.11-2.16-desktop Architecture=i686 Memory=3052876 kB DistributionVendor=SuSE DistributionRelease=openSUSE 12.2 (i586) VERSION = 12.2 CODENAME = Mantis Desktop=KDE4 Language=de_DE.UTF-8 [Gambas 3] Version=3.3.90 rev. 5438 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 Poppler=libpoppler.so.27.0.0 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+=libgtk-x11-2.0.so.0.2400.10 SDL=libSDL-1.2.so.0.11.4 -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Feature request: Component hunt disabler
Why, I could not reproduce the error! 2012/12/16 Benoît Minisini > Le 16/12/2012 19:36, M. Cs. a écrit : > > Hello Benoit, > > I would like to ask you to set a default behavior for the Gambas3 IDE: > > > > When I do some changes either in code editor in let say Public Sub > MyAct(), > > or in form designer on a component Combobox1 after hitting F5 and > checking > > the difference, the IDE drops me either to a random part of code or to > > FMain's properties. This is very annoying and can take quite a lot of > time > > to search for the code I've just edited or to find a component in > Hierarchy > > tree. Can this kind of behavior be healed. I would like to continue the > > code writing/ designing right there where I was before the Compile&Run. > > > > Thanks! > > > > Csaba > > Sorry, I don't understand: if I start or stop a program, the current > editor and the current cursor do not change. > > Can you explain differently, eventually with screenshots? > > -- > Benoît Minisini > > > -- > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Setting all RadioButton's values to false
Is there a possibility to set all the RadioButton's values to false? E.G: RadioButton1.Value = False RadioButton2.Value = False RadioButton3.Value = False RadioButton4.Value = False RadioButton5.Value = False RadioButton6.Value = False Will still leave the last clicked RadioButton's value True. Thanks! Csaba -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Setting all RadioButton's values to false
Don't think so. See http://gambasdoc.org/help/comp/gb.qt/radiobutton?v2 RadioButtons are for choosing only one in a group, but always choosing one. If you want to deselect all, you should use CheckBoxes. Am 17.12.2012 21:23, schrieb M. Cs.: > Is there a possibility to set all the RadioButton's values to false? > > E.G: > RadioButton1.Value = False > RadioButton2.Value = False > RadioButton3.Value = False > RadioButton4.Value = False > RadioButton5.Value = False > RadioButton6.Value = False > > Will still leave the last clicked RadioButton's value True. > > Thanks! > > Csaba -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Fwd: Re: Paginate doesn't clear page
Le 17/12/2012 12:18, Rolf-Werner Eilert a écrit : > Benoit, > > Have you found time to verify this? Am I doing something wrong, or is it > a feature? :-) > > Regards > > Rolf > Maybe we misunderstood there. You must remove the drawing code from the Paginate event. Did you do that? Paginate has nothing to do with actual drawing. Everything is done in the Draw event handler, which is called once for each page. Each time the Draw event is raised, a new page is started on the printer (except for the first one of course). If your page is not blank at drawing start, only then this is a bug/ So if you have a non-wanted behaviour after removing the drawing code from the Paginate event handler, please send me a little project that reproduces it, and tell me if you are using GTK+ or QT. Thanks. -- Benoît Minisini -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Setting all RadioButton's values to false
You can in an emulated way, simply add an extra radiobutton in the series but make its visible property false and don't allow setting focus or tabbing to it. When you want to clear the 'visible ones' set the invisible one to True. I use it all the time throughout my program Regards richard > Don't think so. See > http://gambasdoc.org/help/comp/gb.qt/radiobutton?v2 > > RadioButtons are for choosing only one in a group, but always choosing one. > > If you want to deselect all, you should use CheckBoxes. > > > Am 17.12.2012 21:23, schrieb M. Cs.: > >> Is there a possibility to set all the RadioButton's values to false? >> >> E.G: >> RadioButton1.Value = False >> RadioButton2.Value = False >> RadioButton3.Value = False >> RadioButton4.Value = False >> RadioButton5.Value = False >> RadioButton6.Value = False >> >> Will still leave the last clicked RadioButton's value True. >> >> Thanks! >> >> Csaba >> > > -- > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Setting all RadioButton's values to false
Clever. But I don't understand: the RadioBoxes in a container are made for deciding between some defined options. In which situation you could decide to 'none'? E.g. send a document to a printer or export it as a .pdf or something, set the page layout to landscape or portrait, choose between currencies, set a timezone... Am 17.12.2012 21:49, schrieb Richard Terry: > > You can in an emulated way, simply add an extra radiobutton in the > series but make its visible property false and don't allow setting focus > or tabbing to it. > > When you want to clear the 'visible ones' set the invisible one to True. > > I use it all the time throughout my program > > Regards > > richard > >> Don't think so. See >> http://gambasdoc.org/help/comp/gb.qt/radiobutton?v2 >> >> RadioButtons are for choosing only one in a group, but always choosing one. >> >> If you want to deselect all, you should use CheckBoxes. >> >> >> Am 17.12.2012 21:23, schrieb M. Cs.: >> >>> Is there a possibility to set all the RadioButton's values to false? >>> >>> E.G: >>> RadioButton1.Value = False >>> RadioButton2.Value = False >>> RadioButton3.Value = False >>> RadioButton4.Value = False >>> RadioButton5.Value = False >>> RadioButton6.Value = False >>> >>> Will still leave the last clicked RadioButton's value True. >>> >>> Thanks! >>> >>> Csaba >>> >> >> -- >> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial >> Remotely access PCs and mobile devices and provide instant support >> Improve your efficiency, and focus on delivering more value-add services >> Discover what IT Professionals Know. Rescue delivers >> http://p.sf.net/sfu/logmein_12329d2d >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > -- > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Setting all RadioButton's values to false
... or you just could add an 'other' RadioBox: Pet: - Dog - Cat - Parrot - Turtle - Other Am 17.12.2012 22:21, schrieb Matti: > Clever. > But I don't understand: the RadioBoxes in a container are made for deciding > between some defined options. > In which situation you could decide to 'none'? > E.g. send a document to a printer or export it as a .pdf or something, > set the page layout to landscape or portrait, > choose between currencies, > set a timezone... > > -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Feature request: Component hunt disabler
Hi Benoît, I have the same problem since a few weeks now, and I just understood what it was. Actually, when I get a compilation warning, the IDE automatically jumps to the position of the warning, and makes these "messy jumps". I know that I should write my code so that I won't have any warning, but this is really annoying. Regards, -- Adrien Prokopowicz -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Feature request: Component hunt disabler
Le 18/12/2012 01:01, Adrien Prokopowicz a écrit : > > Hi Benoît, > > I have the same problem since a few weeks now, and I just understood what > it was. > Actually, when I get a compilation warning, the IDE automatically jumps to > the position of the warning, and makes these "messy jumps". > I know that I should write my code so that I won't have any warning, but > this is really annoying. > > > Regards, > Warnings can be disabled in the project property dialog if they are unwanted. Regards, -- Benoît Minisini -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] R: Setting all RadioButton's values to false
Public Sub Button1_Click() Dim obj As Object For Each obj In FMain.Children If Object.Type(obj) = "RadioButton" Then obj.Value = False Endif Next End --- Lun 17/12/12, M. Cs. ha scritto: > Da: M. Cs. > Oggetto: [Gambas-user] Setting all RadioButton's values to false > A: "mailing list for gambas users" > Data: Lunedì 17 dicembre 2012, 21:23 > Is there a possibility to set all the > RadioButton's values to false? > > E.G: > RadioButton1.Value = False > RadioButton2.Value = False > RadioButton3.Value = False > RadioButton4.Value = False > RadioButton5.Value = False > RadioButton6.Value = False > > Will still leave the last clicked RadioButton's value True. > > Thanks! > > Csaba > -- > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. > Free Trial > Remotely access PCs and mobile devices and provide instant > support > Improve your efficiency, and focus on delivering more > value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Fwd: Re: Paginate doesn't clear page
Am 17.12.2012 21:36, schrieb Benoît Minisini: > Le 17/12/2012 12:18, Rolf-Werner Eilert a écrit : >> Benoit, >> >> Have you found time to verify this? Am I doing something wrong, or is it >> a feature? :-) >> >> Regards >> >> Rolf >> > > Maybe we misunderstood there. You must remove the drawing code from the > Paginate event. Did you do that? > > Paginate has nothing to do with actual drawing. Everything is done in > the Draw event handler, which is called once for each page. > > Each time the Draw event is raised, a new page is started on the printer > (except for the first one of course). If your page is not blank at > drawing start, only then this is a bug/ > > So if you have a non-wanted behaviour after removing the drawing code > from the Paginate event handler, please send me a little project that > reproduces it, and tell me if you are using GTK+ or QT. > > Thanks. > Yes I did misunderstand the meaning of paginate here, I think. What is paginate good for, if I cannot try printing PRIOR TO actually printing and see how many pages I will get? So this is what I expected: When it is unclear how many pages my document will produce (maybe I want to print a longer list), I make a dry run using paginate, writing everything into the paginate "null device" to see "ok, we will get 4 pages out of it", so I can make things like "page 3/4" etc. But as you said, this is not what it is meant to be for, so please enlighten me about its real use, because I don't see any :-)) Thank you! Rolf -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user