Search found 2544 matches

by MrSwiss
Jul 14, 2018 17:34
Forum: DOS
Topic: What is better screenlock/unlock or paging
Replies: 2
Views: 49

Re: What is better screenlock/unlock or paging

All the different methods covered in a document, written by fxm. Can be found in: Forum/Documentation/"How to Solve the Flickering Issue when Refreshing a Window in FB Graphics Mode" Read it and draw your own conclusions ... (you'll probably not find many people, agreeing on any one method)
by MrSwiss
Jul 13, 2018 20:18
Forum: Tips and Tricks
Topic: History (a MRU type)
Replies: 4
Views: 235

Re: History (a MRU type)

Also using show() in a way, that allowes to add color(s), if so wanted (with optinal parameters), default initialized ... (again, no need to store colors in the type itself). There was however, something I've missed on show(), the option(s) to place the output at row/column, which I've added in the...
by MrSwiss
Jul 13, 2018 13:42
Forum: Tips and Tricks
Topic: Numeric Entry in an EditBox
Replies: 15
Views: 384

Re: Numeric Entry in an EditBox

jj2007 wrote:My dearest friend ...
Won't happen any time soon, anyway.
jj2007 wrote:... can't you mind your own business, please?
You mean, like you always do?

(I'm also capable, of quoting "out of context"!)
by MrSwiss
Jul 13, 2018 12:39
Forum: Tips and Tricks
Topic: Numeric Entry in an EditBox
Replies: 15
Views: 384

Re: Numeric Entry in an EditBox

jj2007, you can at your option, stick that "ASM mangling" wherever you want ...
Just leave it out of this forum!
by MrSwiss
Jul 13, 2018 12:34
Forum: Beginners
Topic: Does FBIDE compile differently to other IDEs ?
Replies: 11
Views: 286

Re: Does FBIDE compile differently to other IDEs ?

Question:
What influence does a IDE (any one) apart from: build options have,
on the resulting binary? (slightly simplified, for explanations sake)

Answer: absolutely none!
by MrSwiss
Jul 13, 2018 12:05
Forum: Tips and Tricks
Topic: Numeric Entry in an EditBox
Replies: 15
Views: 384

Re: Numeric Entry in an EditBox

From my viewpoint, the whole issue is a: "non issue", because the EditBox was designed to enter "Text", not numbers (exclusively) and therefore, is considered: "the wrong tool". This would have to be custom built, if nothing "like it" is already availlable ......
by MrSwiss
Jul 12, 2018 20:57
Forum: Tips and Tricks
Topic: History (a MRU type)
Replies: 4
Views: 235

Re: History (a MRU type)

Hi dodicat, thank you. I've wanted to create (an array) of the most 'simplistic' type. Going against the ones here 'flooding' their types, with sometimes useless information(s). What I'm referring to is: information that could otherwise be gained (i.e. a simple calculation with exis- ting data). Als...
by MrSwiss
Jul 11, 2018 20:54
Forum: Tips and Tricks
Topic: History (a MRU type)
Replies: 4
Views: 235

History (a MRU type)

Hi all, this Type is aimed at a 'Most Recently Used' implementation (MRU), which means: ⋅ latest entry at the lowest position (index = 0) of array (string-array) ⋅ at start, the pre-defined (sized) array is filled, first ⋅ whenever it's full, the entry at UBound() is de...
by MrSwiss
Jul 11, 2018 19:53
Forum: General
Topic: Can't get 1280x960 screen mode working
Replies: 7
Views: 247

Re: Can't get 1280x960 screen mode working

lassar wrote:It's microsoft's bug!
No, it's not a bug, it's your fault, not to check for such things.
Search for: high DPI settings ...
by MrSwiss
Jul 11, 2018 19:48
Forum: Beginners
Topic: Converting
Replies: 8
Views: 196

Re: Converting

Double to INT-type conversion (without any string):

Code: Select all

' numeric version
Dim As Double d = 1.019
Dim As Long   l = fix(d)

Print l, d

Sleep
by MrSwiss
Jul 09, 2018 23:57
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2018.06.21)
Replies: 916
Views: 65310

Re: FreeBasic IDE-poseidonFB(Update 2018.06.21)

dodicat wrote:I cannot test fbedit, it doesn't run here in Win 10
Well, I've no idea why it's not working on your side, because I use it every day,
on two WIN 10 pro 64, machines.

However, I've tried your snipet and, the cyrillic got mostly converted to "?".
by MrSwiss
Jul 09, 2018 18:24
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2018.06.21)
Replies: 916
Views: 65310

Re: FreeBasic IDE-poseidonFB(Update 2018.06.21)

Actually, I don't know why.....@@ Your code modified, all is working okay, now: Function stringMod OverLoad( ByVal n As Integer, ByVal s As UByte ) As String Dim As String ret For i As UInteger = 1 to n ret += Chr(s) Next Return ret End Function Function stringMod OverLoad( ByVal n As Integer, ByVa...
by MrSwiss
Jul 09, 2018 10:27
Forum: General
Topic: Can't get 1280x960 screen mode working
Replies: 7
Views: 247

Re: Can't get 1280x960 screen mode working

Not certain, that this works on: -lang "fblite" (otherwise, use "fb"): ScreenRes(1280, 960, 32,, 1) ' full screen mode On Windows you'll never get "full height" (except in: full screen mode) because of the Taskbar, usually at the bottom (using some pixels) and, the Titl...
by MrSwiss
Jul 08, 2018 22:16
Forum: Beginners
Topic: Another program icon via command line
Replies: 66
Views: 1067

Re: Another program icon via command line

I am doing this with my AHK-compiled programs all the time: When I run my program Prog.exe with 'Prog.exe /icon:Another.ico', it copies itself to ProgCopy.exe and replaces the icon in the resource section of ProgCopy.exe by Another.ico. I think, that I've figured it out now, it appears that: AHK-co...
by MrSwiss
Jul 07, 2018 16:36
Forum: Beginners
Topic: Another program icon via command line
Replies: 66
Views: 1067

Re: Another program icon via command line

hi dodicat,

sorry, but you missed the second 'full stop' (second sentence). <lol>

Go to advanced search