Search found 66 matches

by DoMi
Fri Sep 17, 2010 8:56 pm
Forum: General Discussion
Topic: PB parameters in .ini file in PB dir...
Replies: 6
Views: 2240

Re: PB parameters in .ini file in PB dir...

Thanks a lot, it works fine!
by DoMi
Fri Sep 17, 2010 7:05 pm
Forum: General Discussion
Topic: PB parameters in .ini file in PB dir...
Replies: 6
Views: 2240

PB parameters in .ini file in PB dir...

I'd like to install PB on an USB key
Is there a way to store PB setup parameters in an INI file (in PB directory) instead of in registry?
Thanks for your reply
by DoMi
Fri Sep 03, 2010 9:16 am
Forum: PureFORM & JaPBe
Topic: PureFORM 1.99 (yet another FORM designer)
Replies: 1537
Views: 588407

Re: Adresses of icons in Tab doesn't work with absolute path

Thanks for your reply
1) I just downloaded and intalled the latest build (404)
2) I delete the 3 references to the icon files in the tab gadget
3) I reload the same references
4) It works now! :D

However I'm not sure of what corrected the issue!?
- new build
- resetting the icon files adresses in ...
by DoMi
Thu Sep 02, 2010 7:05 pm
Forum: PureFORM & JaPBe
Topic: PureFORM 1.99 (yet another FORM designer)
Replies: 1537
Views: 588407

Adresses of icons in Tab doesn't work with absolute path

Adresses of icons in Tab gadget doesn't work with absolute path
There the generated code for 3 Tab icons well selected with PureForm selector but not recognized when compiling and running (F6):
DataSection
Image_PnlReglages_1:
; ORIGINAL FILE NOT FOUND : "D:\Data\Programmation\PureBasic\Musique ...
by DoMi
Wed Jul 15, 2009 11:15 pm
Forum: Coding Questions
Topic: Displaying mouse and keyboard state in screencasting...
Replies: 2
Views: 697

It looks like to be the right topic
Thanks
by DoMi
Wed Jul 15, 2009 3:25 pm
Forum: Coding Questions
Topic: Displaying mouse and keyboard state in screencasting...
Replies: 2
Views: 697

Displaying mouse and keyboard state in screencasting...

Hello
Unsuccessfuly searching for a hook displaying mouse and keyboard state in screencasting application (CamStudio) , I decided to make my own.
But I can't succeed in catching mouse and keyboard events elsewhere than in my application!?
There is my test code in "Main.pb":


IncludeFile "GUI.pb ...
by DoMi
Sat Mar 07, 2009 11:24 pm
Forum: Coding Questions
Topic: #PB_Sound_MultiChannel|#PB_Sound_Loop
Replies: 4
Views: 1705

thanks for your testing

I notify this as a probable bug there:
http://www.purebasic.fr/english/viewtopic.php?t=36656
by DoMi
Sat Mar 07, 2009 9:53 pm
Forum: Coding Questions
Topic: #PB_Sound_MultiChannel|#PB_Sound_Loop
Replies: 4
Views: 1705

PlaySound(0,#PB_Sound_MultiChannel|#PB_Sound_Loop)

give only the same result as :
PlaySound(0,#PB_Sound_Loop)

To get MultiChannel functionnality (a polyphonic A5+ chord), I must write:

PlaySound(0,#PB_Sound_MultiChannel)
but, of course, no more looping feature!

XP, SP3, Fujitsu Siemens ...
by DoMi
Sat Mar 07, 2009 9:18 pm
Forum: Coding Questions
Topic: #PB_Sound_MultiChannel|#PB_Sound_Loop
Replies: 4
Views: 1705

#PB_Sound_MultiChannel|#PB_Sound_Loop

in PlaySound() parameters
#PB_Sound_MultiChannel|#PB_Sound_Loop or %11 doesn't work!
while each constant works separately

InitSound()
LoadSound(0,"La.wav") ;sample rate= 44100Hz, mono. A 10 seconds A 440Hz
Global Dim canal.i(2)
For i = 0 To 2
;#PB_Sound_MultiChannel = %10 (OK)
;#PB_Sound_Loop ...
by DoMi
Thu Mar 06, 2008 10:12 pm
Forum: Coding Questions
Topic: Preference issue?
Replies: 2
Views: 634

Change editor from japbe to pb...

many usefull tools with JaPBe but sometimes messy setups...
I came back to the root PureBasic editor and setting the source and compiler to "texte brut" ("plain text") it works now... sorry for the trouble :?

automatic indent, filelists, reloading source option, are missing otherwise I'd never be ...
by DoMi
Thu Mar 06, 2008 9:30 pm
Forum: Coding Questions
Topic: Preference issue?
Replies: 2
Views: 634

Preference issue?

(Using PB 4.20 BETA 2)
Hello
When writing in a preference file (son.txt) I got two more lines
with those characters at the beginning (first line): 
and an empty key/value at the end : =

Whereas there's nothing more than the expected lines in the messagerequester used for testing !?

Procedure ...
by DoMi
Sat Mar 01, 2008 8:12 pm
Forum: PureFORM & JaPBe
Topic: jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Replies: 1545
Views: 680385

Custom gadget bug?...

Adding and using scintilla example in "custom gadget" tab of Pureform,
double-quotation marks (") are allways changed to single quotes (')
when entering text in the custom gadget properties
Even \" doesn't works
Any suggestion?
Thanks in advance
by DoMi
Thu Jan 11, 2007 1:11 am
Forum: Coding Questions
Topic: catching single and double click on listicon...
Replies: 15
Views: 5585

thanks

singleClicking a listIcongadget (of chromatic scale degrees "equaly tempered") plays the sound frequency (Windows beep_(freq,time) )of selected line
doubleClicking a line set the corresponding degree as the new chromatic scale root (but without playing the corresponding tone!)

I finally ...
by DoMi
Thu Jan 11, 2007 12:37 am
Forum: Coding Questions
Topic: catching single and double click on listicon...
Replies: 15
Views: 5585

thanks for information
Does it mean that PB sends always :
#PB_EventType_LeftClick
#PB_EventType_LeftDoubleClick
for doubleClick event?

By my side, if I set a flag On (without action) when a click occurs can I be sure that the right next event is either the second click -> I manage doubleClick ...
by DoMi
Wed Jan 10, 2007 11:55 pm
Forum: Coding Questions
Topic: catching single and double click on listicon...
Replies: 15
Views: 5585

catching single and double click on listicon...

Hello
using listIconGadget, I want to catch and distinguish those events :
#PB_EventType_LeftDoubleClick
#PB_EventType_LeftClick
If GadgetID = #lbxFreq
If EventType = #PB_EventType_LeftDoubleClick
lbxFreqLeftDblClick()
ElseIf EventType = #PB_EventType_LeftClick
lbxFreqLeftClick()
ElseIf ...