[Gambas-user] Changing hierarchy later

2011-02-14 Thread Gregor Burck
Hi,

is it possible in gambas2 to change the hierarchy to a later time?

There is the hierarchy treeview, but I guess I can't move items to an other 
branch?

Thank you

Gregor
-- 




--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Colorchooser crash

2011-02-14 Thread Demosthenes Koptsis
Thanks! 

On Sun, 2011-02-13 at 17:37 +0100, Benoît Minisini wrote:
  Benoit sorry i made a mistake.
  
  Here is the link
  
  http://www.mediafire.com/?w73g6ots4ejahjg
  
  How to reproduce the bug.
  
  1) click lblColor
  2) A form with color chooser is showed.
  3) Click the color pick up tool.
  4) Click many times in color area until the messages comes up and a
  signal 11.
  5) sometimes you need to close FColorChooser form and reopen it and
  continue the clicks in colorchooser area.
  
  6) The signal 11 will be raised on clicks the color area or after
  closing the form.
  
 
 That bug has been fixed in revision #3566.
 
 Regards,
 

-- 
Regards,
Demosthenes


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Copying to GNOME's clipboard

2011-02-14 Thread vikram
Hi,

I am using Gambas 2.21(gb.gtk) on Debian Squeeze(GNOME). I am trying to copy 
text from my application onto GNOME's clipboard. 

I did try using Clipboard.Copy to copy onto the Clipboard the text copied only 
remains on the clipboard for as long as the gambas application is running. The 
moment the gambas application is closed the clipboard is cleared.

How can i make the text in the clipboard persist even after the gambas 
application is closed?

Thanks in advance,
Best Regards,
Vikram Nair



 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Copying to GNOME's clipboard

2011-02-14 Thread Benoît Minisini
 Hi,
 
 I am using Gambas 2.21(gb.gtk) on Debian Squeeze(GNOME). I am trying to
 copy text from my application onto GNOME's clipboard.
 
 I did try using Clipboard.Copy to copy onto the Clipboard the text copied
 only remains on the clipboard for as long as the gambas application is
 running. The moment the gambas application is closed the clipboard is
 cleared.
 
 How can i make the text in the clipboard persist even after the gambas
 application is closed?
 
 Thanks in advance,
 Best Regards,
 Vikram Nair
 

You need to run a clipboard manager. Apparently, on Gnome, it is an applet 
named Glipper. On KDE, it is Klipper.

Regards,

-- 
Benoît Minisini

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Settings component

2011-02-14 Thread Jussi Lahtinen
OK, I solved this.

I looked these and I didn't get it...
http://gambasdoc.org/help/comp/gb.settings/settings/path?v3
http://gambasdoc.org/help/comp/gb.settings/settings?v3

I tried this:

Dim hS As New Settings
hS.Path = 


Then I looked at source code.
And the answer is this:

Dim hS As New Settings(/my/path/to/configs/myconf.conf)


Maybe this was quite obvious, but I think it would be nice to have mentioned in
at least one those documentation pages...

Jussi



On Mon, Feb 14, 2011 at 00:41, richard terry rte...@pacific.net.au wrote:
 On Monday 14 February 2011 09:12:24 Jussi Lahtinen wrote:
 Hi!
 I think I have missed something... documentation says about Settings:
 If you use this class statically, then the default project
 configuration file will be used.

 And path property is read only.

 So, how can you determine what path and file to use to store settings?

 Jussi

 if your project is called my-project, then your settings file will be in
 /home/your_name/.config/gambas3/my-project.conf

 YOu don't have to worry about path, just do this in your project

 For example to save a split:

 in Form_close or whereever

 Public sub Settings_Save()
     Settings[Whatever_section_you_want_to_call_it/Hsplit1.layout]=
 Hsplit1.layout
 end

 in Form_open or whereever:

 Public sub Settings_Load()
    hsplit1.layout =
 Settings[Whatever_section_you_want_to_call_it/Hsplit1.layout]

 Regards

 richard


 ---
 --- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
  XE: Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Is there a simple example of component written i C or C++

2011-02-14 Thread Zelimir Ikovic
Something simple like a component with

2 Properties like BACKGROUNDCOLOR, FOREGROUNDCOLOR
2 Methods like DRAWACIRCLEINTHEMIDLE, DRAWASQUAREINTHEMIDLE
2 Events like ClickedonLeftHalfofComponent and ClickedonRightHalfofComponent 

