Search found 135 matches

by Boris the Old
Jul 16, 2015 16:15
Forum: General
Topic: About sharing data between running executables
Replies: 24
Views: 2307

Re: About sharing data between running executables

@Tourist Trap

For situations like this I've always preferred to use disk files for communicating between tasks. It's simple, cross-platform, and works with both local and networked applications. Also, it doesn't require any API programming, and performance usually isn't an issue.

Rod
by Boris the Old
Jul 16, 2015 15:53
Forum: Community Discussion
Topic: What about Default property
Replies: 6
Views: 921

Re: What about Default property

To summarize anyway it is the ability to mark a property as default in order to be able to write equivalently : UDT.prop(_index) UDT(_index) I would like to know what the state of things on this subject? Most likely lots of confusion and bug-ridden code. Existing code will need to be re-written. Ju...
by Boris the Old
Jul 13, 2015 21:58
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 98765

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

Fl_Text_DisplayShowInsertPosition() 1. Yes, but I noticed that when I click in the text display, the insert position is changed. And then text is inserted halfway, which I don't want. So, I am looking for a "Fl_Text_Display Append " or a combination of "move cursor to end" + &qu...
by Boris the Old
Jul 01, 2015 20:25
Forum: Windows
Topic: linux on windows
Replies: 22
Views: 3389

Re: linux on windows

@Boromir

I made a typing error in the Compile command -- try again.

It should have read: fbc -w 2 "%f"

Rod
by Boris the Old
Jul 01, 2015 19:30
Forum: Windows
Topic: linux on windows
Replies: 22
Views: 3389

Re: linux on windows

.......But I couldn't get freebasic for linux to work. I installed freebasic. But when I ran geany and told it compile with freebasic it didn't work. So I thought maybe I could use windows freebasic to compile linux executables. We're a Linux shop and create cross-platform applications for Linux an...
by Boris the Old
Jun 16, 2015 21:13
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 98765

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

@Rod if you like to present your GUI framework more in detail (not a bad idea) please do it in a separate Forum thread. The macro stuff makes FLTK beginners and this FLTK section a litle bit confuse. I hope you are agree with me. Joshy Sure, no problem -- I'm planning on presenting various techniqu...
by Boris the Old
Jun 16, 2015 19:40
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 98765

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

D.J.Peters wrote:badidea
Fl_MultiLine_Output it's readonly for static text.


I guess I was implying that with my suggestion -- although static text can be changed under program control. :-)

Rod
by Boris the Old
Jun 16, 2015 19:21
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 98765

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

Thank you and Rod very much for your help. I am on the way now. As part of our conversion from PowerBasic/EZGUI to FreeBasic/FLTK, we decided to isolate all FLTK code in its own namespace. The main reason for doing this was that our PowerBasic code uses Strings, whereas FLTK uses ZStrings, which wo...
by Boris the Old
Jun 16, 2015 14:13
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 98765

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

Question, If I have a Fl_Multiline_Output , how do I add an additional line of text to it? Edit, found it: var pOutResut = Fl_Multiline_OutputNew(10, 390, 570, 200) Fl_Input_SetValue(pOutResut, "Line1" & chr(10) & "Line2") Fl_Input_SetValue(pOutResut, *Fl_Input_GetValue(...
by Boris the Old
Jun 15, 2015 18:32
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 98765

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

@Rod, I did not mean you to be old-fashioned, but my "pure FreeBasic" solution. Or did I misunderstand you? I understood your meaning, but it just struck me as funny that one of my suggestions should be applied to the retro look of a pure FB solution. My associates look on me as being old...
by Boris the Old
Jun 15, 2015 13:16
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 98765

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

Lothar Schirm wrote:Rod's proposal..........Looks a little bit retro, but works and is simple.


Thank you for being so generous -- I'm usually accused of being old-fashioned :-)

Rod
by Boris the Old
Jun 13, 2015 19:09
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 98765

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

@Lothar

1) Set a flag when you press the Start button

2) Clear the flag when you press the Stop button

3) during each cycle of the simulation, test the state of the flag

4) when the flag is cleared, terminate the simulation

There's no need to close any windows.

Rod
by Boris the Old
Jun 13, 2015 18:57
Forum: Tips and Tricks
Topic: Dummy Block design. Re-implementing ASM blocks ..
Replies: 5
Views: 980

Re: Dummy Block design. Re-implementing ASM blocks ..

I like personnally the fact that if you hide the machinery behind include files, you would type your "fake code" rather naturelly. There's nothing wrong with creating high-level statements for hiding confusing detail. But the FB macro facility already allows this, and there are more impor...
by Boris the Old
Jun 13, 2015 18:39
Forum: Community Discussion
Topic: What do you think of Return 'Scope' syntax
Replies: 12
Views: 1476

Re: What do you think of Return 'Scope' syntax

[quote="Tourist Trap"In fact I actually find this useful with For ... Next, since some even short calculations can require iterations, and writting a function for encapsulate this seems unworthy.[/quote] It may be "unworthy", but it can be hellish to maintain. Professional progra...
by Boris the Old
Jun 09, 2015 20:01
Forum: Libraries
Topic: PdfLib on linux
Replies: 10
Views: 2267

Re: PdfLib on linux

I use the CUPS-PDF virtual printer for creating PDF files on Linux. It's simple to use - just direct printed output to the virtual printer instead of a real printer. Many of our customers prefer to receive invoices via email, so for those customers we just direct the printed output to the virtual pr...

Go to advanced search