Re: [Gambas-user] problem with alignmet & position in GB3(qt)

2010-04-07 Thread Kadaitcha Man
On 6 April 2010 20:38, richard terry wrote: > I've never used a panel ever in my project, and I've hundreds of forms and > modules on a postgres backend with 30 schemas and hundreds of tables. > > I've programmed in VB3-6, Python/ wxPython, various IDe's and I reckon gambas > is probably the most

Re: [Gambas-user] problem with alignmet & position in GB3(qt)

2010-04-06 Thread Kadaitcha Man
On 6 April 2010 18:55, kobolds wrote: > > I couldn't find the option snap to grid in GB3 but I try on/off the toggle > grid . same result . > > problem align same height and same width. > 1. i create a form and drop 3 buttons > 2. change the  button1  only widthxheight to 80x100 > 3. select the re

Re: [Gambas-user] problem with alignmet & position in GB3(qt)

2010-04-06 Thread Kadaitcha Man
On 6 April 2010 08:19, Ron_1st wrote: > On Monday 05 April 2010, Kadaitcha Man wrote: >> On 5 April 2010 17:19, kobolds wrote: >> > >> > here how you do the test on IDE >> > >> > 1. create a form (768x1024) >> > 2. drag a panel into the

Re: [Gambas-user] problem with alignmet & position in GB3(qt)

2010-04-05 Thread Kadaitcha Man
On 5 April 2010 17:19, kobolds wrote: > > here how you do the test on IDE > > 1. create a form (768x1024) > 2. drag a panel into the form (make sure it big) > 3. drag a picbox into the panel (same size as panel) so the picbox cover the > whole panel > 4. drag 9 buttons on it ( on top of picbox) >

Re: [Gambas-user] Parallel Port

2010-04-03 Thread Kadaitcha Man
On 4 April 2010 08:14, Bjorn Macintosh wrote: > Hi all, > > Does anyone have a program that interfaces with the parallel port, one > written in Gambas.  If you do would you be willing to share this program > with me as I am trying to write a parallel port interface and am struggling > to get my he

Re: [Gambas-user] CURL: Custom outgoing headers

2010-03-08 Thread Kadaitcha Man
On 8 March 2010 14:26, shan...@831photography.com wrote: > Related question: sending a jpg as POST data - open the file as sring? byte? > I've tried all without success. Any guidance would be helpful! Get the data in byte format and use the enctype="multipart/form-data" protocol. http://www.w3

Re: [Gambas-user] Draw.Text problem with control chars

2010-02-01 Thread Kadaitcha Man
On 1 February 2010 23:10, Doriano Blengino wrote: > Probably we are > saying the same thing. Not if a tab is eight spaces wide, we aren't :) -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay o

Re: [Gambas-user] Draw.Text problem with control chars

2010-02-01 Thread Kadaitcha Man
On 1 February 2010 20:37, Doriano Blengino wrote: > Kadaitcha Man ha scritto: >> On 31 January 2010 22:14, Doriano Blengino >> wrote: >> >>> Kad Mann ha scritto: >>> >>>> Doriano Blengino wrote: >>>> >>>>> A tab wi

Re: [Gambas-user] Draw.Text problem with control chars

2010-02-01 Thread Kadaitcha Man
On 31 January 2010 22:14, Doriano Blengino wrote: > Kad Mann ha scritto: >> Doriano Blengino wrote: >> >> >>> A tab width is normally eight spaces >>> >> >> Every single one of my cites say you're completely wrong. >> >> http://en.wikipedia.org/wiki/Tab_key >> www.jwz.org/doc/tabs-vs-spaces.html >

Re: [Gambas-user] Conflict of names when extending the String class

2010-01-28 Thread Kadaitcha Man
2010/1/28 Benoît Minisini : > You can't, it's a bug. Well done. :-) HURRUMPH! -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the

Re: [Gambas-user] Datacombo order by display

2010-01-28 Thread Kadaitcha Man
On 28 January 2010 20:43, Cyro Corte Real Filho wrote: > 2010/1/27 Benoît Minisini > >> > Hello all, >> > >> > I started to program with gambas and i am very impressed and satisfied so >> > far, a have only two drawbacks on the moment: >> > >> > 1. How can i order my Datacombo by the display Text

Re: [Gambas-user] V2.19 closes unexpectedly

