Search found 356 matches

by sancho3
Nov 12, 2018 7:23
Forum: Documentation
Topic: Union
Replies: 63
Views: 23591

Re: Union

Feel free to apologize to fxm anytime you want.
by sancho3
Nov 12, 2018 6:09
Forum: Documentation
Topic: Union
Replies: 63
Views: 23591

Re: Union

@Munair:
I'll take unnecessary posts for 100 Alex...
This thread is done and in the future please read the whole thread before posting.
by sancho3
Nov 12, 2018 6:05
Forum: Tips and Tricks
Topic: Multikey key release
Replies: 16
Views: 2409

Re: Multikey key release

Hey Paul: I played with yours a bit and I think I even remember seeing this before. I see that you have left out key.hold for up and left in the demo. You should add those in before someone reports a bug in the code (like I was going to, lol) In any case I found the thread and I will edit my first p...
by sancho3
Nov 12, 2018 4:21
Forum: Tips and Tricks
Topic: Multikey key release
Replies: 16
Views: 2409

Multikey key release

[EDIT} So I searched and found a few similar and good alternatives to what I show here. I thought I would link them at the top instead of at the end since they were here before me: vdecampo redcrab Paul Doe freebasic wiki - screenevent Multikey is the go to keyword to use when you need key input han...
by sancho3
Nov 12, 2018 1:19
Forum: Community Discussion
Topic: Forum Moderators
Replies: 19
Views: 3137

Re: Forum Moderators

@Mr. Swiss. Feeling a little cornered eh? Yes, well that comes with the trail you have embarked on. Is everyone wrong when they (so many people) have asked you not to be insulting? I guess it's asking too much for you to be just a little bit nicer ? There is not one example of you being snide or com...
by sancho3
Nov 08, 2018 5:07
Forum: Community Discussion
Topic: Resignation
Replies: 74
Views: 7443

Re: Resignation

"there are some members of this forum who do not welcome members from PowerBASIC" I scour this forum often. I have not seen this. I haven't even seen this from Mr. Swiss. I have seen a fair amount of "how do I convert this power basic code..." posts and they are answered without ...
by sancho3
Nov 04, 2018 5:28
Forum: General
Topic: constructor called twice: string reference not preserved with static sub
Replies: 29
Views: 1028

Re: constructor called twice: string reference not preserved with static sub

@fxm: I think I get what you are saying. Because thisp is set to @this in the constructor, it is pointing to the newly created temporary type and that is immediately destroyed. In your example the UDT fields are copied from the temp type (a shallow copy)? In this example the temporary type is create...
by sancho3
Nov 03, 2018 7:46
Forum: General
Topic: constructor called twice: string reference not preserved with static sub
Replies: 29
Views: 1028

Re: constructor called twice: string reference not preserved with static sub

@fxm Here is your code with a static integer pointer which works the way I would have suspected the handler pointer in Munairs code to: Type UDT Dim As Integer I1 Dim As Integer I2 Dim As Integer I3 Static As Integer Ptr a Declare Constructor () Declare Constructor (Byval I1 As Integer, Byval I2 As ...
by sancho3
Nov 03, 2018 7:38
Forum: General
Topic: constructor called twice: string reference not preserved with static sub
Replies: 29
Views: 1028

Re: constructor called twice: string reference not preserved with static sub

Ok, so it seems it works identical to using the Type command to create a temporary type. But like Munair, I can't see where the pointer THisp doesn't point to a valid object after the second constructor. In the example you show that u is still a valid object after the temporary type is destroyed. So...
by sancho3
Nov 03, 2018 6:57
Forum: General
Topic: constructor called twice: string reference not preserved with static sub
Replies: 29
Views: 1028

Re: constructor called twice: string reference not preserved with static sub

The second call test =ttest() creates an entirely new object. You can see this by adding ? @this in the constructor and you will see that it is a new object. So its not a matter of references being preserved since those references are newly created. And it is not a matter of being verbose since the ...
by sancho3
Nov 01, 2018 5:17
Forum: Beginners
Topic: How to load a .jpg file [SOLVED]
Replies: 7
Views: 1274

Re: How to load a .jpg file

You need to change aData(0) to aData() in 4 places (each of the errors) and it will work.
I just tried it.
by sancho3
Oct 24, 2018 3:34
Forum: General
Topic: A bigger font
Replies: 23
Views: 1426

Re: A bigger font

@D.J.Peters: Very cool. Here is the link to the Tip/Trick you posted. @Dodicat: The lack of kerning on fixed width fonts really shows at larger heights. In size 5, the f and the ive look nearly a full space apart and the v and the e look nearly adjacent. It fine for playing around but if you want so...
by sancho3
Oct 22, 2018 22:46
Forum: General
Topic: A bigger font
Replies: 23
Views: 1426

Re: A bigger font

I would love to see font support added to the fbgfx library. I use simple magnification to enlarge fonts when I don't want to create custom fonts. I have written this routine more than once but I couldn't find it anywhere so I wrote it again. Here are two methods: x2Print just draws the individual t...
by sancho3
Oct 16, 2018 5:06
Forum: General
Topic: How to make glitter paint
Replies: 10
Views: 735

Re: How to make glitter paint

GIF used to be copy protected format that required payment to include in your program. The payment aspect ended (check this for yourself as I am not at all certain) although the copyright is still claimed. (To the best of my knowledge) Quoted from wikipedia: "By 2004 all the relevant patents ha...
by sancho3
Oct 14, 2018 0:35
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2020.07.20)
Replies: 1080
Views: 189391

Re: FreeBasic IDE-poseidonFB(Update 2018.08.21)

I am using Ubuntu 64 as well and the manual is working using F1. What happens when you select the chm file? Does it not show the full path in the preference window? Did you select "use help manual"? (I'm sure you did). You can try entering the entire path. Maybe you have re-assigned key F1...

Go to advanced search