Search found 7 matches

by atiaust
Wed Mar 26, 2014 4:37 am
Forum: The PureBasic Form Designer
Topic: ImageGadget error with form designer
Replies: 4
Views: 4148

Re: ImageGadget error with form designer

Thanks Polo for your reply.

I have found that if I allow the form designer to define the ImageGadget with #PB_Any I get an error

[ERROR] #Gadget object number is very high (over 10000), are You sure of that ?

but if I don't use #PB_any and use the code below it works fine.


CreateImage(#Temp ...
by atiaust
Tue Mar 25, 2014 11:09 am
Forum: The PureBasic Form Designer
Topic: ImageGadget error with form designer
Replies: 4
Views: 4148

Re: ImageGadget error with form designer

Thanks majikeyric;

I tried your suggestion and still get the same error/s.

I unclicked the #PB_Any property for the ImageGadget in the Form Designer and used Image_0.
The following code now works correctly.


CreateImage(#0,50,100)
StartDrawing(ImageOutput(#0))
Box(0,0,20,70,$FF4D20 ...
by atiaust
Tue Mar 25, 2014 12:38 am
Forum: The PureBasic Form Designer
Topic: ImageGadget error with form designer
Replies: 4
Views: 4148

ImageGadget error with form designer

I am trying to use an ImageGadget created on a form in the form designer.

This is the generated ImageGadget.

Image_0 = ImageGadget(#PB_Any, 460, 140, 50, 100, 0, #PB_Image_Border)


I added this to one of the procedures in the procedures file

CreateImage(Image_0,20,100)
; Debug("Image ID ...
by atiaust
Tue Mar 18, 2014 1:30 am
Forum: Coding Questions
Topic: How to start
Replies: 4
Views: 1412

Re: How to start

Hi Rob206,

I started out last week and had problems trying to get my head around the form designer. I wrote this little step by step help example. Hope it helps.

-----------------------------------------------------------------------------------------------

How To create a windows form & program ...
by atiaust
Fri Mar 14, 2014 11:31 am
Forum: The PureBasic Form Designer
Topic: Form Designer - Help Sample
Replies: 4
Views: 6694

Re: Form Designer - Help Sample

Thanks TI-994A,

That did the trick.
Its very frustrating when you follow the examples (From the help file) that have inbuilt enhancements.....

I only started to play with PureBasic a couple of days ago. Haven't done anything in basic since back in VB6 days.

So far it looks excellent :D
Great job ...
by atiaust
Fri Mar 14, 2014 10:16 am
Forum: The PureBasic Form Designer
Topic: Form Designer - Help Sample
Replies: 4
Views: 6694

Re: Form Designer - Help Sample

Thank you Bisonte,

I just figured out I had accidentally unchecked the 'Generate Events procedures' in the Window_1 form.

The program now compiles and runs but doesn't do anything when I click on any of the buttons.

Any other suggestions appreciated.

New DateWindow.pbf

Global Window_1

Global ...
by atiaust
Fri Mar 14, 2014 9:17 am
Forum: The PureBasic Form Designer
Topic: Form Designer - Help Sample
Replies: 4
Views: 6694

Form Designer - Help Sample

I am very new to PB..
I am trying to understand the Form Designer example in PB5.21 LTS Demo
Have created 2 forms MainWindow.pbf and DateWindow.pbf and 1 code file Main.pb

Main.pb ...