2010-01-27 Thread Kadaitcha Man
2010/1/28 Benoît Minisini : > OK, I got it. As I told you, there is a very deep directory inside your > project i suspect Gambas did that. Such a thing happened to me a couple of months back but I have never been able to reproduce it. I may have been saving one project over another or doing somet

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-27 Thread Kadaitcha Man
2010/1/27 Doriano Blengino : > Kadaitcha Man ha scritto: >> 2010/1/27 Benoît Minisini : >> >> >> >> Doriano, it isn't personal, squire. I have an exquisite understanding >> of English, which means I can twist it anyway I like :) >> >> Dori

Re: [Gambas-user] Datacombo order by display

2010-01-27 Thread Kadaitcha Man
2010/1/27 Rolf-Werner Eilert : > Am 27.01.2010 09:08, schrieb Kadaitcha Man: >> 2010/1/27 Rolf-Werner Eilert: >> >>> How can I access the clipboard from Gambas? >> >> http://tinyurl.com/y898okr >> >> Regards, > > Didn't expect it to be T

Re: [Gambas-user] How to develop gambas component

2010-01-27 Thread Kadaitcha Man
2010/1/27 Matteo Lisi : > Hi ! HI111 > No , you are right ! Yes, he is wrong? > But , correct me if I'm wrong Que? The easiest way to achieve what you want is a simple boolean flag. $bTranscript = (Settings[mConst.SET_TRANSCRIPT] = mConst.YES) If $bTranscript Then $fT

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-27 Thread Kadaitcha Man
2010/1/27 Benoît Minisini : > The Kadaitcha syndrome apparently :-) Yeah, look, mate, honestly, I have that effect on people. i really don't know why. Despite my best efforts to avoid it, it just happens. I mean, heck, I have been unknowingly having that effect on people without any kind of inten

Re: [Gambas-user] indexing of buttons

2010-01-27 Thread Kadaitcha Man
2010/1/27 Fiddler63 : > In gambas I get an error if I give more that one button the same name. > How do I index a row of buttons in Gambas ? You don't. Gambas is not VB; it does not suppor, and rightly so, arrays of control objects in the way that VB does; even the more modern .NET revisions do n

Re: [Gambas-user] Datacombo order by display

2010-01-27 Thread Kadaitcha Man
2010/1/27 Rolf-Werner Eilert : > How can I access the clipboard from Gambas? http://tinyurl.com/y898okr Regards, -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data c

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-26 Thread Kadaitcha Man
2010/1/26 Doriano Blengino : > Kadaitcha Man ha scritto: >> 2010/1/26 Doriano Blengino : >> >> >>> This is a more general problem of gambas syntax. Is Listbox1[5] the >>> sixth element of an array of listboxes, or the sixth element of >>> Listbox1

Re: [Gambas-user] Ping > Benoit --> Apology

2010-01-26 Thread Kadaitcha Man
2010/1/27 Benoît Minisini : > Good news then. But I don't understand how a news reader could break a proxy, > but I am not a network specialist at all! Pan doesn't break the proxy, it breaks itself. -- The Planet: dedica

[Gambas-user] Ping > Benoit --> Apology

2010-01-26 Thread Kadaitcha Man
Benoit, Some time ago (5 Dec or thereabouts) I reported that sockets in my Gambas-based proxy would mysteriously die and for no apparent reason, would continue to refuse to work barring a full linux reinstallation. There was much to-ing and fro-ing, resulting you being unable to pinpoint what the

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-26 Thread Kadaitcha Man
2010/1/26 Doriano Blengino : > Kadaitcha Man ha scritto: >>> Tree1 is a TreeView, not a node. >>> >> >> Therefore tv["Tree1"].Count = 2 is still true. >> > No, it is false. tv["Tree1"].Children.Count is two. Take a step back. If,

Re: [Gambas-user] Installation Gambas2 on Ubuntu 9.10, gb.qte disabled

2010-01-26 Thread Kadaitcha Man
2010/1/26 M. Cs. : > Enable repositories for Lucid, and install gambas2 from .deb packages. >From what I understand, that's probably the worst thing he could do. -- The Planet: dedicated and managed hosting, cloud storage

Re: [Gambas-user] Digest in UTF-8

