From z.arifin at ...475... Fri Jun 9 04:39:45 2006 From: z.arifin at ...475... (root) Date: Fri, 09 Jun 2006 09:39:45 +0700 Subject: [Gambas-devel] (no subject) Message-ID: <1149820785.3296.3.camel@...326...> From gambas at ...1... Sun Jun 11 21:20:19 2006 From: gambas at ...1... (Benoit Minisini) Date: Sun, 11 Jun 2006 21:20:19 +0200 Subject: [Gambas-devel] Release of gambas 1.9.32 Message-ID: <200606112120.19670.gambas@...1...> Hi, Here is the 1.9.32 release. Warning! The following changes will break your code: * An object cannot send or receive events inside its constructor anymore. You will have to move some code from the Form constructor to the Open event handler for example. * The LostFocus event is now posted, as the GotFocus event, so that you always get the LostFocus event after its corresponding GotFocus event. This may break some code based on this event. * The Draw.Picture, Draw.Image and Draw.Drawing methods now take optional width & height scaling parameters. This breaks he old syntax: For example, before was 'Draw.Image(Image, X, Y, SX, SY, SW, SH)' And now is 'Draw.Image(Image, X, Y, DW, DH, SX, SY, SW, SH)'. The image will be scaled so that it has the DW x DH dimension on the target drawing device. The other main changes are: * The Workspace control has been replaced by a new one. * The old help files have been replaced by a static version of the Gambas wiki. * The Draw class now support drawing transformation based on rotation, scaling and translation. Here is the full changelog: --8<----------------------------------------------------------------------- DEVELOPMENT ENVIRONMENT * NEW: The old Workspace control has been replaced by the new one. * NEW: Automatic completion of identifiers and keywords. * NEW: The help window now uses a static version of the wiki. * BUG: The find dialog should not crash anymore in replace mode. * BUG: The project tree shortcuts now are disabled when not having the focus, so that they do not conflict with the editor shortcuts. * NEW: The debug window is now docked on the bottom of the main window. * NEW: The project tree now displays modules first. * NEW: Making executable is faster now. DATABASE MANAGER * BUG: The CSV export was fixed. * NEW: The CSV export now uses TAB as separator character. EXAMPLES * BUG: The Notepad example was fixed. INTERPRETER * NEW: The Gambas API has a new GB.Post2() function to call a function later with two parameters. * BUG: All components are now forced to use string comparison functions that do not use localization settings. This is mqinly for Turkish people :-) * BUG: The GPL version was incorrect in the message displayed by the --help option. * NEW: An object cannot raise or receive events inside its contructor. This can break some code: for example, you may have to move code from the _new() method of a Form to the Form_Open event handler. * NEW: A locked object cannot receive events anymore. * BUG: Locked objects do not crash the interpreter anymore when trying to raise events. COMPILER * NEW: Events are not disabled anymore during the hidden method that creates the controls of a form. GB.EVAL COMPONENT * NEW: System.Keywords is a new property that returns the list of Gambas reserved keywords. GB.QT COMPONENT * NEW: Draw.Picture now can take optional width and height parameters that scales the Picture. This new syntax is incompatible with the old one! * NEW: Draw.Image now can take optional width and height parameters that scales the Image. This new syntax is incompatible with the old one! * NEW: Draw.Drawing now can take optional width and height parameters that scales the Drawing. This new syntax is incompatible with the old one! * NEW: Drawing transformation has been implemented: Draw.Rotate rotates what is drawn, Draw.Translate translates it, and Draw.Scale scales it. * NEW: Draw.Push saves the current transformation state. * NEW: Draw.Pop restores the current transformation state. * NEW: Draw.Reset resets the transformation state. * NEW: Menu raises the Hide event just after being hidden. * NEW: Setting Menu.Enabled to FALSE now disables all child menu shortcuts. * NEW: TabStrip[i].Delete now removes the i-th tab, if it is empty. * NEW: Watcher now raises the Title event when the watched control is a Window and its title changes. * NEW: Watcher now raises the Icon event when the watched control is a Window and its icon changes. * NEW: Watcher now raises the Close event when the watched control is a Window and it has been closed. * NEW: Watcher.Control is a new property that returns the watched control. * NEW: The LostFocus event is now posted, as the GotFocus event. This may break some code based on this event. GB.QT.EXT COMPONENT * NEW: The Workspace control, based on the QWorkspace widget, has been removed. * BUG: The Editor.Undo and Editor.Redo methods now correctly move they cursor. * BUG: The Editor automatic unindentation has been enhanced. GB.GTK COMPONENT * BUG: Some warning fixes sent by Stephan Binner from SuSE. GB.LDAP COMPONENT * BUG: Some warning fixes sent by Stephan Binner from SuSE. GB.FORM COMPONENT * NEW: DirChooser.Root is a new property to set the root of the directory list. * NEW: FileChooser.Root is a new property to set the root of the directory list. GB.FORM.MDI COMPONENT * This new component implements the new version of the Workspace control. GB.CRYPT COMPONENT * BUG: The crypt.h header is now searched only in /usr/include. --8<----------------------------------------------------------------------- Enjoy it! -- Benoit Minisini From jredrejo at ...101... Mon Jun 12 00:06:38 2006 From: jredrejo at ...101... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Mon, 12 Jun 2006 00:06:38 +0200 Subject: [Gambas-devel] Release of gambas 1.9.32 In-Reply-To: <200606112120.19670.gambas@...1...> References: <200606112120.19670.gambas@...1...> Message-ID: <1150063598.6647.38.camel@...477...> El dom, 11-06-2006 a las 21:20 +0200, Benoit Minisini escribi?: > Hi, > > Here is the 1.9.32 release. > > Warning! The following changes will break your code: > > * An object cannot send or receive events inside its constructor anymore. You > will have to move some code from the Form constructor to the Open event > handler for example. > > * The LostFocus event is now posted, as the GotFocus event, so that you always > get the LostFocus event after its corresponding GotFocus event. This may > break some code based on this event. > > * The Draw.Picture, Draw.Image and Draw.Drawing methods now take optional > width & height scaling parameters. This breaks he old syntax: > > For example, before was 'Draw.Image(Image, X, Y, SX, SY, SW, SH)' > And now is 'Draw.Image(Image, X, Y, DW, DH, SX, SY, SW, SH)'. > > The image will be scaled so that it has the DW x DH dimension on the target > drawing device. > > The other main changes are: > > * The Workspace control has been replaced by a new one. > * The old help files have been replaced by a static version of the Gambas > wiki. > * The Draw class now support drawing transformation based on rotation, scaling > and translation. Hi, as usual, Debian packages for sid and sarge are already available at http://apt.linex.org/linex/gambas/ They will uploaded to Debian a.s.a.p. From sirfabien at ...176... Tue Jun 13 23:27:42 2006 From: sirfabien at ...176... (Fabien Bodard) Date: Tue, 13 Jun 2006 23:27:42 +0200 Subject: [Gambas-devel] Problem of infinite loop on component making Message-ID: <200606132327.42554.sirfabien@...176...> hi benoit This code : GB_DESC CParticle[] = { GB_DECLARE("Particle",sizeof(CARRAY)), GB_INHERITS("Array"), GB_END_DECLARE }; Compile right but start an infinite loop on run... Don't worry my exact code is in fact : GB_DESC CParticle[] = { GB_DECLARE("Particle",sizeof(CARRAY)), GB_INHERITS("Object[]"), GB_END_DECLARE }; Regards, Fabien Bodard From ronstk at ...124... Thu Jun 15 03:26:15 2006 From: ronstk at ...124... (Ron Onstenk) Date: Thu, 15 Jun 2006 03:26:15 +0200 Subject: [Gambas-devel] Dutch translations Message-ID: <200606150326.15363.ronstk@...124...> Dutch translating for following projects: gambas2 gambas2-database-manager gb.form gb.settings gives error on .pot file. It is reset to length 0 on try to translate. Nothing really to do but the error is questionable. Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: nl32.tar.bz2 Type: application/x-tbz Size: 30961 bytes Desc: not available URL: From csorda at ...69... Fri Jun 16 19:40:28 2006 From: csorda at ...69... (csorda@libero.it) Date: Fri, 16 Jun 2006 19:40:28 +0200 Subject: [Gambas-devel] (no subject) Message-ID: Hi Benoi, thanks for new IDE. There is an ancient not solved problem. In the New Project Wizard, when I selct the directory project, if I select a dir and press F2 for change its name, the IDE HangUp and this message appear in the linux shell startup: Failed to open device FSupSelector.MenuExp_Click.1237: #12: Not an object Mutex destroy failure: Dispositivo o risorsa occupata Thanks alot. Best regards. Carlo Sorda From csorda at ...69... Wed Jun 21 16:37:30 2006 From: csorda at ...69... (csorda@libero.it) Date: Wed, 21 Jun 2006 16:37:30 +0200 Subject: [Gambas-devel] (no subject) Message-ID: Hi Benoi, hi everyone. On Ubuntu 6.06 and notebook dell inspiron 6400, in a consolle on lunching Gambas 1.9.32 appear: X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device When lunch help form, in the conolle appear: FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/help/lang?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/help/comp?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/cat/arraydecl?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/cat/arraydecl?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/cat/arithop?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/cat/arith?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/cat/../lang/abs?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/comp/gb/gb/application?en What can I do? I used ln to create link to directory to try to resolve it, but is not the definitive solution. Can you help me? Best regards, Carlo Sorda. From csorda at ...69... Wed Jun 21 16:37:31 2006 From: csorda at ...69... (csorda@libero.it) Date: Wed, 21 Jun 2006 16:37:31 +0200 Subject: [Gambas-devel] (no subject) Message-ID: Hi Benoi, hi everyone. On Ubuntu 6.06 and notebook dell inspiron 6400, in a consolle on lunching Gambas 1.9.32 appear: X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device When lunch help form, in the conolle appear: FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/help/lang?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/help/comp?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/cat/arraydecl?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/cat/arraydecl?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/cat/arithop?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/cat/arith?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/cat/../lang/abs?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/comp/gb/gb/application?en What can I do? I used ln to create link to directory to try to resolve it, but is not the definitive solution. Can you help me? Best regards, Carlo Sorda. From csorda at ...69... Wed Jun 21 16:39:45 2006 From: csorda at ...69... (csorda@libero.it) Date: Wed, 21 Jun 2006 16:39:45 +0200 Subject: [Gambas-devel] help form problem on gambas 1.9.32 Message-ID: Sorry, I mess the object. Hi Benoi, hi everyone. On Ubuntu 6.06 and notebook dell inspiron 6400, in a consolle on lunching Gambas 1.9.32 appear: X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 168 Major opcode: 148 Minor opcode: 3 Resource id: 0x0 Failed to open device When lunch help form, in the conolle appear: FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/help/lang?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/help/comp?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/cat/arraydecl?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/cat/arraydecl?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/cat/arithop?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/cat/arith?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/cat/../lang/abs?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/comp/gb/gb/application?en What can I do? I used ln to create link to directory to try to resolve it, but is not the definitive solution. Can you help me? Best regards, Carlo Sorda. From gambas at ...1... Wed Jun 21 16:51:05 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 21 Jun 2006 16:51:05 +0200 Subject: [Gambas-devel] help form problem on gambas 1.9.32 In-Reply-To: References: Message-ID: <200606211651.05871.gambas@...1...> On Wednesday 21 June 2006 16:39, csorda at ...69... wrote: > Sorry, I mess the object. > > Hi Benoi, hi everyone. > On Ubuntu 6.06 and notebook dell inspiron 6400, in a consolle > on lunching Gambas 1.9.32 appear: > > X Error: BadDevice, invalid or uninitialized input device 168 > Major opcode: 148 > Minor opcode: 3 > Resource id: 0x0 > Failed to open device > X Error: BadDevice, invalid or uninitialized input device 168 > Major opcode: 148 > Minor opcode: 3 > Resource id: 0x0 > Failed to open device Apparently, this is a bug in Ubuntu. > > When lunch help form, in the conolle appear: > > FExplorer.txvExplorer_Link.775: > /usr/local/share/gambas2/help/help/help/lang?en > FExplorer.txvExplorer_Link.775: > /usr/local/share/gambas2/help/help/help/comp?en > FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang?en > FExplorer.txvExplorer_Link.775: > /usr/local/share/gambas2/help/help/lang/cat/arraydecl?en > FExplorer.txvExplorer_Link.775: > /usr/local/share/gambas2/help/help/lang/cat/arraydecl?en > FExplorer.txvExplorer_Link.775: > /usr/local/share/gambas2/help/help/lang/cat/arithop?en > FExplorer.txvExplorer_Link.775: > /usr/local/share/gambas2/help/help/cat/arith?en > FExplorer.txvExplorer_Link.775: > /usr/local/share/gambas2/help/help/cat/../lang/abs?en > FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/?en > FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en > FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en > FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en > FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang/?en > FExplorer.txvExplorer_Link.775: > /usr/local/share/gambas2/help/help/comp/gb/gb/application?en > *That* is a bug from me :-) > What can I do? Just wait for the next release :-) > I used ln to create link to directory to try to resolve it, but is not the > definitive solution. Can you help me? > Best regards, Carlo Sorda. > Regards, -- Benoit Minisini From lordheavy at ...141... Wed Jun 21 16:53:10 2006 From: lordheavy at ...141... (Laurent Carlier) Date: Wed, 21 Jun 2006 16:53:10 +0200 Subject: [Gambas-devel] help form problem on gambas 1.9.32 In-Reply-To: References: Message-ID: <200606211653.11085.lordheavy@...141...> Le Mercredi 21 Juin 2006 16:39, csorda at ...69... a ?crit?: > Sorry, I mess the object. > > Hi Benoi, hi everyone. > On Ubuntu 6.06 and notebook dell inspiron 6400, in a consolle > on lunching Gambas 1.9.32 appear: > > X Error: BadDevice, invalid or uninitialized input device 168 > Major opcode: 148 > Minor opcode: 3 > Resource id: 0x0 > Failed to open device > X Error: BadDevice, invalid or uninitialized input device 168 > Major opcode: 148 > Minor opcode: 3 > Resource id: 0x0 > Failed to open device > This problem is related to xorg.conf under (k/x)ubuntu, not gambas :-) How to solve it ? Just edit your xorg.conf file (under /etc/X11/) and put # on the following line (or remove them) : Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" # InputDevice "stylus" "SendCoreEvents" # InputDevice "cursor" "SendCoreEvents" # InputDevice "eraser" "SendCoreEvents" InputDevice "Synaptics Touchpad" EndSection And these warnings should be removed ;-) Regards, -- jabber : lordheavy at ...298... mail : lordheavymREMOVEME at ...176... From dcamposf at ...176... Wed Jun 21 19:32:26 2006 From: dcamposf at ...176... (Daniel Campos) Date: Wed, 21 Jun 2006 19:32:26 +0200 Subject: [Gambas-devel] (no subject) In-Reply-To: References: Message-ID: <7259b5ae0606211032ifec40e8u4f990096ea3631f4@...178...> Hi: It seems it is a general problem from Ubuntu: http://www.google.es/search?hl=es&q=X+Error%3A+BadDevice%2C+invalid+or+uninitialized+input+device+168&btnG=B%C3%BAsqueda+en+Google&meta= Regards, Daniel 2006/6/21, csorda at ...69... : > > Hi Benoi, hi everyone. > On Ubuntu 6.06 and notebook dell inspiron 6400, in a consolle > on lunching Gambas 1.9.32 appear: > > X Error: BadDevice, invalid or uninitialized input device 168 > Major opcode: 148 > Minor opcode: 3 > Resource id: 0x0 > Failed to open device > X Error: BadDevice, invalid or uninitialized input device 168 > Major opcode: 148 > Minor opcode: 3 > Resource id: 0x0 > Failed to open device > > When lunch help form, in the conolle appear: > > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/help/lang?en > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/help/comp?en > FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang?en > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/cat/arraydecl?en > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/cat/arraydecl?en > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/cat/arithop?en > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/cat/arith?en > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/cat/../lang/abs?en > FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/?en > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/?en > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/?en > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/?en > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/?en > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/comp/gb/gb/application?en > > What can I do? > I used ln to create link to directory to try to resolve it, but is not the > definitive solution. > Can you help me? > Best regards, Carlo Sorda. > > > > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From csorda at ...69... Wed Jun 21 20:06:04 2006 From: csorda at ...69... (csorda@libero.it) Date: Wed, 21 Jun 2006 20:06:04 +0200 Subject: [Gambas-devel] (no subject) Message-ID: Thanks thousands to all.merci tr?s beaucoup a tous le monde. ;-) Best regards.Carlo Sorda. > Hi: > > It seems it is a general problem from Ubuntu: > > http://www.google.es/search?hl=es&q=X+Error%3A+BadDevice%2C+invalid+or+uninitialized+input+device+168&btnG=B%C3%BAsqueda+en+Google&meta= > > Regards, > > > Daniel > > 2006/6/21, csorda at ...69... : > > > > Hi Benoi, hi everyone. > > On Ubuntu 6.06 and notebook dell inspiron 6400, in a consolle > > on lunching Gambas 1.9.32 appear: > > > > X Error: BadDevice, invalid or uninitialized input device 168 > > Major opcode: 148 > > Minor opcode: 3 > > Resource id: 0x0 > > Failed to open device > > X Error: BadDevice, invalid or uninitialized input device 168 > > Major opcode: 148 > > Minor opcode: 3 > > Resource id: 0x0 > > Failed to open device > > > > When lunch help form, in the conolle appear: > > > > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/help/lang?en > > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/help/comp?en > > FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/lang?en > > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/cat/arraydecl?en > > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/cat/arraydecl?en > > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/cat/arithop?en > > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/cat/arith?en > > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/cat/../lang/abs?en > > FExplorer.txvExplorer_Link.775: /usr/local/share/gambas2/help/help/?en > > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/?en > > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/?en > > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/?en > > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/lang/?en > > FExplorer.txvExplorer_Link.775:/usr/local/share/gambas2/help/help/comp/gb/gb/application?en > > > > What can I do? > > I used ln to create link to directory to try to resolve it, but is not the > > definitive solution. > > Can you help me? > > Best regards, Carlo Sorda. > > > > > > > > _______________________________________________ > > Gambas-devel mailing list > > Gambas-devel at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > > From z.arifin at ...475... Thu Jun 22 02:12:33 2006 From: z.arifin at ...475... (arifin) Date: Thu, 22 Jun 2006 07:12:33 +0700 Subject: [Gambas-devel] (no subject) Message-ID: <1150935153.2572.3.camel@...326...> From gambas at ...1... Thu Jun 22 19:14:23 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 22 Jun 2006 19:14:23 +0200 Subject: [Gambas-devel] (no subject) In-Reply-To: References: Message-ID: <200606221914.24026.gambas@...1...> On Friday 16 June 2006 19:40, csorda at ...69... wrote: > Hi Benoi, > thanks for new IDE. > There is an ancient not solved problem. > In the New Project Wizard, when I selct the directory project, if I select > a dir and press F2 for change its name, the IDE HangUp and this message > appear in the linux shell startup: > > Failed to open device > FSupSelector.MenuExp_Click.1237: #12: Not an object > Mutex destroy failure: Dispositivo o risorsa occupata > > Thanks alot. Best regards. Carlo Sorda > Strange, it works here. What is the versin of your qt library? -- Benoit Minisini From alf_ipunk at ...7... Sat Jun 24 04:25:54 2006 From: alf_ipunk at ...7... (alfonsa ipunk) Date: Fri, 23 Jun 2006 19:25:54 -0700 (PDT) Subject: [Gambas-devel] how to make instaler packages or make executable file? Message-ID: <20060624022554.86252.qmail@...482...> how to make instaler package or make executable file? i use gambas version 1.10.2 include in SuSE 10. I found some error like 'can't build package' when i run Make Instaler Package menus. Please answer.... Thanx's Alfons --------------------------------- Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. -------------- next part -------------- An HTML attachment was scrubbed... URL: From csorda at ...69... Sat Jun 24 23:34:52 2006 From: csorda at ...69... (csorda@libero.it) Date: Sat, 24 Jun 2006 23:34:52 +0200 Subject: [Gambas-devel] (no subject) Message-ID: Hi, my version of libqt3-mt-dev is 3:3.3.6 on Ubuntu 6.06. Best regards. Carlo Sorda. > On Friday 16 June 2006 19:40, csorda at ...69... wrote: > > Hi Benoi, > > thanks for new IDE. > > There is an ancient not solved problem. > > In the New Project Wizard, when I selct the directory project, if I select > > a dir and press F2 for change its name, the IDE HangUp and this message > > appear in the linux shell startup: > > > > Failed to open device > > FSupSelector.MenuExp_Click.1237: #12: Not an object > > Mutex destroy failure: Dispositivo o risorsa occupata > > > > Thanks alot. Best regards. Carlo Sorda > > > > Strange, it works here. What is the versin of your qt library? > > -- > Benoit Minisini > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From sirfabien at ...176... Sun Jun 25 03:02:51 2006 From: sirfabien at ...176... (Fabien Bodard) Date: Sun, 25 Jun 2006 03:02:51 +0200 Subject: [Gambas-devel] New MDI Control Message-ID: <200606250302.51805.sirfabien@...176...> Hi to all, I send you a new MDI control that work like Benoit one But that have Some littles other improvement. I've made a gambas mdi control that look like the qt one... but when the windows are maximized it work like the benoit mdi control. A task bar make the windows selection easier. A word about the Watcher Class ... WOAHOO ! It's great .. but... How to get the generic Mouse_Down of the childwindow that have many component in it ? I think it while be great if this class was a gb native class... That watch a designed event... New Watch(Object) Watch.Add("Property") Watch_Event(Where) or maby get the property name by param class... I just want to talk about a more generic class. If it's possible. Nevertheless... If Many people can test my component ...it while be great. Just copy the project in Gambaspath/comp/src and add "gb.form.mda" in the 'order' file. do a make install Change componant gb.form.mdi by gb.form.mda That's all. Regards, Fabien Bodard Return me all bug you see please ! -------------- next part -------------- A non-text attachment was scrubbed... Name: capture8.png Type: image/png Size: 119722 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.form.mda-0.0.1.tar.gz Type: application/x-tgz Size: 22266 bytes Desc: not available URL: From ronstk at ...124... Sun Jun 25 16:25:55 2006 From: ronstk at ...124... (Ron Onstenk) Date: Sun, 25 Jun 2006 16:25:55 +0200 Subject: [Gambas-devel] New MDI Control In-Reply-To: <200606250302.51805.sirfabien@...176...> References: <200606250302.51805.sirfabien@...176...> Message-ID: <200606251625.55206.ronstk@...124...> On Sunday 25 June 2006 03:02, Fabien Bodard wrote: > Hi to all, ---8<---- > Nevertheless... If Many people can test my component ...it while be great. I could not wait, did try it direct. :) > > Just copy the project in Gambaspath/comp/src and add "gb.form.mda" in > the 'order' file. Perfect > > do a make install Perfect > > Change componant gb.form.mdi by gb.form.mda Hm, Perfect again > > That's all. ??? > > Regards, > Fabien Bodard > > > Return me all bug you see please ! What bugs? didnot found yet :) > Good job Fabien. I like it this way. I think you know about the Cascade/Tile not working yet, this not a bug I assume. The only thing I found and that is not a bug in sense it harms anything. Moving the window to the left stops when the border left hits the project Sidepanel. When the window is to big, normal (for me) is go to the right bottom corner and resize it. If this point is not visible then drag the window with the Top to the left/up. Try at least to make then Cascade (and/or Tile) working so all open windows place themself in the visible windows say width/height at 50 % Any way I will switch over to your version. Thanks Ron PS Good job in compiling too. Your version consumes 1 byte less the version of Benoit :) :) :) PSS One point. If maximised and click on the topbar of the window a flicker occurs. PSSS This in FWorkspace.class works at me :) PUBLIC SUB MnuCascade_Click() DIM iCCwidth AS Integer DIM iCCheight AS Integer DIM xw AS window DIM off AS Integer iCCwidth = ME.ClientWidth \ 2 iCCheight = ME.ClientHeight \ 2 off = 0 FOR EACH xw IN $aWindow xw.Width = iCCwidth xw.Left = off xw.Height = iCCheight xw.Top = off off += 24 NEXT END PUBLIC SUB mnuTile_Click() DIM iCCwidth AS Integer DIM iCCheight AS Integer DIM xw AS window DIM off AS Integer DIM offx AS Integer DIM offy AS Integer DIM ix, iy AS Integer off = $aWindow.Count SELECT off CASE 0 RETURN CASE 1 offx = 1 offy = 0 DEFAULT offx = Sqr($aWindow.Count) offy = offx + 1 END SELECT iCCwidth = ME.ClientWidth \ IIf(offx = 0, 1, offx) iCCheight = ME.ClientHeight \ IIf(offy = 0, 1, offy) FOR ix = 0 TO offx - 1 FOR iy = 0 TO offy - 1 IF (iy * offx + ix) < off THEN xw = $aWindow[iy * offx + ix] xw.Width = iCCwidth xw.Height = iCCheight xw.Left = iCCwidth * ix xw.Top = iCCheight * iy ENDIF NEXT NEXT END From z.arifin at ...475... Mon Jun 26 13:58:34 2006 From: z.arifin at ...475... (arifin) Date: Mon, 26 Jun 2006 07:58:34 -0400 Subject: [Gambas-devel] Gambas-devel Digest, Vol 1, Issue 857 In-Reply-To: References: Message-ID: <1151323114.6194.2.camel@...484...> dears all gambas user, can someone help me,how to access perallel port can i have the source code ???? On Sun, 2006-06-25 at 12:03 -0700, gambas-devel-request at lists.sourceforge.net wrote: > Send Gambas-devel mailing list submissions to > gambas-devel at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gambas-devel > or, via email, send a message with subject or body 'help' to > gambas-devel-request at lists.sourceforge.net > > You can reach the person managing the list at > gambas-devel-owner at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gambas-devel digest..." > > > Today's Topics: > > 1. Re: New MDI Control (Ron Onstenk) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 25 Jun 2006 16:25:55 +0200 > From: Ron Onstenk > Subject: Re: [Gambas-devel] New MDI Control > To: mailing list for gambas developers > > Message-ID: <200606251625.55206.ronstk at ...124...> > Content-Type: text/plain; charset="iso-8859-1" > > On Sunday 25 June 2006 03:02, Fabien Bodard wrote: > > Hi to all, > > ---8<---- > > > Nevertheless... If Many people can test my component ...it while be great. > I could not wait, did try it direct. :) > > > > > Just copy the project in Gambaspath/comp/src and add "gb.form.mda" in > > the 'order' file. > Perfect > > > > do a make install > Perfect > > > > Change componant gb.form.mdi by gb.form.mda > Hm, Perfect again > > > > That's all. > ??? > > > > Regards, > > Fabien Bodard > > > > > > Return me all bug you see please ! > What bugs? didnot found yet :) > > > > > Good job Fabien. > I like it this way. > > I think you know about the Cascade/Tile not working yet, this not a bug I assume. > > The only thing I found and that is not a bug in sense it harms anything. > Moving the window to the left stops when the border left hits the project Sidepanel. > When the window is to big, normal (for me) is go to the right bottom corner and resize it. > If this point is not visible then drag the window with the Top to the left/up. > > Try at least to make then Cascade (and/or Tile) working so all open windows > place themself in the visible windows say width/height at 50 % > > Any way I will switch over to your version. > Thanks > > Ron > > PS Good job in compiling too. > Your version consumes 1 byte less the version of Benoit :) :) :) > > PSS > One point. If maximised and click on the topbar of the window a flicker occurs. > > > PSSS > This in FWorkspace.class works at me :) > > PUBLIC SUB MnuCascade_Click() > DIM iCCwidth AS Integer > DIM iCCheight AS Integer > DIM xw AS window > DIM off AS Integer > iCCwidth = ME.ClientWidth \ 2 > iCCheight = ME.ClientHeight \ 2 > off = 0 > > FOR EACH xw IN $aWindow > xw.Width = iCCwidth > xw.Left = off > xw.Height = iCCheight > xw.Top = off > off += 24 > NEXT > END > > PUBLIC SUB mnuTile_Click() > DIM iCCwidth AS Integer > DIM iCCheight AS Integer > DIM xw AS window > DIM off AS Integer > DIM offx AS Integer > DIM offy AS Integer > DIM ix, iy AS Integer > > off = $aWindow.Count > SELECT off > CASE 0 > RETURN > CASE 1 > offx = 1 > offy = 0 > DEFAULT > offx = Sqr($aWindow.Count) > offy = offx + 1 > END SELECT > > iCCwidth = ME.ClientWidth \ IIf(offx = 0, 1, offx) > iCCheight = ME.ClientHeight \ IIf(offy = 0, 1, offy) > > FOR ix = 0 TO offx - 1 > FOR iy = 0 TO offy - 1 > IF (iy * offx + ix) < off THEN > xw = $aWindow[iy * offx + ix] > xw.Width = iCCwidth > xw.Height = iCCheight > xw.Left = iCCwidth * ix > xw.Top = iCCheight * iy > ENDIF > NEXT > NEXT > > END > > > > > > ------------------------------ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------ > > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > > End of Gambas-devel Digest, Vol 1, Issue 857 > ******************************************** > > From ronstk at ...124... Mon Jun 26 03:04:55 2006 From: ronstk at ...124... (Ron Onstenk) Date: Mon, 26 Jun 2006 03:04:55 +0200 Subject: [Gambas-devel] Gambas-devel Digest, Vol 1, Issue 857 In-Reply-To: <1151323114.6194.2.camel@...484...> References: <1151323114.6194.2.camel@...484...> Message-ID: <200606260304.56190.ronstk@...124...> On Monday 26 June 2006 13:58, arifin wrote: > dears all gambas user, > can someone help me,how to access perallel port > can i have the source code ???? > See gambas-user Re: [Gambas-user] gambas and outportb http://gambasdoc.org/help/howto/parport From info.cijo at ...176... Mon Jun 26 06:58:14 2006 From: info.cijo at ...176... (Cijo Jose) Date: Mon, 26 Jun 2006 10:28:14 +0530 Subject: [Gambas-devel] Cijo needs a little help Message-ID: <8d5d4d9c0606252158o802e618qc6443240d273d759@...178...> hello , im using Debian Linux 3.1 is anyone help to show how can i connect Gambas with mysql ? please expect ur help bye bye Cijo From j.m.curl at ...485... Mon Jun 26 11:39:27 2006 From: j.m.curl at ...485... (Jason Curl) Date: Mon, 26 Jun 2006 19:39:27 +1000 Subject: [Gambas-devel] Parallel Port (was Gamba's Digest) Message-ID: <200606260939.k5Q9dS6R002073@...486...> Hello.. I notice that the Wiki page indicates using the /dev/port device. Is it possible to use the generic parallel port device /dev/parportN? In particular there needs to be methods to send ioctl() as in C. Then if a driver is ever written for USB, this should also work right? Regards, Jason. > Ron Onstenk wrote: > > On Monday 26 June 2006 13:58, arifin wrote: > > dears all gambas user, > > can someone help me,how to access perallel port > > can i have the source code ???? > > > See gambas-user > Re: [Gambas-user] gambas and outportb > > http://gambasdoc.org/help/howto/parport > From gambas at ...1... Tue Jun 27 00:01:26 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 27 Jun 2006 00:01:26 +0200 Subject: [Gambas-devel] New MDI Control In-Reply-To: <200606250302.51805.sirfabien@...176...> References: <200606250302.51805.sirfabien@...176...> Message-ID: <200606270001.26165.gambas@...1...> On Sunday 25 June 2006 03:02, Fabien Bodard wrote: > Hi to all, > > I send you a new MDI control that work like Benoit one But that have Some > littles other improvement. > > I've made a gambas mdi control that look like the qt one... but when the > windows are maximized it work like the benoit mdi control. > A task bar make the windows selection easier. > > A word about the Watcher Class ... WOAHOO ! It's great .. but... How to get > the generic Mouse_Down of the childwindow that have many component in it ? You can't. I think you want to simulate the Activate/Deactivate events, do you? > > I think it while be great if this class was a gb native class... How could it be a gb native class as it depends on Qt? > > That watch a designed event... > > New Watch(Object) > Watch.Add("Property") > > Watch_Event(Where) > or maby get the property name by param class... ??? > > > I just want to talk about a more generic class. If it's possible. I don't think so. I will think about it... > > Nevertheless... If Many people can test my component ...it while be great. > > Just copy the project in Gambaspath/comp/src and add "gb.form.mda" in > the 'order' file. > > do a make install > > Change componant gb.form.mdi by gb.form.mda > > That's all. > > Regards, > Fabien Bodard > > > Return me all bug you see please ! You should post that on the user mailing-list. I may merge it when it is bug free (or almost). Regards, -- Benoit Minisini From ronstk at ...124... Tue Jun 27 19:03:20 2006 From: ronstk at ...124... (Ron Onstenk) Date: Tue, 27 Jun 2006 19:03:20 +0200 Subject: [Gambas-devel] Cijo needs a little help In-Reply-To: <8d5d4d9c0606252158o802e618qc6443240d273d759@...178...> References: <8d5d4d9c0606252158o802e618qc6443240d273d759@...178...> Message-ID: <200606271903.21084.ronstk@...124...> On Monday 26 June 2006 06:58, Cijo Jose wrote: > hello , > > im using Debian Linux 3.1 > > is anyone help to show how can i connect Gambas with mysql ? > > please expect ur help > > bye bye > > Cijo > A very drastic way but gives all the information you need is the source code of the gambas-database-manager. However it is not always easy to understand how things are coupled together. Simple by cleanup the code if your project is ready, using new subroutines to make common parts more easy usable in the project. Therefore you have to look in many files and mostly open several as reminder during reading the main file. (that's for me the reason to have Fabians workspace) But for almost every question you can find (not always easy) some code. Really it is good and works perfect with gambas. I'm still learning (slowly) every time from it and not only DB usage but some programming tips for my project to. A tip for finding. Mark the word you want a sample for. Click the binocular and check in "Options" the "Search List" and in "Search In" the "Project" You will get a nice list where that particular word is used. The only bad thing is not know the good word. :) So what do you want? A MySQL database for some storage. What do you need for it.? A _running_ MySQL server (really someforget this) Some help documentaion. How to connect to the database? Use in gambas the Connection object. Find Help for "Connection.Open (gb.db)" at http://gambasdoc.org/help/comp/gb.db/connection/open (You could find this example in above link) DIM $hConn As NEW Connection WITH $hConn .Type = "postgresql" .Host = "localhost" .Login = "username" .Password = "passwd" .Name = "testdb" END WITH TRY $hConn.Open IF Error THEN PRINT "Cannot Open Database. Error = "; Error.Text Now you should be able to use 2 ways. The safe way or the advanced way. Your choice should be the "safe" way for now. ---- For the safe way Find Help for "gb.db - Database access component" at http://gambasdoc.org/help/comp/gb.db Using the DB component will prevent you to make the most common mistakes that beginners make. It also is a common method to several database engines that living in the *nix world. Changing at a later stage to a different engine is easy to do. ---- The advanced way is using the Connection object and you are responsible for correct formulated queries for one of the engines. Change of engine will/can require rewrite of the SQL requests. I hope this will give some start of help Ron ---- PS Note why I speak about "Engines". Not every database system is server based as MySQL, MSQL or Postgresql. SQlite is a simple file based system CVS files, XML files and Excel Sheets are other sources for data storage. All they need programs to handle request and give results. That is 1 or more program(s), other times complete network based systems. That is the driver package and in running condition is what I call "Engine" Unix-ODBC or MS-ODBC are packages with methods to reach those engines. They are not databases or servers on there own, they provide a common interface to those Engines. For gambas the DB component provides the same common interface to the Engines or to the common interface ODBC (when ready). So by using the DB component you are as programmer of the project responsible for the correct choice and maintaining of the "Engine". Using *-ODBC will transfer this to the user of the program. This to give a impression, not the real trough. Ron From ronstk at ...124... Tue Jun 27 20:03:23 2006 From: ronstk at ...124... (Ron Onstenk) Date: Tue, 27 Jun 2006 20:03:23 +0200 Subject: [Gambas-devel] New MDI Control In-Reply-To: <200606270001.26165.gambas@...1...> References: <200606250302.51805.sirfabien@...176...> <200606270001.26165.gambas@...1...> Message-ID: <200606272003.24202.ronstk@...124...> On Tuesday 27 June 2006 00:01, Benoit Minisini wrote: > > Return me all bug you see please ! > > You should post that on the user mailing-list. I may merge it when it is bug > free (or almost). > May be I found one I did in the Main menubar 'Close all windows' by accident. Then I want to re-open one of the files and got [29] Invalid object. Project.ShowFile.637 code: SELECT CASE Object.Type(hForm) <--- But I'm still happy with using it. :) Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas2mda-bug1.jpg Type: image/jpeg Size: 11734 bytes Desc: not available URL: From ronstk at ...124... Tue Jun 27 19:54:18 2006 From: ronstk at ...124... (Ron Onstenk) Date: Tue, 27 Jun 2006 19:54:18 +0200 Subject: [Gambas-devel] Parallel Port (was Gamba's Digest) In-Reply-To: <200606260939.k5Q9dS6R002073@...486...> References: <200606260939.k5Q9dS6R002073@...486...> Message-ID: <200606271954.18933.ronstk@...124...> On Monday 26 June 2006 11:39, Jason Curl wrote: > Hello.. > > I notice that the Wiki page indicates using the /dev/port device. /dev/port is a link to a driver using a driver to CPU ports Simple read/write to specific port address in the CPU space. > Is it possible to use the generic parallel port device /dev/parportN? /dev/parportN is a link to a printer driver for I/O Using the *handshake* for printers and fixed address (CPU port). The behaviour of both are very different. Talking to '/dev/parportN' is protocol managed and then that one talks internal to '/dev/port' via ioctl() > In particular there needs to be methods to send ioctl() as in C. This is more or less using '/dev/port' > Then if a driver is ever written for USB, this should also work right? A printer driver for USB? No because/if you want real user bit Set/Reset control. A bit Set/Reset driver for a chip on USB? Yes but you must select any way somewhere what to use, USB or the I/O port of the box. > > Regards, > Jason. > And yes the IBM printer is standard on CPU ports but as you say it can be nowadays USB or network based to. However the /dev/parportN is as far I know to the good old CPU ports. Note about '/dev/parportN', Here is assumed this is the same as the /dev/lpN ports. If not same then the question rise why /dev/port and /dev/parportN exists. http://docs.blackfin.uclinux.org/doku.php?id=flashing_the_board As described in this article '/dev/parportN' is the 'printer' port. Confirms my assumption. Read at last half. http://pikdev.free.fr/installation.html Here it goes about PIC programming on the parport. Using a driver ppdev. Abstract of it: Parallel port PiKdev uses the parallel port in user mode (/dev/parport device). The parport devices are automatically detected since version 0.3.4. If this device is not present in your filesystem, you can easily create it with the mknode command (with root privileges): (Note: /dev/parportN is a character device whose major number is 99 and minor number is N) mknod /dev/parport0 c 99 0 (first parallel port) mknod /dev/parport1 c 99 1 (eventually, second parallel port) Moreover, be sure that the device is RW enabled: chmod a+rw /dev/parport0 Finally, you must have the ppdev support. This is necessary for using parallel ports in user mode. This support can be compiled into the linux kernel, or loaded as modules (depending on your system, you might have to update /etc/modprobe.preload or /etc/modules). http://people.redhat.com/twaugh/parport/html/ppdev.html Programming interface The ppdev interface is largely the same as that of other character special devices, in that it supports open, close, read, write, and ioctl. The constants for the ioctl commands are in include/linux/ppdev.h. I guess this is what you want. But for me the parportN and a USB printer do not match. I do have a USB adaptor and can connect a 25pin D connector from the printer to it. Then I can talk to a (fake) USB printer ( the Epson FX80) Talking to /dev/parportN don't print on the USB connected printer. My whish was to use this adaptor as general I/O port for experiments but connected by USB (notebook) and protect the notebook. Ron From sirfabien at ...176... Wed Jun 28 00:00:23 2006 From: sirfabien at ...176... (Fabien Bodard) Date: Wed, 28 Jun 2006 00:00:23 +0200 Subject: [Gambas-devel] New MDI Control In-Reply-To: <200606270001.26165.gambas@...1...> References: <200606250302.51805.sirfabien@...176...> <200606270001.26165.gambas@...1...> Message-ID: <200606280000.23991.sirfabien@...176...> Le Mardi 27 Juin 2006 00:01, Benoit Minisini a ?crit?: > On Sunday 25 June 2006 03:02, Fabien Bodard wrote: > > Hi to all, > > > > I send you a new MDI control that work like Benoit one But that have Some > > littles other improvement. > > > > I've made a gambas mdi control that look like the qt one... but when the > > windows are maximized it work like the benoit mdi control. > > A task bar make the windows selection easier. > > > > A word about the Watcher Class ... WOAHOO ! It's great .. but... How to > > get the generic Mouse_Down of the childwindow that have many component in > > it ? > > You can't. I think you want to simulate the Activate/Deactivate events, do > you? yes it's that ! > > I think it while be great if this class was a gb native class... > > How could it be a gb native class as it depends on Qt? > > > That watch a designed event... > > > > New Watch(Object) > > Watch.Add("Property") > > > > Watch_Event(Where) > > or maby get the property name by param class... > > ??? > > > I just want to talk about a more generic class. If it's possible. > > I don't think so. I will think about it... > > > Nevertheless... If Many people can test my component ...it while be > > great. > > > > Just copy the project in Gambaspath/comp/src and add "gb.form.mda" in > > the 'order' file. > > > > do a make install > > > > Change componant gb.form.mdi by gb.form.mda > > > > That's all. > > > > Regards, > > Fabien Bodard > > > > > > Return me all bug you see please ! > > You should post that on the user mailing-list. I may merge it when it is > bug free (or almost). Ok i'll do it ! > Regards, From sirfabien at ...176... Wed Jun 28 00:18:10 2006 From: sirfabien at ...176... (Fabien Bodard) Date: Wed, 28 Jun 2006 00:18:10 +0200 Subject: [Gambas-devel] New gambas MDI Component. Message-ID: <200606280018.10373.sirfabien@...176...> Hi to all gambasian ! As the benoit new mdi component not really good for me i've begin to do one myself. It's not perfect and in alfa/beta devel :). You can try it by : Decompress the archive in the GmabasPath/comp directory. Add the gb.form.mda entry in the 'order' file. do a make do a make install then you can try it ! If you want to test gambas ide with this new mdi component : Open the ide source (gambaspath/app/gambas2) ant change in project option the gb.form.mdi by gb.form.mda. then run with F5 and see gambas with a windowed style mdi component. The maximized mode work lique the benoit component. I'm trying to use the better off the two ideas. If you are finding any bugs Say me it now ! In this version i've integrated the code that Ron Onstenk have send to me. (Hey Ron!, i've done some change on your code... special windows like Forms can't be resized so i deasable the menu tile_window if one of then are this type and forget the resizing in cascade.) There is menu to manipulate windows and a taskbar that allow to simply use windows ! If you have any ideas else tell me ! Another thing is fabulous.... GTK will have a true mdi widget now ;) Regards, Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: capture8.png Type: image/png Size: 115352 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.form.mda-0.1.tar.gz Type: application/x-tgz Size: 23765 bytes Desc: not available URL: From ronstk at ...124... Wed Jun 28 00:57:14 2006 From: ronstk at ...124... (Ron Onstenk) Date: Wed, 28 Jun 2006 00:57:14 +0200 Subject: [Gambas-devel] New gambas MDI Component. In-Reply-To: <200606280018.10373.sirfabien@...176...> References: <200606280018.10373.sirfabien@...176...> Message-ID: <200606280057.14887.ronstk@...124...> On Wednesday 28 June 2006 00:18, Fabien Bodard wrote: > In this version i've integrated the code that Ron Onstenk have send to me. > Fine :) > (Hey Ron!, i've done some change on your code... special windows like Forms > can't be resized so i deasable the menu tile_window if one of then are this > type and forget the resizing in cascade.) You are the "maintainer" of the gb.form.mda so change as you like. The code was a simple quick try to help a bit. Did not really test it with Forms, only code editors. (slap myself :) ) As I have seen earlier this evening you did not simple add/remove small code snippits but changed i.e. Watch_Close much more I expected compared to original. Take a look, if not already done, for the problem I found with close all and try open a new code editor. I'm now busy with some other things but will try it later BTW I changed the Tile to correct some dimensions. To get the best layout I use the SQR of the count+1. The plus 1 is to prevent SQR(0), gives 1 at least The horizontal count is the integer of it The vertical is the total divide by horz, note the no div by zero. The IF just below is to make sure I get all windows/forms. This part of code is not the best but works here in a quick&dirty way. More for fit then best arrange&layout&fit. :) In both iCCxxx the -24 is for the scrollbar if they occurs. I had forgotten the Taskbar on bottom and is now also in calculation. My actual new code I use now is: PUBLIC SUB mnuTile_Click() DIM iCCwidth AS Integer DIM iCCheight AS Integer DIM xw AS window DIM off AS Integer DIM offx AS Integer DIM offy AS Integer DIM ix, iy AS Integer off = $aWindow.Count offx = Int(Sqr($aWindow.Count + 1)) offy = $aWindow.Count \ offx ' offx ' + 1 IF (offx * offy) < $aWindow.Count THEN INC offy iCCwidth = (ME.ClientWidth - 24) \ IIf(offx = 0, 1, offx) iCCheight = (ME.ClientHeight - hTaskBar.Height - 24) \ IIf(offy = 0, 1, offy) FOR ix = 0 TO offx - 1 FOR iy = 0 TO offy - 1 IF (iy * offx + ix) < off THEN '<-- this prevent no existing objects :) xw = $aWindow[iy * offx + ix] xw.Width = iCCwidth 'dimension xw.Height = iCCheight xw.Left = iCCwidth * ix 'place xw.Top = iCCheight * iy ENDIF NEXT NEXT END Yes I know, using xw.move(x,y,w,h) could be used. Greets Ron PS, increment you version in tarbal next time :) From ronstk at ...124... Wed Jun 28 05:16:19 2006 From: ronstk at ...124... (Ron Onstenk) Date: Wed, 28 Jun 2006 05:16:19 +0200 Subject: [Gambas-devel] New gambas MDI Component. In-Reply-To: <200606280018.10373.sirfabien@...176...> References: <200606280018.10373.sirfabien@...176...> Message-ID: <200606280516.20124.ronstk@...124...> On Wednesday 28 June 2006 00:18, Fabien Bodard wrote: > (Hey Ron!, i've done some change on your code... special windows like Forms > can't be resized so i deasable the menu tile_window if one of then are this > type and forget the resizing in cascade.) > For mnuCascade_Click() I see you changed $aWindows in svWS.Children When I lookup in the .Add I see you do hForm = NEW FChildform(svWS, hWin, bResizable) AS "ChildForm" ... $aWindow.Add(hForm) Then the are the same? Assume FOR EACH looks nicer. My reason to change the width/height is to get the intinutive bottom-right corner in the WS to be able to resize it if outside the visible WS space. For mnuTile_Click() You say Forms can't be resized. I think that not true. They SHOULD not resized because the layout is f**ked-up Anyway a major fault of my side i did this. :( I hope you like my new correction/changes In FChildform I add a property In FWorkSpace I add comments in Add(....) why the property is done. Re-enabled the resize of the hWin/FChildform in mnuTile and mnuCascade. Changed the xw declaration to FChildform, the correct one. Used the new property to prevent the Form editors to resize. Update to the dimensions in mnuTile (Taskbar forgotten). Changed the for next with ix and iy to for each (nicer to have the same For next in both) Commented in Watch_Close the mnuTile.Enable. Works here now as I wanted and you started to create. :) One point. If I use the ctrl-x or ctrl-c and use ctrl-v to cut&paste it, the paste, can happens in the wrong editor (FChildform). Using the RMB menu for cut&paste is OK. I have this problem also found in the original gb.form.mdi and reported. It looks now more persistent to occur. Not sure if that is true. Ron -------------- next part -------------- A non-text attachment was scrubbed... Name: mda_update.tar.gz Type: application/x-tgz Size: 4268 bytes Desc: not available URL: From gambas.fr at ...176... Wed Jun 28 14:24:32 2006 From: gambas.fr at ...176... (Fabien Bodard) Date: Wed, 28 Jun 2006 14:24:32 +0200 Subject: [Gambas-devel] New gambas MDI Component. In-Reply-To: <200606280057.14887.ronstk@...124...> References: <200606280018.10373.sirfabien@...176...> <200606280057.14887.ronstk@...124...> Message-ID: <6324a42a0606280524t4a1078f4jaad3136d18e96181@...178...> 2006/6/28, Ron Onstenk : > On Wednesday 28 June 2006 00:18, Fabien Bodard wrote: > > In this version i've integrated the code that Ron Onstenk have send to me. > > > Fine :) > > > (Hey Ron!, i've done some change on your code... special windows like > Forms > > can't be resized so i deasable the menu tile_window if one of then are > this > > type and forget the resizing in cascade.) > You are the "maintainer" of the gb.form.mda so change as you like. > The code was a simple quick try to help a bit. > Did not really test it with Forms, only code editors. (slap myself :) ) > > As I have seen earlier this evening you did not simple add/remove small code > snippits but changed i.e. Watch_Close much more I expected compared to > original. What original ..? the only code from the Benoi code is the api interface Workspace.class > Take a look, if not already done, for the problem I found with close all > and try open a new code editor. > Already corrected in this version, no ? > > I'm now busy with some other things but will try it later > > > BTW > I changed the Tile to correct some dimensions. > > To get the best layout I use the SQR of the count+1. > The plus 1 is to prevent SQR(0), gives 1 at least > The horizontal count is the integer of it > The vertical is the total divide by horz, note the no div by zero. > The IF just below is to make sure I get all windows/forms. > This part of code is not the best but works here in a quick&dirty way. > More for fit then best arrange&layout&fit. :) > > In both iCCxxx the -24 is for the scrollbar if they occurs. > I had forgotten the Taskbar on bottom and is now also in calculation. > > My actual new code I use now is: > > PUBLIC SUB mnuTile_Click() > DIM iCCwidth AS Integer > DIM iCCheight AS Integer > DIM xw AS window > DIM off AS Integer > DIM offx AS Integer > DIM offy AS Integer > DIM ix, iy AS Integer > > off = $aWindow.Count > offx = Int(Sqr($aWindow.Count + 1)) > offy = $aWindow.Count \ offx ' offx ' + 1 > IF (offx * offy) < $aWindow.Count THEN INC offy > > iCCwidth = (ME.ClientWidth - 24) \ IIf(offx = 0, 1, offx) > iCCheight = (ME.ClientHeight - hTaskBar.Height - 24) \ IIf(offy = 0, 1, > offy) > > FOR ix = 0 TO offx - 1 > FOR iy = 0 TO offy - 1 > IF (iy * offx + ix) < off THEN '<-- this prevent no existing objects > :) > xw = $aWindow[iy * offx + ix] > xw.Width = iCCwidth 'dimension > xw.Height = iCCheight > xw.Left = iCCwidth * ix 'place > xw.Top = iCCheight * iy > ENDIF > NEXT > NEXT > > END > ok > Yes I know, using xw.move(x,y,w,h) could be used. > > Greets > Ron > > PS, increment you version in tarbal next time :) > It's done have you not see that ? 0.1 is not 0.01 > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From j.m.curl at ...485... Wed Jun 28 15:33:13 2006 From: j.m.curl at ...485... (Jason Curl) Date: Wed, 28 Jun 2006 23:33:13 +1000 Subject: [Gambas-devel] Parallel Port (was Gamba's Digest) Message-ID: <200606281333.k5SDXDDv004049@...490...> Ron, Thanks for your answer, it's pretty informative. > Ron Onstenk wrote: > > On Monday 26 June 2006 11:39, Jason Curl wrote: > > Hello.. > > > > I notice that the Wiki page indicates using the /dev/port device. > > /dev/port is a link to a driver using a driver to CPU ports > Simple read/write to specific port address in the CPU space. > > > Is it possible to use the generic parallel port device /dev/parportN? > > /dev/parportN is a link to a printer driver for I/O > Using the *handshake* for printers and fixed address (CPU port). > > The behaviour of both are very different. > Talking to '/dev/parportN' is protocol managed > and then that one talks internal to '/dev/port' via ioctl() > I've been using /dev/parportN for physical ports in C (using ioctl() to write the particular bits), but I don't know how to write X applications, and was investigating using Gambas to do this for me. I'm not using the IEEE1284 protocols, just using ioctls() to change the bits via /dev/parportN. > > In particular there needs to be methods to send ioctl() as in C. > > This is more or less using '/dev/port' > I use /dev/parportN successfully, and use this device as the user doesn't need to know what the physical port numbers are and the kernel can choose instead. Otherwise you're right, it's nearly the same. It also is better protected though than using /dev/port, and won't interfere if a printer driver is already loaded (access to /dev/parportN is denied). > > Then if a driver is ever written for USB, this should also work right? > > A printer driver for USB? > No because/if you want real user bit Set/Reset control. > > A bit Set/Reset driver for a chip on USB? > Yes but you must select any way somewhere what to > use, USB or the I/O port of the box. > > > > > Regards, > > Jason. > > > > And yes the IBM printer is standard on CPU ports but > as you say it can be nowadays USB or network based to. > However the /dev/parportN is as far I know to the good old CPU ports. > > Note about '/dev/parportN', Here is assumed this is the same as the > /dev/lpN ports. > If not same then the question rise why /dev/port and /dev/parportN > exists. > I don't know if there is a /dev/parportN driver for USB printers, I've only seen /dev/lpN in this case. And actually, my new HP doesn't even come with a printer port, unless it's connected to a docking station. ignoring USB for now, does Gambas allow sending ioctls without having to make a specific component? Thanks, Jason. From gambas.fr at ...176... Wed Jun 28 15:44:31 2006 From: gambas.fr at ...176... (Fabien Bodard) Date: Wed, 28 Jun 2006 15:44:31 +0200 Subject: [Gambas-devel] New gambas MDI Component. In-Reply-To: <6324a42a0606280537u5b90e8fobb14737f0936a027@...178...> References: <200606280018.10373.sirfabien@...176...> <200606280516.20124.ronstk@...124...> <6324a42a0606280537u5b90e8fobb14737f0936a027@...178...> Message-ID: <6324a42a0606280644i3970967dl2b936a94db7baca1@...178...> ' This because FForm is a gambas IDE Form and not a user Form ' Three solutions '1) I add a new collection to store the bResizable '2) I add a property to FChildform, named NoTileCascade '3) Don't resize anyway, not a option for me (ron). ' The Workspace.SetResizable(hForm, TRUE, Project.Snap) looks to me ' a kind of overkill. Beside off that I do believe FIconEditor should ' handled the same as FForm in the .mda version, for same reason. ' Solution 2 looks to me the best way, also consistent as public control hForm.NoTileCascade = bResizable ' it is meaning FForm as explaned above Harg ! Ron ? What are you doing here ? This property already exist ! it's 'CanResize' It return or set the bResize Flag ! Look More :) Nevertheless thank you for the other updates ! Fabien From gambas.fr at ...176... Wed Jun 28 14:37:38 2006 From: gambas.fr at ...176... (Fabien Bodard) Date: Wed, 28 Jun 2006 14:37:38 +0200 Subject: [Gambas-devel] New gambas MDI Component. In-Reply-To: <200606280516.20124.ronstk@...124...> References: <200606280018.10373.sirfabien@...176...> <200606280516.20124.ronstk@...124...> Message-ID: <6324a42a0606280537u5b90e8fobb14737f0936a027@...178...> 2006/6/28, Ron Onstenk : > On Wednesday 28 June 2006 00:18, Fabien Bodard wrote: > > (Hey Ron!, i've done some change on your code... special windows like > Forms > > can't be resized so i deasable the menu tile_window if one of then are > this > > type and forget the resizing in cascade.) > > > > For mnuCascade_Click() > I see you changed $aWindows in svWS.Children yes to maintain the upper windows on the top > When I lookup in the .Add I see you do > hForm = NEW FChildform(svWS, hWin, bResizable) AS "ChildForm" > ... > $aWindow.Add(hForm) > > Then the are the same? Assume FOR EACH looks nicer. yes :) > My reason to change the width/height is to get the intinutive bottom-right Yes i understand.. and i've bloked resizing only on special forms > corner > in the WS to be able to resize it if outside the visible WS space. But if it is a form ? > For mnuTile_Click() > You say Forms can't be resized. I think that not true. > They SHOULD not resized because the layout is f**ked-up > Anyway a major fault of my side i did this. :( yes it's that you're true :) > > > I hope you like my new correction/changes > In FChildform I add a property > In FWorkSpace I add comments in Add(....) why the property is done. > Re-enabled the resize of the hWin/FChildform in mnuTile and mnuCascade. > Changed the xw declaration to FChildform, the correct one. > Used the new property to prevent the Form editors to resize. > Update to the dimensions in mnuTile (Taskbar forgotten). > Changed the for next with ix and iy to for each > (nicer to have the same For next in both) > Commented in Watch_Close the mnuTile.Enable. > > Works here now as I wanted and you started to create. :) > > One point. > If I use the ctrl-x or ctrl-c and use ctrl-v to cut&paste it, the paste, > can happens in the wrong editor (FChildform). > Using the RMB menu for cut&paste is OK. hum ... i need to activate the form ! by setfocus or .activate > > I have this problem also found in the original gb.form.mdi and reported. > It looks now more persistent to occur. Not sure if that is true. yes it's the pseudo activate event not already done in Watcher. But Gambas is really great now, i was not imagine that there is 2 year... with my first trying of making gimp like toolboxes But oups i've talking about the near future ...; Never do that ! Thanks ! Regards, Fabien From ronstk at ...124... Wed Jun 28 19:02:55 2006 From: ronstk at ...124... (Ron Onstenk) Date: Wed, 28 Jun 2006 19:02:55 +0200 Subject: [Gambas-devel] New gambas MDI Component. In-Reply-To: <6324a42a0606280644i3970967dl2b936a94db7baca1@...178...> References: <200606280018.10373.sirfabien@...176...> <6324a42a0606280537u5b90e8fobb14737f0936a027@...178...> <6324a42a0606280644i3970967dl2b936a94db7baca1@...178...> Message-ID: <200606281902.55362.ronstk@...124...> On Wednesday 28 June 2006 15:44, Fabien Bodard wrote: > ' This because FForm is a gambas IDE Form and not a user Form > ' Three solutions > '1) I add a new collection to store the bResizable > '2) I add a property to FChildform, named NoTileCascade > '3) Don't resize anyway, not a option for me (ron). > > ' The Workspace.SetResizable(hForm, TRUE, Project.Snap) looks to me > ' a kind of overkill. Beside off that I do believe FIconEditor should > ' handled the same as FForm in the .mda version, for same reason. > ' Solution 2 looks to me the best way, also consistent as public control > hForm.NoTileCascade = bResizable ' it is meaning FForm as explaned above > > > > Harg ! > Ron ? What are you doing here ? This property already exist ! > it's 'CanResize' It return or set the bResize Flag ! > > Look More :) > > Nevertheless thank you for the other updates ! > > Fabien > Well that property exists, I know but it is the property with respecting the MDI code from Benoit. If he adds a hForm then for a Form he passes to Cwindow.New a boolean to tell It can resized. See the added code part from Project.ShowFile() The flag is bResizable and set to true for Form. Yes you should be able to resize in _HIS_ mdi version. But the working of that flag is in your mdi the opposite. In project.showfile this is true for Form and may resized. In yours you did use it to disbable resize _for_ Tile and that is something else. I did try with CanResize, but as it is the same flag from the New I had to use IF Not .CanResize THEN It did not work correct because somewhere this flag is changed in the code from Benoits frontend. The initial flag during New FChildform() is however correct and that one should keep during the whole session. So The new property means and does what it say 'NoTileCascade' if true. In fact I need only to look to the classtype of hWin, it is "FEditor", "FForm" or one of the others. See the snippit from project.showfile() I did not do that because the intention is any user can use gb.form.mdi and the do not use gambas IDE Form classes at all. But they must be able to prevent the Tile and Cascade resize for the same reason as gambas FForm needs. > Ron ? What are you doing here ? This property already exist ! No the meaning and behaviour is different. > it's 'CanResize' It return or set the bResize Flag ! And in fact for your MDI it means IsForm and do NOT resize. Read the explanation I add and see the Project.Showfile again. Keep in mind it is a general user available control and may not depend on specific gambas IDE classes the user is unknown about. i.e. the FForm ! Greets Ron From ronstk at ...124... Wed Jun 28 19:20:36 2006 From: ronstk at ...124... (Ron Onstenk) Date: Wed, 28 Jun 2006 19:20:36 +0200 Subject: [Gambas-devel] New gambas MDI Component. In-Reply-To: <6324a42a0606280537u5b90e8fobb14737f0936a027@...178...> References: <200606280018.10373.sirfabien@...176...> <200606280516.20124.ronstk@...124...> <6324a42a0606280537u5b90e8fobb14737f0936a027@...178...> Message-ID: <200606281920.36343.ronstk@...124...> On Wednesday 28 June 2006 14:37, Fabien Bodard wrote: > 2006/6/28, Ron Onstenk : > > On Wednesday 28 June 2006 00:18, Fabien Bodard wrote: > > > (Hey Ron!, i've done some change on your code... special windows like > > Forms > > > can't be resized so i deasable the menu tile_window if one of then are > > this > > > type and forget the resizing in cascade.) > > > > > > > For mnuCascade_Click() > > I see you changed $aWindows in svWS.Children > yes to maintain the upper windows on the top Then the change I did in mnuTile_Click() is not only nice but required :) > > When I lookup in the .Add I see you do > > hForm = NEW FChildform(svWS, hWin, bResizable) AS "ChildForm" > > ... > > $aWindow.Add(hForm) > > > > Then the are the same? Assume FOR EACH looks nicer. > yes :) :) > > My reason to change the width/height is to get the intinutive bottom-right > Yes i understand.. and i've bloked resizing only on special forms > > corner > > in the WS to be able to resize it if outside the visible WS space. > But if it is a form ? See the change in both events, I do not resize if it is a Form. Using: IF NOT NoTileCascade THEN resize > > For mnuTile_Click() > > You say Forms can't be resized. I think that not true. > > They SHOULD not resized because the layout is f**ked-up > > Anyway a major fault of my side i did this. :( > > yes it's that you're true :) > > > > > > I hope you like my new correction/changes > > In FChildform I add a property > > In FWorkSpace I add comments in Add(....) why the property is done. > > Re-enabled the resize of the hWin/FChildform in mnuTile and mnuCascade. > > Changed the xw declaration to FChildform, the correct one. > > Used the new property to prevent the Form editors to resize. > > Update to the dimensions in mnuTile (Taskbar forgotten). > > Changed the for next with ix and iy to for each > > (nicer to have the same For next in both) > > Commented in Watch_Close the mnuTile.Enable. > > > > Works here now as I wanted and you started to create. :) > > > > One point. > > If I use the ctrl-x or ctrl-c and use ctrl-v to cut&paste it, the paste, > > can happens in the wrong editor (FChildform). > > Using the RMB menu for cut&paste is OK. > hum ... i need to activate the form ! > by setfocus or .activate > > > > I have this problem also found in the original gb.form.mdi and reported. > > It looks now more persistent to occur. Not sure if that is true. > > yes it's the pseudo activate event not already done in Watcher. > > But Gambas is really great now, i was not imagine that there is 2 Yessssssssssssss :) > year... with my first trying of making gimp like toolboxes > But oups i've talking about the near future ...; Never do that ! Keep dreaming, that is the source of inovation :) > > Thanks ! > > Regards, > Fabien Greets Ron From ronstk at ...124... Wed Jun 28 19:31:42 2006 From: ronstk at ...124... (Ron Onstenk) Date: Wed, 28 Jun 2006 19:31:42 +0200 Subject: [Gambas-devel] New gambas MDI Component. In-Reply-To: <6324a42a0606280524t4a1078f4jaad3136d18e96181@...178...> References: <200606280018.10373.sirfabien@...176...> <200606280057.14887.ronstk@...124...> <6324a42a0606280524t4a1078f4jaad3136d18e96181@...178...> Message-ID: <200606281931.42496.ronstk@...124...> On Wednesday 28 June 2006 14:24, Fabien Bodard wrote: > 2006/6/28, Ron Onstenk : > > On Wednesday 28 June 2006 00:18, Fabien Bodard wrote: > > > In this version i've integrated the code that Ron Onstenk have send to me. > > > > > Fine :) > > > > > (Hey Ron!, i've done some change on your code... special windows like > > Forms > > > can't be resized so i deasable the menu tile_window if one of then are > > this > > > type and forget the resizing in cascade.) > > You are the "maintainer" of the gb.form.mda so change as you like. > > The code was a simple quick try to help a bit. > > Did not really test it with Forms, only code editors. (slap myself :) ) > > > > As I have seen earlier this evening you did not simple add/remove small code > > snippits but changed i.e. Watch_Close much more I expected compared to > > original. > What original ..? the only code from the Benoi code is the api > interface Workspace.class I assumed you used the original code as start but what about this: PUBLIC SUB SetResizable(hWin AS Window, bResizable AS Boolean, iGrid AS Integer) END Benoit belives there are things done if he calls that API method. And it is used in Project.ShowFile for the FForm class! The value for iGrid is never set anymore to users wish. > > Take a look, if not already done, for the problem I found with close all > > and try open a new code editor. > > > Already corrected in this version, no ? Yes it is fixed, works now OK. > > > > ----8<--- > > I like gambas with a good glass of cognac :) Greets Ron From gambas at ...1... Wed Jun 28 19:55:46 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 28 Jun 2006 19:55:46 +0200 Subject: [Gambas-devel] New gambas MDI Component. In-Reply-To: <200606281931.42496.ronstk@...124...> References: <200606280018.10373.sirfabien@...176...> <6324a42a0606280524t4a1078f4jaad3136d18e96181@...178...> <200606281931.42496.ronstk@...124...> Message-ID: <200606281955.46556.gambas@...1...> On Wednesday 28 June 2006 19:31, Ron Onstenk wrote: > > I assumed you used the original code as start but what about this: > PUBLIC SUB SetResizable(hWin AS Window, bResizable AS Boolean, iGrid AS > Integer) > > END > > Benoit belives there are things done if he calls that API method. > And it is used in Project.ShowFile for the FForm class! > The value for iGrid is never set anymore to users wish. > I didn't look at gb.form.mda at the moment, but here is a few remarks anyway :-) This SetResizable() method may be replaced by something better in the future. Maybe Fabien and you should not use the IDE to test the gb.form.mda component, but a fake MDI program. Once the gb.form.mda code is bug free, it will be easier to have the same interface between gb.form.mdi and gb.form.mda component. The problem with the SetResizable() concept is that is does not mean that the child window *must* be resizable, but that the Workspace should add support to resize it inside the child window border (look at the vb6 interface). The difference between gb.form.mda and gb.form.mdi should be that: - In gb.form.mdi, the windows are always maximized, and you can add a support for resizing the child window *inside* the window border. - In gb.form.mda, the windows can be resized, but this is independant from the fact that some child windows can be resized inside the border. Regards, -- Benoit Minisini From gambas.fr at ...176... Thu Jun 29 10:06:51 2006 From: gambas.fr at ...176... (Fabien Bodard) Date: Thu, 29 Jun 2006 10:06:51 +0200 Subject: [Gambas-devel] New gambas MDI Component. In-Reply-To: <200606281955.46556.gambas@...1...> References: <200606280018.10373.sirfabien@...176...> <6324a42a0606280524t4a1078f4jaad3136d18e96181@...178...> <200606281931.42496.ronstk@...124...> <200606281955.46556.gambas@...1...> Message-ID: <6324a42a0606290106q5c79a24eu19b2ab387eb791e0@...178...> > I didn't look at gb.form.mda at the moment, but here is a few remarks > anyway :-) If you have not try it ..; i suggest you to test it ! > > This SetResizable() method may be replaced by something better in the future. > Maybe Fabien and you should not use the IDE to test the gb.form.mda > component, but a fake MDI program. > yes i'm agree I'm going to try to make a better API with just a little flag to sp?cific windows > Once the gb.form.mda code is bug free, it will be easier to have the same > interface between gb.form.mdi and gb.form.mda component. why keep the both ? In fac my tryin is to create a component to replace your but with keep of the mdi old style and you maximized mode > The problem with the SetResizable() concept is that is does not mean that the > child window *must* be resizable, but that the Workspace should add support > to resize it inside the child window border (look at the vb6 interface). yes i understand that... but i do not like the in child windows concept ! i use it only in maximized mode. > The difference between gb.form.mda and gb.form.mdi should be that: > - In gb.form.mdi, the windows are always maximized, and you can add a support > for resizing the child window *inside* the window border. > - In gb.form.mda, the windows can be resized, but this is independant from the > fact that some child windows can be resized inside the border. not agree to have both component but agree for adding a new property like ron said ! And mabe for you a WS.AlwayMaximized that lock the mda in Max mode. What about that ? In fact I'm going to add an SizeDependent property. Next i will make an interface between the ChildContainer and the Windows contained into this. By tis way the child properties can be the same. hChild as WS.Child hChild.Maximized = true Set the container maximized :) I think it's possible ! the same for hChild.Border... i need to explore all of that ! Regards, Fabien Bodard > Regards, > > -- > Benoit Minisini > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From csorda at ...69... Thu Jun 29 10:40:43 2006 From: csorda at ...69... (csorda@libero.it) Date: Thu, 29 Jun 2006 10:40:43 +0200 Subject: [Gambas-devel] Gambas2 crash when use Treeview in gtk from qt Message-ID: Hi everyone, I use Gambas2 1.9.32 on Ubuntu 6.06 on laptop dell inspiron 6400, centrino duo. I have created a project with a TreeView. I have selected gb.gtk from project properties. If I use Treeview1.add(...) a crash message appear. If I change gb.gtk to gb.qt that's all ok. Best regards. Carlo Sorda ps. There is a way to insert a field, like TAG as variant, present in TreeViewNode in VB6? From dcamposf at ...176... Thu Jun 29 14:36:30 2006 From: dcamposf at ...176... (Daniel Campos) Date: Thu, 29 Jun 2006 14:36:30 +0200 Subject: [Gambas-devel] Gambas2 crash when use Treeview in gtk from qt In-Reply-To: References: Message-ID: <7259b5ae0606290536u27b61410x87eb2ff19916e37e@...178...> The gtk treeview is partially broken. It will take a time to work. Do not use gb.gtk in production programs except if you know exactly what you're doing :-) 2006/6/29, csorda at ...69... : > > Hi everyone, > I use Gambas2 1.9.32 on Ubuntu 6.06 on laptop dell inspiron 6400, centrino > duo. > I have created a project with a TreeView. > I have selected gb.gtk from project properties. > If I use Treeview1.add(...) a crash message appear. > If I change gb.gtk to gb.qt that's all ok. > Best regards. Carlo Sorda > > ps. > There is a way to insert a field, like TAG as variant, present in > TreeViewNode in VB6? > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From csorda at ...69... Thu Jun 29 20:31:13 2006 From: csorda at ...69... (csorda@libero.it) Date: Thu, 29 Jun 2006 20:31:13 +0200 Subject: [Gambas-devel] Gambas2 crash when use Treeview in gtk from qt Message-ID: OK Thanks a lot. > The gtk treeview is partially broken. It will take a time to work. Do not > use gb.gtk in production programs except if you know exactly what you're > doing :-) > > 2006/6/29, csorda at ...69... : > > > > Hi everyone, > > I use Gambas2 1.9.32 on Ubuntu 6.06 on laptop dell inspiron 6400, centrino > > duo. > > I have created a project with a TreeView. > > I have selected gb.gtk from project properties. > > If I use Treeview1.add(...) a crash message appear. > > If I change gb.gtk to gb.qt that's all ok. > > Best regards. Carlo Sorda > > > > ps. > > There is a way to insert a field, like TAG as variant, present in > > TreeViewNode in VB6? > > > > > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Gambas-devel mailing list > > Gambas-devel at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > >