Search found 15 matches

by cyril
Fri Mar 20, 2020 7:13 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] Chart - Gadget
Replies: 100
Views: 50743

Re: [Module] Chart - Gadget

Thank you Thorsten :)

It's working great !
by cyril
Fri Mar 20, 2020 2:39 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] Chart - Gadget
Replies: 100
Views: 50743

Re: [Module] Chart - Gadget

Here is a sample code that shows the problem:


XIncludeFile "ChartModule.pbi"

Enumeration
#Window
#Chart
EndEnumeration

If OpenWindow(#Window, #PB_Ignore, #PB_Ignore, 400, 200, "Chart decimal test", #PB_Window_ScreenCentered | #PB_Window_SystemMenu)
Chart::Gadget(#Chart, 10, 10, 380, 180 ...
by cyril
Sun Mar 15, 2020 7:39 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] Chart - Gadget
Replies: 100
Views: 50743

Re: [Module] Chart - Gadget

Hello Thorsten

I'm having a problem with tooltips using a scatterplot graph.

I'm using:
Chart::ToolTipText(#Gadget_Chart, Chart::#Scatter$ + ": " + Chart::#Time$ + " - " + Chart::#DataY$ + " pounds")
But the tooltip is still something like: "128.888888888" instead of "Weight: 01/03/2020 - 128.89 ...
by cyril
Sun Mar 08, 2020 1:31 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] Chart - Gadget
Replies: 100
Views: 50743

Re: [Module] Chart - Gadget

Thanks for the update Thorsten1867.

I finally got it working :)
by cyril
Sat Mar 07, 2020 3:17 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] Chart - Gadget
Replies: 100
Views: 50743

Re: [Module] Chart - Gadget

Here is an image showing the rounding of value.
Image
by cyril
Sat Mar 07, 2020 3:08 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] Chart - Gadget
Replies: 100
Views: 50743

Re: [Module] Chart - Gadget


XIncludeFile "ChartModule.pbi"

Enumeration
#Window
#Chart
EndEnumeration

If OpenWindow(#Window, #PB_Ignore, #PB_Ignore, 400, 200, "Chart decimal test", #PB_Window_ScreenCentered)
Chart::Gadget(#Chart, 10, 10, 295, 180, Chart::#ScatterPlot|Chart::#Border|Chart::#ToolTips|Chart::#AutoResize ...
by cyril
Sat Mar 07, 2020 1:32 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] Chart - Gadget
Replies: 100
Views: 50743

Re: [Module] Chart - Gadget

I've updated my test code to show the rounding more clearly ;)
by cyril
Sat Mar 07, 2020 1:00 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] Chart - Gadget
Replies: 100
Views: 50743

Re: [Module] Chart - Gadget

Yes, i used it in my ChartCreate code posted previously.

but I still get rounded value for the YAxis in my charts.

I'm using this test code, and the value are rounded too

XIncludeFile "ChartModule.pbi"

Enumeration
#Window
#Chart
EndEnumeration

If OpenWindow(#Window, #PB_Ignore, #PB_Ignore ...
by cyril
Thu Mar 05, 2020 11:48 am
Forum: Applications - Feedback and Discussion
Topic: [Module] Chart - Gadget
Replies: 100
Views: 50743

Re: [Module] Chart - Gadget

Thanks Thorsten1867

Your help is appreciated ;)
by cyril
Wed Mar 04, 2020 5:09 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] Chart - Gadget
Replies: 100
Views: 50743

Re: [Module] Chart - Gadget

Hello Thorsten1867

I'm trying to use ScatterPlot with date on the X axes and double on the Y axes.
I'm using

Procedure ChartCreate(x, y, width, height)
Chart::Gadget(#Gadget_Chart, x, y, width, height, Chart::#ScatterPlot|Chart::#Border|Chart::#ShowLines|Chart::#ToolTips|Chart::#AutoResize ...
by cyril
Sun Feb 23, 2020 7:19 pm
Forum: Tricks 'n' Tips
Topic: RichEdit Functions (OOP) New: with Image-Support
Replies: 78
Views: 50620

Re: RichEdit Functions (OOP) New: with Image-Support

I've made some modification to take in consideration my needs.

Here is the modified and added code:

; Added
Procedure.i RichEdit_GetBulleted(*this.RichEditClassTemplate)
Protected format.PARAFORMAT
format\cbSize = SizeOf(PARAFORMAT)
format\dwMask = #PFM_NUMBERING
format\wNumbering = #PFN ...
by cyril
Sun Feb 23, 2020 5:10 pm
Forum: Tricks 'n' Tips
Topic: RichEdit Functions (OOP) New: with Image-Support
Replies: 78
Views: 50620

Re: RichEdit Functions (OOP) New: with Image-Support

Hi

I've started using your richedit.pbi version 2.4.

But I've noticed what seems a bug:
When I call the RichEdit's Clear function, the text alignment and the bullet stay.

Here is a code to test this which shows the problem:
XIncludeFile "RichEdit.pbi"

UseModule RichEdit
Global RTFEditor ...
by cyril
Sun Feb 23, 2020 4:55 pm
Forum: Tricks 'n' Tips
Topic: TabBarGadget - Tabs like in a browser
Replies: 191
Views: 122398

Re: TabBarGadget - Tabs like in a browser

With your suggestion it's working great now !

Thanks :)
by cyril
Sun Feb 23, 2020 4:45 pm
Forum: Tricks 'n' Tips
Topic: TabBarGadget - Tabs like in a browser
Replies: 191
Views: 122398

Re: TabBarGadget - Tabs like in a browser

Thanks

The library code that is called is:
; Ändert die Farbe der angegebenen Registerkarte.
Procedure SetTabBarGadgetItemColor(Gadget.i, Tab.i, Type.i, Color.i) ; Code OK, Hilfe OK

Protected *Item.TabBarGadgetItem = TabBarGadgetItemID(Gadget, Tab)

If *Item
Select Type
Case #PB_Gadget ...
by cyril
Sun Feb 23, 2020 4:33 pm
Forum: Tricks 'n' Tips
Topic: TabBarGadget - Tabs like in a browser
Replies: 191
Views: 122398

Re: TabBarGadget - Tabs like in a browser

Hi

I think i found a bug with the function GetTabBarGadgetItemColor. I doesn't get the same color as set by SetTabBarGadgetItemColor.
The color I get is something like black instead of the color of the tab.

Or am i using it wrong ? I'am still a new user to purebasic ;)

Here is the code I'm using ...