and then

Gambas project that demonstrate using of component

Regards



--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Is there a simple example of component written i C or C++

2011-02-14 Thread Zelimir Ikovic
I have a polyline (oil pipeline) with 10 line segments, and about 20 
points (Latitude longitude) and I have to calculate distance to 
to polyline for each point, and most of the problem I am dealing with is 
something like that. Another problem is to calculate point in poligons for huge 
number of points, and polygons

And Gambas would be a good choice if I can link it to external procedures
writen i C, or C++ when speed is critical





to calculate 
--- On Mon, 2/14/11, Benoît Minisini gam...@users.sourceforge.net wrote:

 From: Benoît Minisini gam...@users.sourceforge.net
 Subject: Re: [Gambas-user] Is there a simple example of component written i C 
 or C++
 To: mailing list for gambas users gambas-user@lists.sourceforge.net
 Received: Monday, February 14, 2011, 9:55 AM
  Something simple like a
 component with
  
  2 Properties like BACKGROUNDCOLOR, FOREGROUNDCOLOR
  2 Methods like DRAWACIRCLEINTHEMIDLE,
 DRAWASQUAREINTHEMIDLE
  2 Events like ClickedonLeftHalfofComponent and
  ClickedonRightHalfofComponent
  
  and then
  
  Gambas project that demonstrate using of component
  
  Regards
  
 
 Why doing that in C/C++? It it far simpler to do that in
 Gambas.
 
 -- 
 Benoît Minisini
 
 --
 The ultimate all-in-one performance toolkit: Intel(R)
 Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the
 development cycle.
 Locate bottlenecks in serial and parallel code that limit
 performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user
 



--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Issue 34 in gambas: Qt layouts and spaces

2011-02-14 Thread gambas
Status: New
Owner: 
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 34 by gillianh...@gmail.com: Qt layouts and spaces
http://code.google.com/p/gambas/issues/detail?id=34

1) Describe the problem.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK or BRANCHES/2.0 or 2.22.0
Revision: r1234 (if you use a development version)
Operating system: Linux / FreeBSD
Distribution: Ubuntu / Fedora / ArchLinux / Gentoo ...
Architecture: x86 / x86_64 / ARM
GUI component: QT3 / QT4 / GTK+
Desktop used: Gnome / KDE ...

3) Provide a little project that reproduces the bug or the crash.

4) If your project needs a database, try to provide it, or part of it.

5) Explain clearly how to reproduce the bug or the crash.

6) By doing that carefully, you have done 50% of the bug fix job!

IMPORTANT NOTE: if you encounter several different problems or bugs, (for
example, a bug in your project, and an interpreter crash while debugging
it), please create distinct issues!



--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Issue 35 in gambas: Enhancement: Qt layouts and spacers

2011-02-14 Thread gambas
Status: New
Owner: 
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 35 by gillianh...@gmail.com: Enhancement: Qt layouts and spacers
http://code.google.com/p/gambas/issues/detail?id=35

It would be useful if the form designer provided the facility to insert  
layouts and spacers (a bit like the Qt form designer).



--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 34 in gambas: Qt layouts and spaces

2011-02-14 Thread gambas

Comment #1 on issue 34 by gillianh...@gmail.com: Qt layouts and spaces
http://code.google.com/p/gambas/issues/detail?id=34

Close this bug. Microsoft Windows automatically submitted this report  
before I had finished typing it.


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 34 in gambas: Qt layouts and spaces

2011-02-14 Thread gambas
Updates:
Status: Invalid

Comment #2 on issue 34 by benoit.m...@gmail.com: Qt layouts and spaces
http://code.google.com/p/gambas/issues/detail?id=34

(No comment was entered for this change.)


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 35 in gambas: Enhancement: Qt layouts and spacers

2011-02-14 Thread gambas
Updates:
Status: WontFix
Labels: -Version -Type-Bug Version-TRUNK Type-Enhancement

Comment #1 on issue 35 by benoit.m...@gmail.com: Enhancement: Qt layouts  
and spacers
http://code.google.com/p/gambas/issues/detail?id=35

The Gambas layout system does not use the Qt layout system at all.

It is based on the Arrangement property of containers (or on containers  
like HBox and VBox that have a default arrangement). Spaces are based on  
the Spacing, Margin and Padding properties.


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user