Search found 87 matches

by ppf
May 14, 2020 20:50
Forum: Libraries & Headers
Topic: sGUI
Replies: 250
Views: 76021

Re: sGUI

Apologies, forgotten "sGUI_macros.bas" here namespace sGUI dim shared as Gadget ptr debugbox REM 'for tracking - print in (enabled + visible) MultilineEdit gadget ( if sGUI stuff is WORKING !!! ) #macro logUI(a,logs) if debugMode then TO_AppendLine(a,logs) UpdateGadget(a) end if #endmacro ...
by ppf
May 14, 2020 16:11
Forum: Libraries & Headers
Topic: sGUI
Replies: 250
Views: 76021

Re: sGUI

Hi Mutton, small improvement of sGUI 084ext; to my debugin macros https://freebasic.net/forum/viewtopic.php?f=7&t=28457 I added macros 'gdg() and logUI()' for easy trackin sGUI user code in scrollable gadget, because macro 'ss(a)' is not very handy if free place on screen is insufficient.. ('gdg...
by ppf
May 14, 2020 16:09
Forum: Sources, Examples, Tips and Tricks
Topic: The Simplest debug and trace method Win+Lin 32/64 bit
Replies: 7
Views: 2511

Re: The Simplest debug and trace method Win+Lin 32/64 bit

edit - Added new two trackin macros for code under sGUI library.But placement that ones seems clearer in sGUI folder. Used shortcuts meaning is : 'dbg' aka 'debug' 'ss' aka 'shortstop' trackin debug For clarification, this debug method is used for apps compiled as graphical (-s gui compiler switch),...
by ppf
May 06, 2020 22:52
Forum: Libraries & Headers
Topic: sGUI
Replies: 250
Views: 76021

Re: sGUI

Linux 32 bit Ok.
Cpu 18 - 51%, smmoother motion.
by ppf
May 06, 2020 20:24
Forum: Libraries & Headers
Topic: sGUI
Replies: 250
Views: 76021

Re: sGUI

Typo founded quickly in 'ShowWindow(winB)'
Just changed to 'ShowWindow(winE)' and demo works.

High CPU - maybe I have cracked OS or something, I see boot error msg and fault is on my side.
5 years linux not updated on my box.Now going to 32 bit testing.
by ppf
May 06, 2020 15:18
Forum: Libraries & Headers
Topic: sGUI
Replies: 250
Views: 76021

Re: sGUI

Hi Mutton, quick test of your new version ok here on Linux 64 bit, thanks for sharing that preview. Only one crash - "Error 139 in WinDemo-Windowmessage.bas", but compiled OK so other problem there is probably. Also CPU cores usage is too high - more then 87-95% in all demos, maybe Event-l...
by ppf
May 03, 2020 16:18
Forum: Libraries & Headers
Topic: sGUI
Replies: 250
Views: 76021

Re: sGUI

Hello folks, founded complete solution (second half) for correct gad's drawing funcionality, if sGui stuff called from some user graphics operations. (Asked previous year - solution is keyword 'window'). In these hard Kovit-19 days with a lot of free time I invest a moment to search (0.84) sources a...
by ppf
May 03, 2020 16:16
Forum: Sources, Examples, Tips and Tricks
Topic: The Simplest debug and trace method Win+Lin 32/64 bit
Replies: 7
Views: 2511

Re: The Simplest debug and trace method

Thank you both for your versions, very inspirative! Also I found badidea's Gamelog routine in my unsorted old archive. https://freebasic.net/forum/viewtopic.php?f=15&t=27299#p256605 Date&timestamp in logfile was thing on my todo list, permanently omitted for a long time. Sothat now added too...
by ppf
Apr 13, 2020 17:14
Forum: Sources, Examples, Tips and Tricks
Topic: The Simplest debug and trace method Win+Lin 32/64 bit
Replies: 7
Views: 2511

The Simplest debug and trace method Win+Lin 32/64 bit

Hi, as title says, this is a perfect, easy and quick way to detect a problem point in sources. If crashes, frozen app, bad program flow, or so.Base idea is well known, to log events into the logfile, what I used for years.Now added immediate write with macro. Surprisingly, because of Kovid-19 sad da...
by ppf
Mar 21, 2020 7:20
Forum: Libraries & Headers
Topic: sGUI
Replies: 250
Views: 76021

Re: sGUI

Hi,
important tip.
If mixed Multikey and Key commands, add Key="" to Multikey If block, othervice crazy behavior when some code in part If Key block.
by ppf
Mar 05, 2020 17:56
Forum: Libraries & Headers
Topic: sGUI
Replies: 250
Views: 76021

Re: sGUI

Combobox control logic improved like pleasant & comfort, with a psychological aspect, a bit.(Version 0.84ext) Because origin one is set too strong&resctrictive (loosing control off a gad), IMHO, I invest one hour to read sources and made some experiments.Third went to planned success. Let me...
by ppf
Mar 03, 2020 0:02
Forum: Libraries & Headers
Topic: sGUI
Replies: 250
Views: 76021

Re: sGUI

Here is code based on file "Demo_Scrollbar2.bas". Both gads - HVsliders are omited, movin image catch depends only on mouse - movin, left button Hit, or Hold; like mouse 'drag&drop' method to get visualisation on-the-fly. Some small area of window is intact due zoom koeficient rounding...
by ppf
Mar 02, 2020 3:09
Forum: Libraries & Headers
Topic: sGUI
Replies: 250
Views: 76021

Re: sGUI

wow, really like petan ? I am honored, but, unlikely not.He is smart and so quick coder..I learned a lot from his sources. And from yours and Roland's too.Great lessons, reading for months... Hope he is healthy&OK. PMs are good idea, but I'll do a minimal new tweaks and improvement to sGui actua...
by ppf
Mar 02, 2020 3:08
Forum: Community Discussion
Topic: FreeBASIC IDEs/Editors
Replies: 44
Views: 35393

Re: FreeBASIC IDEs/Editors

I give up to tests two modern IDEs
Atom + SublimeText
by ppf
Feb 26, 2020 21:22
Forum: Libraries & Headers
Topic: sGUI
Replies: 250
Views: 76021

Re: sGUI

Hi Mutton,
right, a bit of panic having too and walkin with hand at mouth.Korona is already in Austria.
(Ehh, surely not the same person.)
No problem, when I could improve sGui code I'll post a code, use it whenever as you want.
As I see just fallin in circular upgrade my sGui-featured apps.

Gruss!