Search found 13 matches

by Michel_k17
Tue Dec 31, 2013 3:13 am
Forum: Tricks 'n' Tips
Topic: DrawText changing fonts, fontsize and colors
Replies: 14
Views: 5159

Re: DrawText changing fonts, fontsize and colors

Code was not working for me (using PB 5.10), which was driving me nuts. It looks like older versions of PB might have selected the font object as part of the DrawingFont function.

At any rate, here is the modified code that works.

Note: although not clear in the subject line, this code ...
by Michel_k17
Tue Aug 30, 2011 1:19 am
Forum: General Discussion
Topic: For those of you who make a living
Replies: 9
Views: 2614

Re: For those of you who make a living

I definitely would recommend PayPal. Nothing beats their low fees and have had only the occasional minor hiccups (slow processing) here and there in the early years, but it's been all good for the last 2 years. I use PayPal for both donations on the freeware version of the product, and for users ...
by Michel_k17
Fri Jul 03, 2009 6:04 am
Forum: General Discussion
Topic: Anyone use PayPal to sell their PureBasic apps?
Replies: 20
Views: 6383

Share-It vs Paypal

Hi,

Both are good. Share-It was easier at generating license keys, and Paypal required me to do a whole bunch of ASP coding to generate license keys myself. However, their sample code was useful, and worked, and has been working for the last 3 years without any trouble.

For a while, Paypal had ...
by Michel_k17
Fri Apr 10, 2009 1:33 am
Forum: Coding Questions
Topic: ComboBox - Selecting an item issues "RightClick"
Replies: 4
Views: 967

You are right. Yes: I meant "EventType()".

And upon reading the help file more closely - The Combobox is not listed as a supported gadget. So, #CBN_SELCHANGE it is!

Thanks to all of you for solving the mystery for me!
by Michel_k17
Thu Apr 09, 2009 3:54 am
Forum: Coding Questions
Topic: ComboBox - Selecting an item issues "RightClick"
Replies: 4
Views: 967

ComboBox - Selecting an item issues "RightClick"

What am I doing wrong?

When selecting an item in a ComboBox, the EventID() function returns a 1 (RightClick) rather than a "Change".

Am I missing something? It's not a biggie since I can still do what I need, but it is just unexpected.

Thanks!
by Michel_k17
Fri Feb 01, 2008 2:34 am
Forum: Coding Questions
Topic: How can I save an Image to a Unicode Path?
Replies: 9
Views: 1949

Anyone? Please? I have a new project that requires Japanese support, and I thought that PB4 now supported unicode strings. Does that mean it is true for strings, but not for the functions?

Thanks in advance for any help, or a workaround of any kind.
by Michel_k17
Wed Jan 30, 2008 6:19 am
Forum: Coding Questions
Topic: How can I save an Image to a Unicode Path?
Replies: 9
Views: 1949

How can I save an Image to a Unicode Path?

Hi,

I have been trying to save a jpeg to a path that includes Japanese Characters. Unfortunately, the SaveImage call fails. Am I missing something?

Compiler settings are set to "Unicode" and the editor to UTF-8.

Thanks!

Result.l

UseJPEGImageEncoder()
UseJPEGImageDecoder()

; Git da image ...
by Michel_k17
Sat Aug 21, 2004 2:45 pm
Forum: General Discussion
Topic: Stupid Micro$oft and their digital signatures!
Replies: 19
Views: 5504

Everything I need to complete the install goes into a self-extracting zip file ... Works great for me, and slips right in under Windows nose without any signature warning.

Randy: Did you test this with Win XP SP2? I would like to know before I plunk down the $65 for Winzip + the addin work-around ...
by Michel_k17
Sat Feb 28, 2004 9:55 pm
Forum: Coding Questions
Topic: Problem with WindowEvent() - Possible Bug?
Replies: 8
Views: 1886

Not sure I agree with your "this is wrong" statement, as this window has no gadgets whatsoever for the user to interface with. This is a tiny window with only a progress bar displayed. The progress bar is drawn with a box - I am not using the progress bar gadget.

To be sure though, I ran the same ...
by Michel_k17
Thu Feb 26, 2004 5:02 am
Forum: Coding Questions
Topic: Problem with WindowEvent() - Possible Bug?
Replies: 8
Views: 1886

Thank you for the suggestion.

There was no Difference. By the way, #True is a constant which I have set equal to 1. My observation is based on a version which logged the value of Result and WindowEvent(). It is pretty clear that Result = 0 (ie = #False) until I click the mouse somewhere on the ...
by Michel_k17
Wed Feb 25, 2004 4:45 am
Forum: Coding Questions
Topic: Problem with WindowEvent() - Possible Bug?
Replies: 8
Views: 1886

Problem with WindowEvent() - Possible Bug?

I've written a small program that only provides a progress bar which updates every 20 ms. The program checks for a file to be created by another program. Once the file is created, the progress bar goes to 100% for 300ms, and then quits.

I was using (pseudo code):

Repeat
; Check for events (to ...
by Michel_k17
Sun Dec 14, 2003 5:36 am
Forum: Announcement
Topic: PDF reDirect Pro
Replies: 0
Views: 1294

PDF reDirect Pro

After searching and searching for a programming language that could make fast and most importantly tiny executables, and almost purchasing Powerbasic, I stumbled on Purebasic by accident from a link to PB from the Extreme VB forum.

I used Purebasic to make the executable which decrypts an included ...
by Michel_k17
Sun Dec 14, 2003 5:01 am
Forum: Feature Requests and Wishlists
Topic: [Implemented] Clear Debug Window
Replies: 9
Views: 2741

...and in the background (foreground gets too much in the way),
and the Debug and Variable windows should be in one window with a splitter bar. Something like VB6.

Haaa.... I feel better!