Search found 44 matches

by Lothar Schirm
Tue Feb 24, 2015 5:05 pm
Forum: Coding Questions
Topic: How to edit existing .pb files
Replies: 12
Views: 7854

Re: How to edit existing .pb files

pb files are text files, so you can edit them with any text editor, e.g. notepad. But why do you want to edit them without the PureBasic IDE?
by Lothar Schirm
Thu Aug 21, 2014 4:25 pm
Forum: PureFORM & JaPBe
Topic: jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Replies: 1545
Views: 699134

Re: jaPBe 3.13.4 [IDE for PB 4 and PB 5]

PureForm and jaPBe have been great contributions to PureBasic, and we all hope that gnozal is well. Would be nice to get a short contribution by him in this forum about his situation. I think we all sould thank him for his work and wish him the best.

A small interesting note: Vanya has developed a ...
by Lothar Schirm
Thu Aug 21, 2014 3:53 pm
Forum: Coding Questions
Topic: Calling Procedures by Name
Replies: 3
Views: 2339

Re: Calling Procedures by Name

Hello Foz,

the runtime library has been added with Version 5.20 LTS. :lol:
by Lothar Schirm
Sun Jun 22, 2014 4:21 pm
Forum: The PureBasic Form Designer
Topic: Features
Replies: 22
Views: 19184

Re: Features

Automatic generation of BindMenuEvent() / BindGadgetEvent() and callback procedures, based on the gadget names. Example:

Code: Select all

Procedure Button_Ok_Event()
  ....
EndProcedure

....

BindGagdetEvent(Button_Ok, @Button_Ok_Event())
by Lothar Schirm
Tue Apr 01, 2014 9:45 am
Forum: The PureBasic Form Designer
Topic: Bug? Or something I'm doing wrong?
Replies: 9
Views: 6373

Re: Bug? Or something I'm doing wrong?

I also got this error sometimes. When I switch from design to code view and try to compile again, it works. So I ignore it. But I cannot reproduce it now.
by Lothar Schirm
Mon Mar 31, 2014 3:20 pm
Forum: The PureBasic Form Designer
Topic: Bug? Or something I'm doing wrong?
Replies: 9
Views: 6373

Re: Bug? Or something I'm doing wrong?

deanathpc,

I suppose you use Polo's Form Designer which is integrated into the IDE? Did you switch your form from "Design View" to "Code View", and did you edit the code of your form? This would be dangerous, because if you write something into the code which the Form Designer cannot translate, the ...
by Lothar Schirm
Sat Mar 22, 2014 7:43 pm
Forum: The PureBasic Form Designer
Topic: Event file field removed?
Replies: 1
Views: 2873

Re: Event file field removed?

I can answer your first question. Event files are not used any more. You can assign an event procedure to each gadget in the Form Designer, and you can write all your event procedures into your main file. In the PB help file there is a short chapter "Form Designer" where this concept is briefly ...
by Lothar Schirm
Fri Feb 28, 2014 7:51 pm
Forum: The PureBasic Form Designer
Topic: Calling a Procedure from a "Master" file
Replies: 9
Views: 5819

Re: Calling a Procedure from a "Master" file

An other possibility would be not to generate and define event procedures in the form designer. In this case, the form designer generates only the "OpenWindow" procedure, you can write a short event loop in the main file:
Repeat
event = WaitWindowEvent()
Until event = #PB_Event_CloseWindow
And ...
by Lothar Schirm
Thu Dec 26, 2013 4:22 pm
Forum: Coding Questions
Topic: Forms Designer Evaluation Question
Replies: 8
Views: 1765

Re: Forms Designer Evaluation Question

A good description how to use the Form Designer can be found here:
http://forums.purebasic.com/english/vie ... 3ce6078488
:lol:
by Lothar Schirm
Mon Dec 09, 2013 5:13 pm
Forum: The PureBasic Form Designer
Topic: Automated BindEvents Procedure!
Replies: 1
Views: 2490

Re: Automated BindEvents Procedure!

I agree with these ideas. I think we need a more automatic generation of event procedures in this way or similarly. Actually, working with projects and the Form Designer requires a lot of manual actions:
- creating a project folder (not mandatory, but useful for larger projects)
- creating ...
by Lothar Schirm
Mon Nov 04, 2013 4:18 pm
Forum: Coding Questions
Topic: How can I read stdout from console application using pipes?
Replies: 6
Views: 1842

Re: How can I read stdout from console application using pip

May the description of ReadConsoleData() and WriteConsoleData() in the PureBasic help file be usefull for you?
by Lothar Schirm
Thu Oct 03, 2013 5:38 pm
Forum: Announcement
Topic: Pure Design, another Form Designer
Replies: 80
Views: 47910

Re: Another Form Designer called Pure Design

Hi gerd,

would be nice in the event loop, too. But I want to be honest: I still prefer very much to work with Polo's Form Designer, because:
- you can manage projects with more than one form
- form design (pbf file) and coding (pb file) is strictly separated, so you need not change your code when ...
by Lothar Schirm
Sun Sep 29, 2013 3:33 pm
Forum: Coding Questions
Topic: Printing Units
Replies: 7
Views: 1064

Re: Printing Units

You can find an example how to print text or tables here:
http://forums.purebasic.com/german/viewtopic.php?f=16&t=27303&sid=3e3aa3ac0d313ed4542e14352743646b

The example is written in pure PureBasic without WinAPI and should run on printers with any resolution. "PrintText(text)" prints a line of ...
by Lothar Schirm
Fri Sep 27, 2013 5:31 pm
Forum: The PureBasic Form Designer
Topic: #PB_Compiler_EnumerationValue disappears + Save bugs
Replies: 3
Views: 2719

Re: #PB_Compiler_EnumerationValue disappears + Save bugs

On the IDE when double clicking on a XIncludeFile "my_form.pbf" line, sometimes the #PB_Compiler_EnumerationValue gets replaced on the enumerations by FormWindow or FormGadget words.

I could reproduce this bug very quickly. It is a permanent error. How can it be repaired? :evil:
Or is it a ...