2010-01-26 Thread Kadaitcha Man
2010/1/26 Pino Zollo : > Hi, > I receive this forum in Digest forme.g. Gambas-user Digest, Vol 44, Issue > 68 > > Would it be possible to make it use UTF-8 ? What do you want to be made UTF8? Gambas or the digest? --

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-26 Thread Kadaitcha Man
2010/1/26 Doriano Blengino : > This is a more general problem of gambas syntax. Is Listbox1[5] the > sixth element of an array of listboxes, or the sixth element of > Listbox1? You are confabulating and conflating. > I never tried to make array of listboxes There you go then, hey. So, why do yo

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-26 Thread Kadaitcha Man
2010/1/26 Doriano Blengino : > Kadaitcha Man ha scritto: >> 2010/1/26 Doriano Blengino : >> >> >>> Actually I expressed myself badly. Example: >>> >> >> Actually, I express myself badly quite often. Example: >> >> [CENSORE

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-26 Thread Kadaitcha Man
2010/1/26 Doriano Blengino : > Actually I expressed myself badly. Example: Actually, I express myself badly quite often. Example: [CENSORED] [CENSORED] [CENSORED] [CENSORED]! :) As for this: [QUOTE] Tree1: - item0 - item1 - item1.0 Tree1.count is 3 (global count) [QUOTE] Unless y

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-26 Thread Kadaitcha Man
On 26 January 2010 18:58, Doriano Blengino wrote: > What about using two different properties: .Count (all the items) and > .Children.Count (only the children of a specific node)? I neglected to mention, your idea does not seem to allow for the count of root nodes. -

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-26 Thread Kadaitcha Man
On 26 January 2010 18:58, Doriano Blengino wrote: > Benoît Minisini ha scritto: >>> Benoît, >>> >>> Just for that you should go with the GTK+ way :P >>> >>> Regards, >>> Dimitris >>> >>> >> >> But is it really useful? We need to know how many root items a TreeView or a >> ColumnView has, too! >> >

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-25 Thread Kadaitcha Man
On 26 January 2010 12:44, Dimitris Anogiatis wrote: > Benoît, > > Just for that you should go with the GTK+ way :P Just for that, he should go with however Windows does it. Neener! Neener! :) -- The Planet: dedicated a

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-25 Thread Kadaitcha Man
2010/1/26 Benoît Minisini : >> Benoît, >> >> Just for that you should go with the GTK+ way :P >> >> Regards, >> Dimitris >> > > But is it really useful? We need to know how many root items a TreeView or a > ColumnView has, too! Perhaps a new property. However, when I need to know such things, I wr

Re: [Gambas-user] TreeView.Count value differs using qt rather than gtk

2010-01-25 Thread Kadaitcha Man
2010/1/26 Benoît Minisini : > But now I can't decide. Go with the logic! Go with the logic! -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best ne

Re: [Gambas-user] fastest way to "zero-out" a huge binary file

2010-01-23 Thread Kadaitcha Man
On 24 January 2010 16:08, kevinfishburne wrote: > Praise God, I was incorrect. I was foolishly using too small a datatype > (integer) when calculating the seek position. Now that I switched it to long > all is well. :) Have you tried using a Long instead of an Integer? :) ---

Re: [Gambas-user] fastest way to "zero-out" a huge binary file

2010-01-23 Thread Kadaitcha Man
On 24 January 2010 16:02, kevinfishburne wrote: > Excellent, thanks. I seem to have found something horrifying while trying to > create the file using GAMBAS however; using the SEEK statement with an > argument greater than 2 GB raises a "Bad argument" error. While that doesn't > affect my abilit

Re: [Gambas-user] fastest way to "zero-out" a huge binary file

2010-01-23 Thread Kadaitcha Man
On 24 January 2010 14:21, kevinfishburne wrote: In a terminal, type: info coreutils 'dd' You only need create the file once, then copy it whenever you need to during testing. If you really must create the file every time, let dd do it by using Gambas' Exec command. HTH ---

Re: [Gambas-user] How to change a component

2010-01-20 Thread Kadaitcha Man
2010/1/20 Rolf-Werner Eilert : > How can I fiddle around in a component? What must I do? > > For instance, if I want to change anything in the Balloon thing, I found > the sources in the original directory where make ran, but where do I go > to change something for the installed version? Or do I ha

Re: [Gambas-user] output to open office files

2010-01-20 Thread Kadaitcha Man
2010/1/20 yuhej : > > Hello Benoît, > > As far as I know we have no easy option to write data to open office calc > files like VB can do to excel. > Once I read in a comment of you - if my memory is correct - that you plan to > do a function for that but only in the far future. Is it previewed in >

Re: [Gambas-user] Custom controls - 1 more question

