Re: [Gambas-user] Magnify

2011-04-18 Thread Shane Powell
On 19/04/11 08:46, richard terry wrote: > On Monday 18 April 2011 18:06:54 Shane Powell wrote: >> Just some more tinkering >> > Hi LIst, > > I've made some minor mods and put the magnification factor on the mouse wheel. > > I can make it get more magnified, but don't know how to detect which direct

Re: [Gambas-user] Creating a Variant[] on the fly

2011-04-18 Thread Bruce Bruen
On Tuesday, April 19, 2011 12:03:24 AM Jussi Lahtinen wrote: > You can do it this way; > > Create class named InlineVariant, paste this in; > > PUBLIC FUNCTION _call(...) AS Variant[] > DIM Var AS Variant > DIM aVar AS NEW Variant[] > > FOR EACH var IN Param > aVar.Add(var) > NEXT > >

Re: [Gambas-user] Magnify

2011-04-18 Thread richard terry
On Monday 18 April 2011 18:06:54 Shane Powell wrote: > Just some more tinkering > Hi LIst, I've made some minor mods and put the magnification factor on the mouse wheel. I can make it get more magnified, but don't know how to detect which direction the mouse wheel is moving. Any help appreciate

Re: [Gambas-user] Creating a Variant[] on the fly

2011-04-18 Thread Jussi Lahtinen
You can do it this way; Create class named InlineVariant, paste this in; PUBLIC FUNCTION _call(...) AS Variant[] DIM Var AS Variant DIM aVar AS NEW Variant[] FOR EACH var IN Param aVar.Add(var) NEXT RETURN aVar END Then use it like this; csvRelData.Add(InlineVariant(.LocalCardinali

Re: [Gambas-user] Creating a Variant[] on the fly

2011-04-18 Thread Bruce Bruen
On Monday, April 18, 2011 06:00:14 PM Benoît Minisini wrote: > > Nevermind, I got around it by > > > > DIM vArray as New Variant[] > > > > varray=["Cardinalities",.LocalCardinality,.TargetCardinality] > > csvRelData.Add(varray,"Cardinalities") > > varray=["Transpose",.LocalSliceMethod

Re: [Gambas-user] Version 3773 - code blocks

2011-04-18 Thread richard terry
On Monday 18 April 2011 19:09:11 Benoît Minisini wrote: > > HI Benoit, > > > > Been using this for a few hours with troublesome problems. > > > > Code blocks are no longer working - the program seems to skip over them > > which is making it very hard to debug. > > > > Regards > > > > Richard > > W

Re: [Gambas-user] Some issues in revision 3776

2011-04-18 Thread Ricardo Díaz Martín
Thanks Benoit for fast reply. Ok, I'm going to change the "FormsCleaner" sub to include f.Close() Only for your information, last used version was 3572 (2011-02-14) Regards, Ricardo Díaz 2011/4/18 Benoît Minisini > > Hi list, > > > > I have updated gambas3 from svn this weekend and I got now

Re: [Gambas-user] using a "file system database"

2011-04-18 Thread Kevin Fishburne
On 04/18/2011 04:32 AM, Doriano Blengino wrote: > Kevin Fishburne ha scritto: >> On 04/15/2011 03:56 AM, Doriano Blengino wrote: >> >>> Kevin Fishburne ha scritto: >>> I'm in the early phases of creating a "database" that uses the file system for data organization rather than a traditiona

Re: [Gambas-user] Version 3773 - code blocks

2011-04-18 Thread Benoît Minisini
> HI Benoit, > > Been using this for a few hours with troublesome problems. > > Code blocks are no longer working - the program seems to skip over them > which is making it very hard to debug. > > Regards > > Richard > What is "code blocks"? -- Benoît Minisini -

Re: [Gambas-user] Some issues in revision 3776

2011-04-18 Thread Benoît Minisini
> Hi list, > > I have updated gambas3 from svn this weekend and I got now some issues: What's the last used version before? > > 1- What's happened with gb.info component? It can be selected in project > dependencies but it's missing. gb.info has been removed. But I forgot to remove it from the

[Gambas-user] Some issues in revision 3776

2011-04-18 Thread Ricardo Díaz Martín
Hi list, I have updated gambas3 from svn this weekend and I got now some issues: 1- What's happened with gb.info component? It can be selected in project dependencies but it's missing. 2- I usually save a reference to open forms in a collection in the main class of my applications to improve app

Re: [Gambas-user] using a "file system database"

2011-04-18 Thread Doriano Blengino
Kevin Fishburne ha scritto: > On 04/15/2011 03:56 AM, Doriano Blengino wrote: > >> Kevin Fishburne ha scritto: >> >>> I'm in the early phases of creating a "database" that uses the file >>> system for data organization rather than a traditional software database >>> such as MySQL,... >>>

Re: [Gambas-user] Creating a Variant[] on the fly

2011-04-18 Thread Benoît Minisini
> > Nevermind, I got around it by > > DIM vArray as New Variant[] > > varray=["Cardinalities",.LocalCardinality,.TargetCardinality] > csvRelData.Add(varray,"Cardinalities") > varray=["Transpose",.LocalSliceMethod,.TargetSliceMethod] > csvRelData.Add(varray,"Transpose"] >

Re: [Gambas-user] Creating a Variant[] on the fly

2011-04-18 Thread Bruce Bruen
On Monday, April 18, 2011 03:11:22 PM Bruce Bruen wrote: > I have a custom gridview control which has a method "Add", which adds a > Variant[] array into an internal collection. IOW it exposes the method : > > PUBLIC SUB Add(dataitem as Variant[], key as String) > > This allows me to add "any" ty

Re: [Gambas-user] slider/spinbox

2011-04-18 Thread Fabien Bodard
2011/4/18 Shane Powell : > On 18/04/11 17:24, Fabien Bodard wrote: >> 2011/4/18 Shane Powell: >>> How about a slider and or a spinbox having float values ? >> for slider the workaround will be  to use a *100 factor >> >> slider.step = 2 >> >> slider.maxvalue = 400 >> Slider.MinValue = 200 >> >> >>

Re: [Gambas-user] Magnify

2011-04-18 Thread Shane Powell
On 18/04/11 17:20, Fabien Bodard wrote: > i think magnify factor must be between 2 and 4 max > > 2011/4/18 richard terry: >> On Monday 18 April 2011 14:25:05 Shane Powell wrote: >>> here you go richard >>> >> Thanks, I"ll take a closer look tonight. The minimum magnification factor on >> this one

Re: [Gambas-user] slider/spinbox

2011-04-18 Thread Shane Powell
On 18/04/11 17:24, Fabien Bodard wrote: > 2011/4/18 Shane Powell: >> How about a slider and or a spinbox having float values ? > for slider the workaround will be to use a *100 factor > > slider.step = 2 > > slider.maxvalue = 400 > Slider.MinValue = 200 > > > slider.value = 2.22 * 100 'preset val

Re: [Gambas-user] slider/spinbox

2011-04-18 Thread Fabien Bodard
2011/4/18 Shane Powell : > How about a slider and or a spinbox having float values ? for slider the workaround will be to use a *100 factor slider.step = 2 slider.maxvalue = 400 Slider.MinValue = 200 slider.value = 2.22 * 100 'preset value zoom = Slider.value/100 > > >

Re: [Gambas-user] Magnify

2011-04-18 Thread Fabien Bodard
i think magnify factor must be between 2 and 4 max 2011/4/18 richard terry : > On Monday 18 April 2011 14:25:05 Shane Powell wrote: >> here you go richard >> > Thanks, I"ll take a closer look tonight. The minimum  magnification factor on > this one seems too great to be useful, but maybe its adjus

[Gambas-user] slider/spinbox

2011-04-18 Thread Shane Powell
How about a slider and or a spinbox having float values ? -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization ca