Yes. It's work now. Thanks Mr. Uwekel.
One more thing. When I resizing the window it's look like the program freeze for a while or not responding
for a little bit time. May be due to my laptop is too old.
Thanks.
Search found 16 matches
- Mon Nov 17, 2014 2:44 pm
- Forum: Announcement
- Topic: ChartGadget for bars and lines
- Replies: 42
- Views: 33009
- Sun Nov 09, 2014 10:06 am
- Forum: Announcement
- Topic: ChartGadget for bars and lines
- Replies: 42
- Views: 33009
Re: ChartGadget for bars and lines
Dear Uwekel I am trying using your chartgadget. It's very nice.
I tried to show only line graph so I commented 4 lines as below code and try to run but
the line didn't display on the graph. Why. Are there any flag I missed.
;add some data rows
; ChartRow(0, "Positive", #ChartRowTypeBar, $009060 ...
I tried to show only line graph so I commented 4 lines as below code and try to run but
the line didn't display on the graph. Why. Are there any flag I missed.
;add some data rows
; ChartRow(0, "Positive", #ChartRowTypeBar, $009060 ...
- Wed Sep 11, 2013 1:55 am
- Forum: Coding Questions
- Topic: dialoggadget do not fuction with date gadget
- Replies: 1
- Views: 746
Re: dialoggadget do not fuction with date gadget
Ok. I got it work now. DialogGadget return correct gadget number.
- Wed Sep 11, 2013 1:19 am
- Forum: Coding Questions
- Topic: dialoggadget do not fuction with date gadget
- Replies: 1
- Views: 746
dialoggadget do not fuction with date gadget
Under PB5.20B17 64Bit OSX
always return 0.
Also in XML code
the date gadget still show date in format %yyyy/%mm/%dd.
Can someone confirm this.
Code: Select all
DialogGadget(DialogNr,"DateInput")
Also in XML code
Code: Select all
<date name="DateInput" mask="%dd/%mm/%yyyy"
Can someone confirm this.
- Tue Aug 27, 2013 8:31 am
- Forum: Coding Questions
- Topic: xml code to arrange gadget howto?
- Replies: 1
- Views: 849
Re: xml code to arrange gadget howto?
haha. Actually very simple. Already done.
- Tue Aug 27, 2013 4:41 am
- Forum: Coding Questions
- Topic: xml code to arrange gadget howto?
- Replies: 1
- Views: 849
xml code to arrange gadget howto?
I want to arrange image gadget in a dialog window.
How I should use hbox, vbox or multibox or any box that possible to do that?
Please anybody who know that show the simple example.
How I should use hbox, vbox or multibox or any box that possible to do that?
Please anybody who know that show the simple example.
- Tue Aug 27, 2013 4:37 am
- Forum: Coding Questions
- Topic: Cannot access gadget inside xml dialog
- Replies: 5
- Views: 1760
Re: Cannot access gadget inside xml dialog
Thank you Fred.
Now its become easier and easier to make program using PB.
Great job.
Now its become easier and easier to make program using PB.
Great job.
- Mon Aug 26, 2013 8:31 am
- Forum: Coding Questions
- Topic: Cannot access gadget inside xml dialog
- Replies: 5
- Views: 1760
Re: Cannot access gadget inside xml dialog
Thank you davido. At last somebody say something about my problem.
- Mon Aug 26, 2013 1:23 am
- Forum: Coding Questions
- Topic: Cannot access gadget inside xml dialog
- Replies: 5
- Views: 1760
Re: Cannot access gadget inside xml dialog
#Xml = 0
#Dialog = 0
If LoadXML(#Xml, "menudialog.xml") And XMLStatus(#Xml) = #PB_XML_Success
CreateDialog(#Dialog)
If OpenXMLDialog(#Dialog, #Xml, "firstwindow", 200, 200)
btnNr = DialogGadget(#Dialog, "btnsetup")
MessageRequester("#ButtonGadget","Button Number : " + Str(btnNr))
Repeat ...
- Mon Aug 26, 2013 1:16 am
- Forum: Coding Questions
- Topic: Cannot access gadget inside xml dialog
- Replies: 5
- Views: 1760
Cannot access gadget inside xml dialog
Please someone tell me what's wrong with below code.
I'm using PB5.20B13, OSX64
here xml code menudialog.xml
<?xml version="1.0" ?>
<!-- Window -->
<window flags="#PB_Window_SizeGadget | #PB_Window_MaximizeGadget | #PB_Window_MinimizeGadget"
id="0" minheight="auto" minwidth="auto" name ...
I'm using PB5.20B13, OSX64
here xml code menudialog.xml
<?xml version="1.0" ?>
<!-- Window -->
<window flags="#PB_Window_SizeGadget | #PB_Window_MaximizeGadget | #PB_Window_MinimizeGadget"
id="0" minheight="auto" minwidth="auto" name ...
- Tue Jul 30, 2013 8:39 am
- Forum: Coding Questions
- Topic: [Solved] Moving borderless window
- Replies: 13
- Views: 3184
Re: Moving gadget
I think you should use resizegadget command to move the gadget.
- Sat Jul 27, 2013 1:33 am
- Forum: Coding Questions
- Topic: Encode image return 0 PB5.2 beta
- Replies: 7
- Views: 1048
Re: Encode image return 0 PB5.2 beta
So the problem is only under OSX when using PB5.2 beta version.
UsePNGImageEncoder()
imaged = CreateImage(#PB_Any,200,200,24) ;,$FFFFFF)
If imaged
StartDrawing(ImageOutput(imaged))
Box(20,20,100,100,$FFFF00)
StopDrawing()
*imgbuffer = EncodeImage(imaged,#PB_ImagePlugin_PNG,#PB_Image ...
UsePNGImageEncoder()
imaged = CreateImage(#PB_Any,200,200,24) ;,$FFFFFF)
If imaged
StartDrawing(ImageOutput(imaged))
Box(20,20,100,100,$FFFF00)
StopDrawing()
*imgbuffer = EncodeImage(imaged,#PB_ImagePlugin_PNG,#PB_Image ...
- Sat Jul 27, 2013 1:06 am
- Forum: Coding Questions
- Topic: Encode image return 0 PB5.2 beta
- Replies: 7
- Views: 1048
Re: Encode image return 0 PB5.2 beta
Forgot to tell. I use PB5.11 and PB_5.2 beta7 OSX 64bit.
- Sat Jul 27, 2013 1:02 am
- Forum: Coding Questions
- Topic: Encode image return 0 PB5.2 beta
- Replies: 7
- Views: 1048
Re: Encode image return 0 PB5.2 beta
here simple test. Under PB5.11 I got and address for *imgbuffer.
But using PB5.2 beta 7 got 0 only.
UsePNGImageEncoder()
imaged = CreateImage(#PB_Any,200,200,24) ;,$FFFFFF)
If imaged
StartDrawing(ImageOutput(imaged))
Box(20,20,100,100,$FFFF00)
StopDrawing()
If imaged
*imgbuffer ...
But using PB5.2 beta 7 got 0 only.
UsePNGImageEncoder()
imaged = CreateImage(#PB_Any,200,200,24) ;,$FFFFFF)
If imaged
StartDrawing(ImageOutput(imaged))
Box(20,20,100,100,$FFFF00)
StopDrawing()
If imaged
*imgbuffer ...
- Fri Jul 26, 2013 9:41 pm
- Forum: Coding Questions
- Topic: Encode image return 0 PB5.2 beta
- Replies: 7
- Views: 1048
Re: Encode image return 0 PB5.2 beta
already define above the code.
The code run fine using PB5.11. I confirm about it. But under PB5.2 beta 6 and 7 I tested
the result always 0. I mean encode image always return 0.
The code run fine using PB5.11. I confirm about it. But under PB5.2 beta 6 and 7 I tested
the result always 0. I mean encode image always return 0.