2010-01-19 Thread Kadaitcha Man
2010/1/19 Doriano Blengino : > Or, at least, so It should be - too > lazy to try by myself... It is so, Doriano. And don't fret about not trying it, because I did it for you :) I have never experienced the problem because I learned. very early on, the value of containers. Nevertheless it does ap

Re: [Gambas-user] Custom controls - 1 more question

2010-01-19 Thread Kadaitcha Man
2010/1/19 Ron_1st : > if he want the control always on the form the dim must be done global > in the head else it lives only for the time the subroutine lives (??) Wrong. His code will show nothing. The default background of a label is the same as that of a form. A label has no border, and his co

Re: [Gambas-user] Custom controls - 1 more question

2010-01-19 Thread Kadaitcha Man
2010/1/19 Aaron Peachey : > Yes, this is the code in my form's class file: > > PUBLIC SUB Form_Open() >  DIM lblName AS Label >  lblName = NEW Label(ME) >  lblName.Show() > END Erm... have you tried putting text in the label's Caption property, set its width and X, Y location so that it is within

Re: [Gambas-user] Program going off the rails in a way I can't explain. Help?

2010-01-19 Thread Kadaitcha Man
2010/1/19 Doriano Blengino : >    combo1.add('An item") >    combo1_click   ' would be better to "raise an event to an object" My last post aside, it is not the job of the calling code to know what the called code should do. Nor is the job of the calling code to do what the called code ought to h

Re: [Gambas-user] Program going off the rails in a way I can't explain. Help?

2010-01-19 Thread Kadaitcha Man
2010/1/19 Doriano Blengino : > Kadaitcha Man ha scritto: >> 2010/1/19 Doriano Blengino : >> >> >>> I think that setting up a flag won't hurt anyway, even if it is ugly. >>> The whole GUI world (not only gambas) seems to have this kind of >

Re: [Gambas-user] Program going off the rails in a way I can't explain. Help?

2010-01-19 Thread Kadaitcha Man
2010/1/19 Doriano Blengino : > I think that setting up a flag won't hurt anyway, even if it is ugly. > The whole GUI world (not only gambas) seems to have this kind of > mentality (to raise an event in response to modifications made by code), 1) Flags are necessary in any GUI. 2) Events caused b

Re: [Gambas-user] Error - Signal 11 - Gambas 2.19

2010-01-18 Thread Kadaitcha Man
2010/1/18 Fiddler63 : >> A button with the following code will cause a Signal 11 error in Gambas >>  2.19. If I remove the ([50, 50]) I get no error. >> >> PUBLIC SUB New_Btn_Click() >> DIM hPic AS Picture >> hPic = NEW Picture([50, 50]) >> >> END >> >> Cheers >> Kim >> > > Please provide your

Re: [Gambas-user] Socket Limitations

2010-01-04 Thread Kadaitcha Man
2010/1/5 Doriano Blengino : > Kadaitcha Man ha scritto: >> 2010/1/5 Doriano Blengino : >> >> I disagree. Blocking mode guarantees known certainties, as defined by >> any number of RFC documents. >> > Pardon me... I think that RFCs have nothing to do with blocki

Re: [Gambas-user] Socket Limitations

2010-01-04 Thread Kadaitcha Man
2010/1/5 Doriano Blengino : > Kadaitcha Man ha scritto: >> 2010/1/4 Doriano Blengino : >>> I think that there is >>> something extreme in trying to send large chunks of data in  a single >>> instruction, >>> >> >> Wlll... Not ne

Re: [Gambas-user] Socket Limitations

2010-01-04 Thread Kadaitcha Man
2010/1/4 Doriano Blengino : > Kadaitcha Man ha scritto: >> 2010/1/4 Doriano Blengino : >> >> >>> My idea was to raise an event when a line has been read >>> >> >> Based on what I just posted to the developer's list, you will need to >&

Re: [Gambas-user] Socket Limitations

2010-01-03 Thread Kadaitcha Man
2010/1/4 Doriano Blengino : > My idea was to raise an event when a line has been read Based on what I just posted to the developer's list, you will need to be specific about what defines an end of line. For example: NUL ^@ \0 Null character ETX ^C End of Text LF

Re: [Gambas-user] Release of Gambas 2.19

2010-01-03 Thread Kadaitcha Man
2010/1/4 Benoît Minisini : > I wish everyone an happy new MMX year, and I hope that this year will be the Same to you. > year of the Gambas 3 release! :-) It should be, gb3 is good enough. -- This SF.Net email is spons

