This Library is intended for all of you that want to write event driven code.
This public version has 3 commands:
OnEvent
NoEvent
CallEventFunction
Please look at the example code to see how to use it.
There are also html help files.
Sorry if you press F1 in the Editor and you get no help for this command (the quick help will show up though). IMO it would increase the look and feel of PureBasic if it would be possible, but I didn't get a response from Fred or anybody else about this topic in another thread. Sorry.
I release it anyway, didn't want to wait any longer...
Pick it up here: http://fsw.home.comcast.net/FSW_EventConnection.zip
Have fun.
EDIT:
Forgot to mention: copy the files where they belong (you see it in the zip file)
Public Version Of EventConnection Library Released
Public Version Of EventConnection Library Released
I am to provide the public with beneficial shocks.
Alfred Hitshock
Fsw,Sorry if you press F1 in the Editor and you get no help for this command (the quick help will show up though). IMO it would increase the look and feel of PureBasic if it would be possible, but I didn't get a response from Fred or anybody else about this topic in another thread. Sorry.
i done a chm file for your lib. Send me your e-mail here denislabarre@free.fr and i'll send you it up.
Use HTML Workshop 1.31 from MS site to create chm files. This prog is free.
You 'ill find it here : http://www.microsoft.com/downloads/resu ... layLang=en
You will find some tuts with google.
For your lib, you must put the chm file name inside the desc file
Here the code from my lib :
Code: Select all
;
; Langage used to code th library: ASM or C
ASM
;
; Number of windows DLL than the library need
0
; Library type (Can be OBJ or LIB)
;
LIB
;
; Number of PureBasic library needed by the library
2
GadgetExtension
Gadget
; Help directory name
MoreListIconGadget.chm
; Library functions (FunctionName, Arg1, Arg2, ...)
GetColumnAlignment, Long, Long () - Get Items alignment of selected column
Long
GetColumnHeaderFont, Long () - Get font from Columns header
Long
And finally put the chm file in the folder ..\purebasic\help\
A+
Denis
A+
Denis
Denis
Hi Denis,
thanks for your help - I had already done a CHM file out of my HTML files as pointed here:
viewtopic.php?t=6932
and as I said in the other topic, the CHM file showed up in the help menu under external help but there was no connection when pressing F1.
Thanks to you I found out why:
the readme file of PureBasic says regarding the DESC file:
Now the right CHM file is called when pressing F1, but the keyword page doesn't show up anyway...
It seems one step at the time
When I'm @home I will email you, maybe there is something that I'm missing to do.
Thanks for your help
thanks for your help - I had already done a CHM file out of my HTML files as pointed here:
viewtopic.php?t=6932
and as I said in the other topic, the CHM file showed up in the help menu under external help but there was no connection when pressing F1.
Thanks to you I found out why:
the readme file of PureBasic says regarding the DESC file:
So I placed the DIRECTORY NAME. But as I can see in your example it's not the directory name - it's the FILE NAME; Help directory name. Useful when doing an extension of a library and want to put
; the help file in the same directory than the base library. This is not a facultative
; result.
;
GadgetSlider

Now the right CHM file is called when pressing F1, but the keyword page doesn't show up anyway...
It seems one step at the time

When I'm @home I will email you, maybe there is something that I'm missing to do.
Thanks for your help

I am to provide the public with beneficial shocks.
Alfred Hitshock