Search found 552 matches

by bcohio2001
Jul 22, 2019 1:35
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 393
Views: 97697

Re: FLTK-C-1.3.3 for FreeBASIC

THIS IS A HACKED TOGETHER CODE JUST TO GIVE EXAMPLE Sub DoSomething() var win = Fl_WindowExNew(640,480,"Do something....") 'create other "controls" Fl_WindowShow win End Sub function HandleCB cdecl (byval self as any ptr,byval event as FL_EVENT) as Long select case as const event...
by bcohio2001
Jul 20, 2019 0:44
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 393
Views: 97697

Re: FLTK-C-1.3.3 for FreeBASIC

I understand that I can use Fl_WindowExSetHandleCB to trap window events.
If I trap for the FL_EVENT_SHOW, is this run before or after the call to Fl_Run.

I would like to run a little init code that might create another window, other than the main.
by bcohio2001
Jul 13, 2019 21:07
Forum: Projects
Topic: Include Digger
Replies: 48
Views: 24437

Re: Include Digger

Modifying now with FLTK … Going to be a while until done. But am working on it.
by bcohio2001
Jul 11, 2019 0:04
Forum: Projects
Topic: Include Digger
Replies: 48
Views: 24437

Re: Include Digger

MrSwiss wrote:DLG structs are part of WIN-API, which means automatically "Windows only".

I have seen postings of a "dialog" that did not look like "Window's" dialog. So I assumed that Linux has a way to create them.
As I said before, I know nothing of Linux.
by bcohio2001
Jul 09, 2019 21:33
Forum: Projects
Topic: Include Digger
Replies: 48
Views: 24437

Re: Include Digger

ANY help, comments will be gladly accepted. Here is the sub which "Builds" the database. Obviously not runnable. Sub Parser.Build(ReBuildFlag As Long) Dim As String PBTitle Dim As Long x, BumpFactor, NextBump ' Select Case ReBuildFlag Case FBInc_Build_Init PBTitle = "Initial build of&...
by bcohio2001
Jul 09, 2019 15:46
Forum: Projects
Topic: Include Digger
Replies: 48
Views: 24437

Re: Include Digger

On a general note to all:

When adding the compiler, it takes a long time to process all the files.
Have a progress bar dialog to display progress, but bogs down and says that program is not responding.
Give it time ...
by bcohio2001
Jul 09, 2019 15:42
Forum: Projects
Topic: Include Digger
Replies: 48
Views: 24437

Re: Include Digger

Ok. Check it now.

I am still trying to figure out GitHub.
Am using "GitHub Desktop" for the first time to update. Did not know that had to "Push" to update.
by bcohio2001
Jul 09, 2019 14:44
Forum: Projects
Topic: Include Digger
Replies: 48
Views: 24437

Re: Include Digger

Version 1.1.1 July 9, 2019 -- Added fbc compiler version '1.07.0' to the list of available compilers. ---- Only for when adding a "non-native" compiler. -- Added '.inc' to list of parsable files. -- Fix load error for native compilers. Source: https://github.com/bcohio2001/Freebasic-Includ...
by bcohio2001
Jul 07, 2019 22:52
Forum: Projects
Topic: Polynominals chart - plots library based on WinApi & FbEdit designer.
Replies: 14
Views: 8762

Re: Polynominals chart - plots library based on WinApi & FbEdit designer.

A few words of advice, not criticizing. 1) Comment your code more. When others look at your code, or when you come back to it months/years later, it will be easier to remember what that piece of code was for. 2) In designing your form. Use names that are more descriptive. Example: FBEdit - IDC_EDT1,...
by bcohio2001
Jul 05, 2019 18:35
Forum: Projects
Topic: Polynominals chart - plots library based on WinApi & FbEdit designer.
Replies: 14
Views: 8762

Re: Polynominals chart - plots library based on WinApi & FbEdit designer.

I agree that plotting 2 or more graphs can be done. A LOT of work involved in it.
I can help if I can.
by bcohio2001
Jul 04, 2019 0:57
Forum: Projects
Topic: Polynominals chart - plots library based on WinApi & FbEdit designer.
Replies: 14
Views: 8762

Re: Polynominals chart - plots library based on WinApi & FbEdit designer.

A little better.

I did not look at the Chart.bas code too much. You might be able to modify even further to display two functions?????
by bcohio2001
Jul 02, 2019 17:46
Forum: General
Topic: Generic equivalent of Window's functions
Replies: 0
Views: 7166

Generic equivalent of Window's functions

Does anyone know an generic equivalent of the Windows functions:
InternetCrackUrl() and InternetCombineUrl()
by bcohio2001
Jul 02, 2019 17:37
Forum: Projects
Topic: Polynominals chart - plots library based on WinApi & FbEdit designer.
Replies: 14
Views: 8762

Re: Polynominals chart - plots library based on WinApi & FbEdit designer.

Minor cosmetic change to offer: Case IDC_BTN1 'Function plot y = ax^4 + bx^3 + cx^2 + gx + n Dim As Integer i Dim As Double dx, x(), y() Dim Pattern_ As String ' Dim As String*5 ScaleXminS, ScaleXmaxS, ScaleGridXS, ScaleGridYS Dim As Double ScaleXmin, ScaleXmax, ScaleYmin, ScaleYmax Dim As Integer S...
by bcohio2001
Jun 30, 2019 22:47
Forum: General
Topic: CGI upload/download files
Replies: 7
Views: 2809

Re: CGI upload/download files

@Julcar

It seems that we both have a "web browser".
Would like to see your source code. Mine at the moment is Windows only, but am trying to multi-platform.
by bcohio2001
Jun 30, 2019 22:30
Forum: Tips and Tricks
Topic: CGI - How to process HTML forms!
Replies: 11
Views: 10785

Re: CGI - How to process HTML forms!

Here is something I use in my own creation of a web browser, still WIP. Cookie.bi Type CookData As String CookName As String CookValue As Double Expires As String Path As String Host End Type Type Cook As Integer CookieCount As CookData CookieArray(Any) As Long LocalTimeBias 'minute difference betwe...

Go to advanced search