[Gambas-user] Chart component

andy2 kaoticus60 at ...151...
Tue Apr 1 07:22:10 CEST 2008


gambas-user-request at lists.sourceforge.net ha scritto:
> Send Gambas-user mailing list submissions to
> 	gambas-user at lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.sourceforge.net/lists/listinfo/gambas-user
> or, via email, send a message with subject or body 'help' to
> 	gambas-user-request at lists.sourceforge.net
>
> You can reach the person managing the list at
> 	gambas-user-owner at lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gambas-user digest..."
>
>
> Today's Topics:
>
>    1. Re: Installing 2.4.1 on Fedora 7 (Robert Rowe)
>    2. Re: Installing 2.4.1 on Fedora 7 (Scott Castaline)
>    3. Re: How to remove the marquee of a list (ie the	highlighted
>       line color) (Stefano Palmeri)
>    4. Re: gambas2-gb-pdf and libpoppler1 issue (Che Guebeara)
>    5. Re: Installing 2.4.1 on Fedora 7 (Robert Rowe)
>    6. Re: How to remove the marquee of a list (ie the	highlighted
>       line color) (richard terry)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 31 Mar 2008 21:38:07 -0400
> From: Robert Rowe <robert.c.rowe at ...626...>
> Subject: Re: [Gambas-user] Installing 2.4.1 on Fedora 7
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID: <47F191FF.3040708 at ...626...>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I think that packages exist for Fedora. Have you tried using yum?
>
> Robert Rowe
>
> Scott Castaline wrote:
>   
>> I have Fedora 7, (2.6.23.15-80.fc7) installed. I am trying to compile 
>> and install Gambas 2.4.1 and cannot seem to get any where. When I run 
>> ./configure -C I get the following errors:
>>
>> * Failed to find file libintl.so
>> configure: This library should be located inside the system C library
>> checking for optional external charset conversion library headers... 
>> /usr/local/include/
>> checking for optional external charset conversion library libraries... 
>> /usr/local/lib/
>> checking for foreign function interface component with pkg-config... no
>> configure: Cannnot find libffi support with pkg-config
>> checking for foreign function interface headers... no
>> * Failed to find file ffi.h
>> checking for foreign function interface libraries... /usr/local/lib/
>> configure: WARNING: *** foreign function interface is disabled
>> configure: error: libffi library and headers are required
>> configure: error: ./configure failed for main
>>
>> I found the source code for libffi.so, libffi-3.0.4, dl'd ran 
>> ./configure, make, make install, all as root. It still could not find it 
>> even though the header files are in /usr/local/lib/include and the other 
>> files are in /usr/local/lib. I was also getting a message about missing 
>> libiconv.so and after a long search I found libiconv-1.12 and did the 
>> same for that as libffi. The error for libiconv went away but the 
>> libintl and libffi were still there. I finally founf something about 
>> gettext. I checked through my pkgmgr and found that I had gettext but 
>> not gettext-devel, so installed that. I'm still getting the above.
>>
>> Any ideas?
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>   
>>     
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 31 Mar 2008 21:56:12 -0400
> From: Scott Castaline <hscast at ...407...>
> Subject: Re: [Gambas-user] Installing 2.4.1 on Fedora 7
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID: <47F1963C.9050800 at ...407...>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Robert Rowe wrote:
>   
>> I think that packages exist for Fedora. Have you tried using yum?
>>
>> Robert Rowe
>>
>> Scott Castaline wrote:
>>   
>>     
>>> I have Fedora 7, (2.6.23.15-80.fc7) installed. I am trying to compile 
>>> and install Gambas 2.4.1 and cannot seem to get any where. When I run 
>>> ./configure -C I get the following errors:
>>>
>>> * Failed to find file libintl.so
>>> configure: This library should be located inside the system C library
>>> checking for optional external charset conversion library headers... 
>>> /usr/local/include/
>>> checking for optional external charset conversion library libraries... 
>>> /usr/local/lib/
>>> checking for foreign function interface component with pkg-config... no
>>> configure: Cannnot find libffi support with pkg-config
>>> checking for foreign function interface headers... no
>>> * Failed to find file ffi.h
>>> checking for foreign function interface libraries... /usr/local/lib/
>>> configure: WARNING: *** foreign function interface is disabled
>>> configure: error: libffi library and headers are required
>>> configure: error: ./configure failed for main
>>>
>>> I found the source code for libffi.so, libffi-3.0.4, dl'd ran 
>>> ./configure, make, make install, all as root. It still could not find it 
>>> even though the header files are in /usr/local/lib/include and the other 
>>> files are in /usr/local/lib. I was also getting a message about missing 
>>> libiconv.so and after a long search I found libiconv-1.12 and did the 
>>> same for that as libffi. The error for libiconv went away but the 
>>> libintl and libffi were still there. I finally founf something about 
>>> gettext. I checked through my pkgmgr and found that I had gettext but 
>>> not gettext-devel, so installed that. I'm still getting the above.
>>>
>>> Any ideas?
>>>
>>> -------------------------------------------------------------------------
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>>   
>>>     
>>>       
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>   
>>     
> I tried looking earlier but only found 1.0.19 and now 2.4.1 is there. 
> Did they just add it today?
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 1 Apr 2008 04:21:17 +0200
> From: Stefano Palmeri <rospolosco at ...152...>
> Subject: Re: [Gambas-user] How to remove the marquee of a list (ie the
> 	highlighted line color)
> To: rterry at ...1823...,	mailing list for gambas users
> 	<gambas-user at lists.sourceforge.net>
> Message-ID: <200804010421.18022.rospolosco at ...152...>
> Content-Type: text/plain;  charset="iso-8859-1"
>
> Alle 01:16, marted? 1 aprile 2008, richard terry ha scritto:
>   
>> On Sun, 30 Mar 2008 08:20:15 pm you wrote:
>>     
>>> On 3/29/08, richard terry <rterry at ...1822...> wrote:
>>>       
>>>> I've two lists one above the other. When the second list is clicked on,
>>>> I want
>>>> to remove the marquee from the first one.
>>>>
>>>> I've tried. list.item.selected = False and it dosn't seem to do
>>>> anything.
>>>>
>>>> Any help appreciated.
>>>>         
>>> Hi, I assume you use ListView.
>>>       
>> Using a column view, tried the same code and got a 'stack overflow'
>> message, maybe you could try and see if you get the same.
>>
>>     
>
> With ColumnView this remove the marquee of a list:
>
> ColumnView1.Current.Selected = FALSE
>
>
> Stefano
>
>
>
>   
>>> NB: I'm using gambas3 svn, retrieved 2 days ago.
>>>       
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplac
>> e _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>     
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 31 Mar 2008 22:28:52 -0400
> From: Che Guebeara <cheguebeara at ...626...>
> Subject: Re: [Gambas-user] gambas2-gb-pdf and libpoppler1 issue
> To: gambas-user at lists.sourceforge.net
> Message-ID: <20080331222852.79e39347 at ...1835...>
> Content-Type: text/plain; charset=US-ASCII
>
> Interesting thing happened actually...
>
> I couldn't reinstall Gambas2 because of the unresolved pdf issue.
> Checking my repos I found the azores repo for feisty and gutsy (I
> upgraded this box rather than a clean install). Unchecking the feisty
> and reloading the repos I was able to shutdown Synaptic and install
> Gambas2 fine with apt-get in a terminal.... AND the pdf component
> installed fine along with the meta, which wasnt happening before...
>
> Long story short it might be worth having a look in your repos for
> outdated info esp if there is a version dupe like that.
>
> Thanks Daniel!
>
> Mark
>
> On Tue, 1 Apr 2008 01:52:33 +0200
> "Daniel Campos" <dcamposf at ...626...> wrote:
>
>   
>> Hi:
>>
>> Libpoppler entered in most distros when It was unstable, it is not a
>> good idea to add unstable software in a stable distro, however in that
>> case they needed an answer for PDF management problem and they decided
>> to include it, the same happened with Dbus, for example. As expected,
>> libpoppler API changed, so it is not possible to run gb.pdf with the
>> different libpoppler1 external interface.
>>
>> The only way to do it in an old distribution is adding libpoppler2 by
>> hand, that is compiling it from sources, and then compiling Gambas2,
>> or if you find backports for your distribution, adding new
>> repositories.
>>
>> Daniel
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>     
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 31 Mar 2008 22:38:57 -0400
> From: Robert Rowe <robert.c.rowe at ...626...>
> Subject: Re: [Gambas-user] Installing 2.4.1 on Fedora 7
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID: <47F1A041.70307 at ...626...>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> No idea. I just remembered seeing Fedora packages on the download page. 
> The package maintainers release new packages quite regularly. :)
>
> Robert Rowe
>
> Scott Castaline wrote:
>   
>> Robert Rowe wrote:
>>   
>>     
>>> I think that packages exist for Fedora. Have you tried using yum?
>>>
>>> Robert Rowe
>>>
>>> Scott Castaline wrote:
>>>   
>>>     
>>>       
>>>> I have Fedora 7, (2.6.23.15-80.fc7) installed. I am trying to compile 
>>>> and install Gambas 2.4.1 and cannot seem to get any where. When I run 
>>>> ./configure -C I get the following errors:
>>>>
>>>> * Failed to find file libintl.so
>>>> configure: This library should be located inside the system C library
>>>> checking for optional external charset conversion library headers... 
>>>> /usr/local/include/
>>>> checking for optional external charset conversion library libraries... 
>>>> /usr/local/lib/
>>>> checking for foreign function interface component with pkg-config... no
>>>> configure: Cannnot find libffi support with pkg-config
>>>> checking for foreign function interface headers... no
>>>> * Failed to find file ffi.h
>>>> checking for foreign function interface libraries... /usr/local/lib/
>>>> configure: WARNING: *** foreign function interface is disabled
>>>> configure: error: libffi library and headers are required
>>>> configure: error: ./configure failed for main
>>>>
>>>> I found the source code for libffi.so, libffi-3.0.4, dl'd ran 
>>>> ./configure, make, make install, all as root. It still could not find it 
>>>> even though the header files are in /usr/local/lib/include and the other 
>>>> files are in /usr/local/lib. I was also getting a message about missing 
>>>> libiconv.so and after a long search I found libiconv-1.12 and did the 
>>>> same for that as libffi. The error for libiconv went away but the 
>>>> libintl and libffi were still there. I finally founf something about 
>>>> gettext. I checked through my pkgmgr and found that I had gettext but 
>>>> not gettext-devel, so installed that. I'm still getting the above.
>>>>
>>>> Any ideas?
>>>>
>>>> -------------------------------------------------------------------------
>>>> Check out the new SourceForge.net Marketplace.
>>>> It's the best place to buy or sell services for
>>>> just about anything Open Source.
>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>>> _______________________________________________
>>>> Gambas-user mailing list
>>>> Gambas-user at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>
>>>>   
>>>>     
>>>>       
>>>>         
>>> -------------------------------------------------------------------------
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>>   
>>>     
>>>       
>> I tried looking earlier but only found 1.0.19 and now 2.4.1 is there. 
>> Did they just add it today?
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>   
>>     
>
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 1 Apr 2008 14:59:07 +1100
> From: richard terry <rterry at ...1822...>
> Subject: Re: [Gambas-user] How to remove the marquee of a list (ie the
> 	highlighted line color)
> To: Stefano Palmeri <rospolosco at ...152...>,	mailing list for gambas
> 	users <gambas-user at lists.sourceforge.net>
> Message-ID: <200804011459.07951.rterry at ...1822...>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Tue, 1 Apr 2008 01:21:17 pm you wrote:
>
> Stiill can't get this to work - I get an overflow error the minute I introduce 
> any of the code (commented out in the example below):
>
>   
>> Alle 01:16, marted? 1 aprile 2008, richard terry ha scritto:
>>     
>>> On Sun, 30 Mar 2008 08:20:15 pm you wrote:
>>>       
>>>> On 3/29/08, richard terry <rterry at ...1822...> wrote:
>>>>         
>>>>> I've two lists one above the other. When the second list is clicked
>>>>> on, I want
>>>>> to remove the marquee from the first one.
>>>>>
>>>>> I've tried. list.item.selected = False and it dosn't seem to do
>>>>> anything.
>>>>>
>>>>> Any help appreciated.
>>>>>           
>>>> Hi, I assume you use ListView.
>>>>         
>>> Using a column view, tried the same code and got a 'stack overflow'
>>> message, maybe you could try and see if you get the same.
>>>       
>> With ColumnView this remove the marquee of a list:
>>
>> ColumnView1.Current.Selected = FALSE
>>     
>
>
>
> Public Sub ProblemLists_Select()
>   '--------------------------------------------------------------------------------
>   'when user clicks on either active or inactive problem list
>   'set the value of iProblemKey, to that of the selected item
>   'hence PH[sProblemKey] becomes the selected problem
>   '--------------------------------------------------------------------------------
>     Select Case Last.tag
>    Case "active problems"
>       cvwProblemsActive.MoveCurrent
>       cvwProblemsActive.Item.Selected = True
>       sProblemKey = cvwProblemsActive.Item.key
>
> ----  I tried  this first:
>      ' cvwProblemsInActive.Current.Selected = False
> --- then this next
>       ' If cvwProblemsInActive.count  Then
>     '      cvwProblemsInActive.Current.Selected = False
>      ' End If
> -- then this next
>
>      ' If cvwProblemsInActive.count And cvwProblemsInActive.Current.Selected 
> Then
>     '      cvwProblemsInActive.Current.Selected = False
>      ' End If
>  
> And they all give 'overflow errors'
>
> Take any of that code out and  the routine works normally, albeit without 
> removing the marquee. I'll try and do a mini-project tonight with just the 
> listview on it and see what happens and report back
>      
>    Case "inactive problems"
>       cvwProblemsInActive.MoveCurrent
>       cvwProblemsInActive.Item.Selected = True
>       sProblemKey = cvwProblemsInActive.Item.key
>     '  If cvwProblemsActive.count And cvwProblemsActive.Current.Selected Then
>     '     cvwProblemsActive.Current.Selected = False
>     '  End If
>     
>     '  If cvwProblemsActive.count Then
>     '     cvwProblemsActive.Current.Selected = False
>     '  End If
>    End Select
> End
>
> Public Sub EditArea_Problem_Display()
>    '----------------------------------------------------------
>    'Place the contents of currentProblem into the editing area
>    'When this data is placed into the textboxes and checkboxes
>    'the change event in those controls will also be triggered
>    'so must set bExit to true whilst loading the data
>    '----------------------------------------------------------
>   
>    EditArea_Clear
>    bExit = True
>    bEditing = True
>    'PRINT " SR: EditArea_Problem_Display -Cleared the edit area, value now 
> is", bexit
>    currentProblem = PH[sProblemKey]
>    Print "---------------------------------" ""
>    Print "in displaying, the key is ", sProblemKey
>    Print "---------------------------------" ""
>    currentProblem = frmClinical.currentPatient.past_history[sProblemKey]
>   ' PH_Copy = currentProblem
>    txtCondition.text = currentProblem.description
>    'PRINT "changed problem , value now is", bexit
>    Select Case currentProblem.fk_laterality
>       Case 1 
>          chkLateralityLeft.value = gvar.LateralityLeft
>       Case 2 
>          chkLateralityRight.value = gvar.LateralityRight
>       Case 3 
>          chkLateralityBoth.value = gvar.LateralityBoth
>    End Select
>    txtNotes.text = currentProblem.notes
>    txtAgeOnset.text = currentProblem.age_onset
>    txtYearOnset.text = currentProblem.year_onset
>    chkYearOnsetUncertain.value = currentProblem.year_onset_uncertain
>    chkActive.Value = currentProblem.active
>    chkSignificant.Value = currentProblem.significant
>    chkOperation.Value = currentProblem.operation
>    chkConfidential.Value = currentProblem.confidential
>    chkCauseOfDeath.Value = currentProblem.cause_of_death
>    
>    bExit = False
> End 
> Public Sub Problem_Refresh_Lists()
>   '-----------------------------------------------
>   'Refreshes the active and inactive problem lists
>   '-----------------------------------------------
>   modTemp.pasthistory_refresh_display(cvwProblemsActive, cvwProblemsInActive, 
> PH)
>   
> End
>
> Public Sub ProblemLists_LostFocus()
> 'FIXME - HOW TO REMOVE THE MAQUEE
> 'PRINT "lost focus"
>      Select Case Last.tag
>    Case "active problems"
>          
>          cvwProblemsActive.MoveFirst
>          cvwProblemsActive.MoveAbove
>          'cvwProblemsActive.Item.Selected = False
>   Case "iInactive problems"
>          cvwProblemsInActive.Item.Selected = False
>   End Select
>   
> End
>
> Public Sub ProblemLists_Click()
>    '-----------------------------------------------------------
>    'The user has clicked on either the active or inactive lists
>    'so display this problem in the editing area
>    '------------------------------------------------------------
>    'PRINT "before display, value of bExit is", bExit
>    EditArea_Problem_Display
>     'PRINT "after display, value of bExit is", bExit
> End
>   
>> Stefano
>>
>>     
>>>> NB: I'm using gambas3 svn, retrieved 2 days ago.
>>>>         
>>> -------------------------------------------------------------------------
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpl
>>> ac e _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>       
>
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: two_lists_past_history.png
> Type: image/png
> Size: 13108 bytes
> Desc: not available
>
> ------------------------------
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>
> ------------------------------
>
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
> End of Gambas-user Digest, Vol 22, Issue 91
> *******************************************
>
>   


Little question: do u know if exist an howto about gb.chart component? I 
dont' see anything about ths component in gambas help. Thank.u

ps. i need code to make linechart with result's data.


andy(rome)




More information about the User mailing list