Re: [Gambas-user] Socket Limitations

2010-01-03 Thread Kadaitcha Man
2010/1/4 Doriano Blengino : > My idea was to raise an event when a line has been > read As an optional setting, that would be absolutely brilliant and would resolve a number of potential and real problems. > I would like an event for every line, I too would like an event for every line. > an e

Re: [Gambas-user] Socket Limitations

2010-01-03 Thread Kadaitcha Man
2010/1/4 Doriano Blengino : > This is the TCP scenario: you send data, and don't know what the hell > those data have done - only that it is arrived. Never tried to speak FTP > to a server which talks HTTP? Or to speak HTTP to a CIFS server? Yes, I have. Many, many times. > There > must be a hig

Re: [Gambas-user] Socket Limitations

2010-01-03 Thread Kadaitcha Man
2010/1/4 Doriano Blengino : > the normal syntax implies that the value you read is > available just after; in this case, one should "declare" that he wants > to read a line, YES! YES! YES! Pardon my excitement. > The timeout, as seen in this discussion, could be settable for error > raising pur

Re: [Gambas-user] Socket Limitations

2010-01-03 Thread Kadaitcha Man
2010/1/3 Benoît Minisini : > > > I'm not sure that the MSDN documentation is a good reference for socket > programming: > > - The Microsoft documentation is often not connected to the reality it tries > to describe. > > - The Windows socket implementation often behaves differently than the other

Re: [Gambas-user] Socket Limitations

2010-01-03 Thread Kadaitcha Man
2010/1/3 Doriano Blengino : > Kadaitcha Man ha scritto: >> 2010/1/3 Doriano Blengino : >> >>> After a few minutes I suggested that a timeout could simplify things, I >>> changed my mind. It would not be a totally bad idea but, as most other >>> mechanism

Re: [Gambas-user] Socket Limitations

2010-01-03 Thread Kadaitcha Man
2010/1/3 Doriano Blengino : > Kadaitcha Man ha scritto: > After a few minutes I suggested that a timeout could simplify things, I > changed my mind. It would not be a totally bad idea but, as most other > mechanisms, it has its problems. First, what is the right timeout? It is eit

Re: [Gambas-user] Socket Limitations

2010-01-02 Thread Kadaitcha Man
2010/1/3 Benoît Minisini : > By default, Socket are in non-blocking mode (Blocking property set to False). > So writing to it a big chunk fails. The bug is that instead of raising an > error during the Write instruction, it fails silently. > > By having a blocking socket, your program works. > > S

Re: [Gambas-user] Socket Limitations

2010-01-02 Thread Kadaitcha Man
2010/1/3 Benoît Minisini : >> 2010/1/3 Kadaitcha Man : >> > 2010/1/3 Benoît Minisini : >> > >> > http://gambasdoc.org/help/comp/gb.net/socket >> > >> > I will see about updating the Socket page and add the Blocking >> > property to

Re: [Gambas-user] Socket Limitations

2010-01-02 Thread Kadaitcha Man
2010/1/3 Benoît Minisini : >> >> Yes, I'll look at that, but why in the Ready event? Would there be any >> disadvantage or problem with setting the socket to block permanently >> when it is instantiated and its properties setup in code? Also, if it >> is set in the Ready event, would it needlessly

Re: [Gambas-user] Socket Limitations

2010-01-02 Thread Kadaitcha Man
2010/1/3 Kadaitcha Man : > 2010/1/3 Benoît Minisini : > http://gambasdoc.org/help/comp/gb.net/socket > > I will see about updating the Socket page and add the Blocking > property to the list of inherited properties. Before I do that, is Blocki

Re: [Gambas-user] Socket Limitations

2010-01-02 Thread Kadaitcha Man
2010/1/3 Doriano Blengino : > after a timeout occurs, one can only assume that > the entire write has failed, even if, in fact, some data has been > succefully written. Yes, you are quite correct, but the problem of partial data transfer due to a timeout is not a problem for the socket to sort ou

Re: [Gambas-user] Socket Limitations

2010-01-02 Thread Kadaitcha Man
2010/1/3 Benoît Minisini : >> > 2010/1/2 Benoît Minisini : >> >> Please provide the source code of the network communication, >> >> otherwise I can't see what you are doing exactly. >> >> Ok, here is some code that adequately reproduces the problem, and the >> exact same code with a smaller chunk

Re: [Gambas-user] Socket Limitations

