Search found 464 matches

by Perkin
Tue Jul 29, 2014 10:50 am
Forum: Off Topic
Topic: what is the most hidden secret in the universe ?
Replies: 10
Views: 4190

Re: what is the most hidden secret in the universe ?

What is the most hidden secret in the universe?

Why?
by Perkin
Thu Jul 03, 2014 11:24 pm
Forum: General Discussion
Topic: Introduction
Replies: 7
Views: 3164

Re: Introduction

He's a lumberjack, and he's okay,
He sleeps all night and he works all day.

:lol:

Welcome.
by Perkin
Thu Jun 05, 2014 12:57 pm
Forum: Off Topic
Topic: Do you find that sometimes all the bull just gets to you?
Replies: 5
Views: 3278

Re: Do you find that sometimes all the bull just gets to you

Good for the Bull, shame that twenty seconds after there would have been probably thirty people with spears/blades cutting and jabbing it.
<rant>
If it was one on one (and the human had only a small dagger) and no other human would intervene at any time to distract the bull or interact in any way ...
by Perkin
Wed Mar 26, 2014 8:56 pm
Forum: Mac OSX
Topic: ComboBox in Toolbar
Replies: 4
Views: 4228

Re: ComboBox in Toolbar

Nice one Shardik, works well.
by Perkin
Mon Dec 02, 2013 6:44 pm
Forum: Coding Questions
Topic: How to call a HTML file with anchoring
Replies: 6
Views: 1806

Re: How to call a HTML file with anchoring

are you including the full filename before the hash

test.help.html#ccc
by Perkin
Fri Nov 22, 2013 3:39 pm
Forum: Mac OSX
Topic: ComboBox in Toolbar
Replies: 4
Views: 4228

ComboBox in Toolbar

Is there any way you can put a ComboBox (or any 'standard' gadget) inside a toolbar.

Using XCode 5, I can create a basic window with toolbar which has one in, it gets put in a customview inside the toolbar. So can it be done in PB?
by Perkin
Tue Nov 05, 2013 3:44 pm
Forum: Coding Questions
Topic: [SOLVED] ScintillaGadget - Changing font
Replies: 7
Views: 2657

Re: ScintillaGadget - Changing font

Thanks Fred.
by Perkin
Tue Nov 05, 2013 3:43 pm
Forum: Coding Questions
Topic: [SOLVED] ScintillaGadget - Changing font
Replies: 7
Views: 2657

Re: ScintillaGadget - Changing font

Yep, got it. (It's been a while since I needed to go through the code)

As a quick fix - I've added.
Global *ASCII_string
Procedure SetASCII_string(unicode.s)
If *ASCII_string
FreeMemory(*ASCII_string)
EndIf
*ASCII_string = AllocateMemory(Len(unicode) + 1)
If *ASCII_string
PokeS(*ASCII_string ...
by Perkin
Tue Nov 05, 2013 3:24 pm
Forum: Coding Questions
Topic: [SOLVED] ScintillaGadget - Changing font
Replies: 7
Views: 2657

Re: ScintillaGadget - Changing font

D'Oh! :oops:

Yep, works with Unicode off.
I'm pretty sure I used to compile with unicode on though.
Looked through my old code to check, and I was compiling with Unicode on.

Shouldn't the 'ScintillaSendMessage(0, #SCI_SETCODEPAGE, #SC_CP_UTF8)' have counertacted/nullified that?
by Perkin
Mon Nov 04, 2013 10:18 pm
Forum: Coding Questions
Topic: [SOLVED] ScintillaGadget - Changing font
Replies: 7
Views: 2657

[SOLVED] ScintillaGadget - Changing font

SOLVED
Has the ScintillaGadget changed the way the font should be changed?
Edit: PB5.20LTS
This no longer works - even crossplatform ( WinXP, Linux Mint 15, Mac OS X 10.9 )
The size is changed, but the fontface isn't
Cany anyone tell me why and how to fix it?

save as ScintillaFontTest.pb
Procedure ...
by Perkin
Thu Mar 21, 2013 4:00 pm
Forum: Coding Questions
Topic: [SOLVED] Regular Expression ( pcre_exec ) - BackReferences
Replies: 2
Views: 1011

Re: Regular Expression ( pcre_exec ) : BackReferences not fo

It may be because PCRE is 32bit, check this post, and you should be able to see what needs adjusting in your code.

The code there is adapted BackrefReplaceRegularExpression procedure, so you should be able to just replace existing.
by Perkin
Thu Jan 24, 2013 7:49 pm
Forum: General Discussion
Topic: Loading *.xhtml in WebGadget
Replies: 6
Views: 1608

Re: Loading *.xhtml in WebGadget

Weird, I get the Open/Save dialog, as though it's a zip/exe and requires confirmation as to whether it should open it directly (which it would then open it in main browser), or save it to disk.

Can anyone suggest as to what could possibly be difference or any setting I could change?
by Perkin
Thu Jan 24, 2013 3:25 pm
Forum: General Discussion
Topic: Loading *.xhtml in WebGadget
Replies: 6
Views: 1608

Re: Loading *.xhtml in WebGadget

@Perkin: I cannot reproduce your problem. Do you have a xhtml-file for me?

Greetings ... Kiffi

Save this as test.xhtml (All upto < body > is from real file needed, the body is just Lorem text to fill the page, but still shows the same problem)
<?xml version="1.0" encoding="utf-8" standalone="no ...
by Perkin
Wed Jan 23, 2013 9:13 pm
Forum: General Discussion
Topic: Loading *.xhtml in WebGadget
Replies: 6
Views: 1608

Re: Loading *.xhtml in WebGadget

In this day and age, I don't think there is any need for XHTML. Everything can be done with standardised HTML5.
I'm not creating the files, just viewing them and would like them in the WebGadget.

That's the problem, when I try the Open/Save dialog comes up, and if you open - main browser opens ...
by Perkin
Wed Jan 16, 2013 6:23 pm
Forum: Feature Requests and Wishlists
Topic: Wishes for new PackerLib
Replies: 2
Views: 1690

Re: Wishes for new PackerLib

These additions would make using PackerLib much more usable, especially on Linux when using Zip compression.
Hoping it's implemented soon. :)