PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
You don't use the pbosl lib, you use the source!
Sorry, i have in the moment no time to check this
greetings
thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Small question : where can i have some better information about each field of structure PB_GadgetVT ? Because i search in the lib sdk and i find no true informations !
I have only the information from the examples in the pb sdk
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
The default values passed to the function are 0, not -1 if the parameter is not used.
You should only implement one of the two functions (depending on your need for the flags parameter)
The AddGadgetItem3 will be called if present and else the AddGadgetItem2, no matter
wich parameters the coder actually used.
Do you think you can provide an example that would show how to create an ImageButton but like Delphi's one (with a caption under/over/beside the image) ?
I have a great interest in this component and I love your examples.
@byo
You should use the PBOSL lib, is more up to date
In the PBOSL examples is a menubutton example, i think this is that what
you like.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Thanks for the amazing PBOSL (to its authors too).
I can't seem to find any examples on the website or the zip file like the one you mentioned. Is there somewhere else I should look at?
Load the PBOSL_Examples.zip
"PBOSL_EXAMPLES\PBOSL4\EXAMPLES\PBOSL_CreateGadget\MenuButton\"
here is the one that i mentioned
greetings
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.