2010-01-01 Thread Kadaitcha Man
> 2010/1/2 Benoît Minisini : >> Please provide the source code of the network communication, >> otherwise I can't see what you are doing exactly. Ok, here is some code that adequately reproduces the problem, and the exact same code with a smaller chunk of text that does not have the problem. Soc

Re: [Gambas-user] Not sure about what type of project to use, pls advise

2010-01-01 Thread Kadaitcha Man
2010/1/2 Jussi Lahtinen : > About Qt3 commercial developer license. > http://qt.nokia.com/products/licensing Interesting, however there is no mention of the different versions of Qt, nor of Qt4 being free for proprietary software, and purchasing the developer version is independent of writing non-

Re: [Gambas-user] Socket Limitations

2010-01-01 Thread Kadaitcha Man
2010/1/2 Benoît Minisini : > Do you mean that if you write more than 41K of data on a Socket, it fails > silently? Yes, precisely. > Please provide the source code of the network communication, > otherwise I can't see what you are doing exactly. I will have to mock something up over the coming

[Gambas-user] Socket Limitations

2010-01-01 Thread Kadaitcha Man
gb3, qt4 on Ubuntu 9.10. Are there any known limits on the size of data that can be sent down a socket in one gulp? I have a proxy written in gb3 that uses Socket to communicate with a remote server and uses ServerSocket to get data from the client. ServerSocket seems to gag when given anything a

Re: [Gambas-user] Gambas scripter

2009-12-31 Thread Kadaitcha Man
2010/1/1 Benoît Minisini : > The scripter is very hacky: welcome to you, tester! :-) lol -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development supp

Re: [Gambas-user] Gambas scripter

2009-12-31 Thread Kadaitcha Man
2010/1/1 Ron : > Ron wrote: >> Ron wrote: >>> Ron wrote: > If you You seem to be talking to yourself, Ron. Are you ok? -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best

Re: [Gambas-user] Anti-aliasing painting

2009-12-30 Thread Kadaitcha Man
2009/12/31 Benoît Minisini : > In the future, Paint will draw on Printer (gb.gtk will have print support!), > and will generate SVG, Postscript and Pdf documents, in both components! Nice. -- This SF.Net email is sponsor

Re: [Gambas-user] Where can I find the version number?

2009-12-30 Thread Kadaitcha Man
2009/12/31 Benoît Minisini : > Look at the first dialog you see when running the IDE. Gambas 3 doesn't display a build number on the opening dialog. Having some easy way of seeing the build number without having to resort to querying svn would be very helpful for a lot of people. ---

Re: [Gambas-user] Not sure about what type of project to use, pls advise

2009-12-30 Thread Kadaitcha Man
2009/12/31 Jussi Lahtinen : > License issues... > I have understand that GTK+ is free, Qt3 is free only for > non-proprietary software, > and Qt4 is free for proprietary software also. If those are issues that anyone need consider then how can the likes of ATI and nVidia create control panels for

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Kadaitcha Man
2009/12/30 Dr. Diesel : > On Tue, Dec 29, 2009 at 7:54 AM, Kadaitcha Man < > nospam.nospam.nos...@gmail.com> wrote: > >> 2009/12/29 Dr. Diesel : >> > On Tue, Dec 29, 2009 at 5:23 AM, Kadaitcha Man < >> > nospam.nospam.nos...@gmail.com> wrote: >

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Kadaitcha Man
Doriano Blengino wrote: > without global variables no programs could run... Counterfactual. Fallacious. False. In error. Inaccurate. Inexact. Misconstrued. Misguided. Mistaken. Not right. Untrue. Incorrect. Erroneous. False. Way off. Wide of the mark. Absurd. Groundless Incongruous. Incorrect.

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Kadaitcha Man
Doriano Blengino wrote: > Kadaitcha Man ha scritto: >> 2009/12/29 Dr. Diesel : >> >> >>> just there seems no way to make it >>> global and accessable across different modules/classes. >>> >> >> HA! I had that same logical problem

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Kadaitcha Man
2009/12/29 Dr. Diesel : > On Tue, Dec 29, 2009 at 5:23 AM, Kadaitcha Man < > nospam.nospam.nos...@gmail.com> wrote: > Thanks for the help. You're welcome. >  I just need to confirm if it is not currently possible > in gambas3 or am I just doing something wrong? I

Re: [Gambas-user] Strange behavior of Items on panel

2009-12-29 Thread Kadaitcha Man
2009/12/29 norarg : > (Ubuntu 9.10/Gambas 2.13) Take this with a bucketful of salt, but from my experience, you're better of with Gambas 3 and Qt4 on Ubuntu. I use 9.10 x64. Ubuntu uses GTK+, but Qt is far better. You need to consider installing Qt4, the latest Gambas 3, and if you do that then

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Kadaitcha Man
2009/12/29 Dr. Diesel : > just there seems no way to make it > global and accessable across different modules/classes. HA! I had that same logical problem. There is no concept of global in Gabas that matches any variation of VB's idea of global. This is the fault of Microsoft. In the old days the

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Kadaitcha Man
2009/12/29 charlesg : > > Hi > > Project, Options, "Module symbols are public by default"=yes ? I'm sorry, Charles, but I must disagree with that solution. Some time back in the distant past (over 2yrs ago) there was a change in Gambas that meant the compiler made module symbols private by default

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Kadaitcha Man
2009/12/29 Dr. Diesel : > On Mon, Dec 28, 2009 at 6:14 AM, Fabien Bodard wrote: > >> use a class ; >> TDBInfo >> 'Gambas Class >> >> PUBLIC    DatabasePath    As String >> PUBLIC    DatabaseName    As String >> PUBLIC    TableName       As String >> PUBLIC    PurgeSQL        As String >> PUBLIC  

Re: [Gambas-user] gb3: Call trace in debug

2009-12-13 Thread Kadaitcha Man
2009/12/13 Fabien Bodard : > The good news is The good news is it worked, and I didn't bother deleting the config :) Thank you, your help really is very much appreciated. -- Return on Information: Google Enterprise Sear

Re: [Gambas-user] gb3: Call trace in debug

2009-12-13 Thread Kadaitcha Man
2009/12/13 Fabien Bodard : > but it will be not sufficient you need to reduce now the stack that > take all the slide... there is a setting bug with the splitter > controle... i need to investigate more... Ok. Happy to help. > The good news is when you have corrected the size, it is well saved i

Re: [Gambas-user] gb3: Call trace in debug

2009-12-13 Thread Kadaitcha Man
2009/12/13 Kadaitcha Man : > 2009/12/13 Fabien Bodard : > >> open IDE and try to do a step by step debug ... you will see the stack >> (F8) > > Nope. > > I'll pull the latest svn and recompile. Ok, rev 2490 now reconfiguring. I still have recompile, so in

Re: [Gambas-user] gb3: Call trace in debug

2009-12-13 Thread Kadaitcha Man
2009/12/13 Fabien Bodard : > open IDE and try to do a step by step debug ... you will see the stack > (F8) Nope. I'll pull the latest svn and recompile. -- Return on Information: Google Enterprise Search pays you back G

Re: [Gambas-user] gb3: Call trace in debug

2009-12-13 Thread Kadaitcha Man
2009/12/13 Fabien Bodard : > Ok i've found the problem :) > but for you :) > open the file at : > > ~/.config/gambas3/gambas3.conf > > find the line : [FDebugInfo] > > replace the value by : splDebug=[502,122] > > > then save the file > > open IDE and try to do a step by step debug ... you wil

[Gambas-user] gb3: Call trace in debug

2009-12-12 Thread Kadaitcha Man
I've seen it somewhere, but can I find it in gb3? Nooo. Is there a call trace window when debugging in gb3? If there is, how do I display it? I'm trying to debug some events and can't tell where a call to a routine is originating from.

Re: [Gambas-user] Workaround for LEN()

2009-12-12 Thread Kadaitcha Man
2009/12/13 Norarg : > Still it would be nice to hear from someone about this, I do not find > this solution good. I assume it has something to do with the characterset, > but I can > not really figure it out. Simonart Dominique: "Use the String class methods and all will works as you expected."

Re: [Gambas-user] Really dumb question about dialog forms

2009-12-11 Thread Kadaitcha Man
2009/12/12 Fabien Bodard : > 2009/12/12 Kadaitcha Man : >> In short, Fabien, as far as I can tell, the only way to make it work >> correctly in gb2 is to do it the way I originally said to do it. Of >> course I'm open to being shown to be wrong. > > in fact you are

Re: [Gambas-user] Really dumb question about dialog forms

2009-12-11 Thread Kadaitcha Man
2009/12/11 Fabien Bodard : > Static Public sValue as string > > Public Sub Run () As Boolean I knew there was a reason not to use your method and to make the recommendation I did. If you tested that code then I presume you did it in gb3 and not gb2. Gambas 2 either crashes out with a SIG 11, or

Re: [Gambas-user] Minimum Size of a Form

2009-12-11 Thread Kadaitcha Man
Fabien Bodard wrote: > ok Error from mine :) ... but for one part the min size is fixed at > the desing but only for windows with ToolBox option at true Not true. The minimum size of any form shown as modal is the design-time size. -

[Gambas-user] An Apology

2009-12-11 Thread Kadaitcha Man
I have pissed off a few people. If there is anyone whom I have not pissed off, I apologise. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___

Re: [Gambas-user] Minimum Size of a Form

2009-12-11 Thread Kadaitcha Man
2009/12/11 Fabien Bodard : > in gambas 2 the minimum size of a form is set by the size given at the > desing... BWAHAHAHAHAHAHAHAHA! Guess again. "if this is not to answer the question ... It is wiser to shut up!" --

Re: [Gambas-user] Really dumb question about dialog forms

2009-12-11 Thread Kadaitcha Man
2009/12/11 Fabien Bodard : > Also if this is not to answer the question ... It is an answer to the question. > It is wiser to shut up! > if you do not calm kadaitcha man you gonna get fired from this mailing > list. I have not used it but you are insulting and it is not > nec

Re: [Gambas-user] Really dumb question about dialog forms

2009-12-11 Thread Kadaitcha Man
2009/12/11 Doriano Blengino : > Kadaitcha Man ha scritto: >>> If I create a new form with the dialog support it gets this code: >>> Public Sub Run() As Boolean >>> >> >>> If I had a textbox on the form and wanted to return its contents, wh

Re: [Gambas-user] Really dumb question about dialog forms

2009-12-10 Thread Kadaitcha Man
2009/12/11 richard terry : > BTW when replying on the list its useful ***not to snip out the guts of the > question*** so that others reading your reply can make sense of it. Why put the onus on me for something that annoys only you? If you don't like the way I reply, don't read them. --

Re: [Gambas-user] Really dumb question about dialog forms

2009-12-10 Thread Kadaitcha Man
2009/12/11 richard terry : > Hi List, > > My really stupid question for the week. I'm sorry. You've already done that three times this week. > If I had a textbox on the form and wanted to return its contents, what would > be the change in syntax required? None whatsoever. Create a public variab

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread Kadaitcha Man
2009/12/10 Kadaitcha Man : > 2009/12/10 Benoît Minisini : > >> You should write: >>  butty = NEW Button(keret) AS "Ops" >> to have the same effect. > > That's what I thought, but when I tried a similar thing with a > TextBox, it appeared that the Tex

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread Kadaitcha Man
2009/12/10 Kadaitcha Man : > 2009/12/10 Benoît Minisini : > >> You should write: >>  butty = NEW Button(keret) AS "Ops" >> to have the same effect. > > That's what I thought, but when I tried a similar thing with a > TextBox, it appeared that the Tex

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread Kadaitcha Man
2009/12/10 Benoît Minisini : > You should write: >  butty = NEW Button(keret) AS "Ops" > to have the same effect. That's what I thought, but when I tried a similar thing with a TextBox, it appeared that the TextBox events were not firing. I'll take another look at it later this afternoon just in

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread Kadaitcha Man
2009/12/10 Kadaitcha Man : > Look at the attached code, and take note of the form design. Scratch that. You may have found a bug, either inadvertently or advertantly ;-> With MyTextBox declared as public, xMyTextBox_Change isn't firing: MyTextBox = NEW TextBox(HBox1) AS "x

Re: [Gambas-user] Buttons again not working

2009-12-09 Thread Kadaitcha Man
2009/12/10 M. Cs. : butty = NEW Button(keret) butty.x = 340 butty.y = 250 butty.Width = 120 butty.Height = 25 butty.Text = "OK" keret.Center Object.Attach(butty, ME, "Ops") ^^^ "butty" is already attached to "keret" You should attach "keret" to ME, or: butty = N

Re: [Gambas-user] Serial port data being changed ????

2009-12-08 Thread Kadaitcha Man
2009/12/8 Les Hardy : > This is a Linux thing. Not Gambas. Linux has a lot of "things". I learned the hard way that localhost TCP/IP ports below 1024 are protected. Sheesh. I lost a full day to that. Today I lost several hours to Gambas behaviour that is expained by bugs in Qt3. Nevertheless you

  1   2   >