Absolutely, I was going to suggest considering that.zikitrake wrote:Thank you!!!
Oh!, don't worry for this, I always can put a #nxExplorerBar_Container with standar PB TextGadgets.
Really grateful!
Nexus -library of custom gadgets (32-bit / 64-bit)
-
localmotion34
- Enthusiast

- Posts: 665
- Joined: Fri Sep 12, 2003 10:40 pm
- Location: Tallahassee, Florida
There seems to be an error in the nexus source when compiling for tailbite.
Error: undefined symbol nxGadgets_arraybaseclass_getupperbound
The source works as a .pbi file most of the time, however, every now and then it will throw the same error. Any ideas what this could be?
Error: undefined symbol nxGadgets_arraybaseclass_getupperbound
The source works as a .pbi file most of the time, however, every now and then it will throw the same error. Any ideas what this could be?
Code: Select all
!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
---DELETED---
Last edited by zikitrake on Fri Jan 30, 2009 2:48 am, edited 1 time in total.
PB 6.21 beta, PureVision User
-
localmotion34
- Enthusiast

- Posts: 665
- Joined: Fri Sep 12, 2003 10:40 pm
- Location: Tallahassee, Florida
can you upload the compiled PB lib as long it does not include ESGrid? I still cant get this to work at all.
Code: Select all
!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
---DELETED---Sent a PM but it don't work. I don't included
so the lib was empty.
I'm so stupid
, when I include it I get the same error.
Only works with:
Sorry
Code: Select all
#INCLUDE_NEXUS_SPLITTER = 1
#INCLUDE_NEXUS_IMAGEARRAY = 1
#INCLUDE_NEXUS_EXPLORERBAR = 1
#INCLUDE_NEXUS_TREEFIELD = 1I'm so stupid
Only works with:
Code: Select all
#INCLUDE_NEXUS_SPLITTER = 1
#INCLUDE_NEXUS_IMAGEARRAY = 1PB 6.21 beta, PureVision User
Nexus will not Tailbite because of the optional parameters in many of the functions which you would attempt to export. You would need to address this first and create quite a few 'dummy' overloaded functions etc.
The point is that Nexus is not intended for use as a user-library as it is primarily for my own use really and I do not use closed user-libs.
As for use as an include file; if there are problems here you'll have to be more specific and tell me with which control etc?
The point is that Nexus is not intended for use as a user-library as it is primarily for my own use really and I do not use closed user-libs.
As for use as an include file; if there are problems here you'll have to be more specific and tell me with which control etc?
I may look like a mule, but I'm not a complete ass.
and another request for nxExplorerBar
:
a nxexplorerBar_DisableMenuItem() is possible?
Thank you, I love this lib!
a nxexplorerBar_DisableMenuItem() is possible?
Thank you, I love this lib!
PB 6.21 beta, PureVision User
The easiest way will be to adjust the source so that you are able to use nx_SetGadgetItemAttribute() with #nxExplorerBar_ItemType to alter the menu item to a 'description' item. This would effectively disable the item. At the moment this attribute is 'get' only, but it may not be too difficult to alter the code to allow menu items to be converted to description ones and back again etc. When I get time I'll have a look.
I may look like a mule, but I'm not a complete ass.
I'll see your code to try your method (change attributes)
Regards,
PB 6.21 beta, PureVision User
nxPropertyBox controls.
This control has undergone a major update in the Purebasic 4.3 version (the version of Nexus for PB 4.2 is no longer supported). This is because I am finally using this control in a 'serious' and substantial application and am having to make a few alterations etc.
Changes include :
I have also fixed some bugs with this control.

This control has undergone a major update in the Purebasic 4.3 version (the version of Nexus for PB 4.2 is no longer supported). This is because I am finally using this control in a 'serious' and substantial application and am having to make a few alterations etc.
Changes include :
- Two new creation styles; #nxPropertyBox_EditableLabels and #nxPropertyBox_RemoveControlsWhenResizing. Using the first of these styles allows labels to be edited following a double click etc. The developer can validate all edits etc. Also, you can set the label editing colors etc.
- Added an editable combo type cell.
- Greatly refined the various selector type cells.
- The #nxPropertyBox_ItemUpdated callback message now fires in the case that lables have been edited etc. This message also provides additional information in the case that a selector type cell has been altered etc.
- Added a new callback notification : #nxPropertyBox_ContextMenu. This allows the developer to easily attach context menus to individual cells of a propertybox etc.
I have also fixed some bugs with this control.
I may look like a mule, but I'm not a complete ass.
nxPropertyBox controls.
This control has undergone another quite major update in the Purebasic 4.3 version (the version of Nexus for PB 4.2 is no longer supported). This has again been driven by my use of this control in a very large application.
Basically, I needed a way of allowing some 'color selector' items of offering a 'default color' option and of thus being able to display colors as well as text (i.e. display a selected color or a string simply saying "Default color" etc.)
This was of course not possible for two reasons; i) the propertybox color selector items could not display text and, more importantly, ii) the Windows color common dialog has no option for a 'default color'.
This has been addressed (indirectly) by making a number of internal alterations to the nxPropertyBox control, most notably the addition of a new callback message : #nxPropertyBox_SelectorItemInvoked. This fires whenever the user attempts to invoke any of the selector items and allows the user to replace the resulting requester with a custom one. In addition, you can now dynamically switch an item's type at will (e.g. from a color selector item to a dynamic text dialog item and back again!) Very useful!
A new nxPropertyBox demo (demo 2) shows all of this working and uses my MenuColorPicker class (included with the demo) to good effect. The result is a custom color item which does exactly as described above (switching from a textual display to a colored image one)! By not 'hard coding' the MenuColorPicker class into Nexus we are of course free to use just about any type of dialog going and to switch items between all the various types.

This control has undergone another quite major update in the Purebasic 4.3 version (the version of Nexus for PB 4.2 is no longer supported). This has again been driven by my use of this control in a very large application.
Basically, I needed a way of allowing some 'color selector' items of offering a 'default color' option and of thus being able to display colors as well as text (i.e. display a selected color or a string simply saying "Default color" etc.)
This was of course not possible for two reasons; i) the propertybox color selector items could not display text and, more importantly, ii) the Windows color common dialog has no option for a 'default color'.
This has been addressed (indirectly) by making a number of internal alterations to the nxPropertyBox control, most notably the addition of a new callback message : #nxPropertyBox_SelectorItemInvoked. This fires whenever the user attempts to invoke any of the selector items and allows the user to replace the resulting requester with a custom one. In addition, you can now dynamically switch an item's type at will (e.g. from a color selector item to a dynamic text dialog item and back again!) Very useful!
A new nxPropertyBox demo (demo 2) shows all of this working and uses my MenuColorPicker class (included with the demo) to good effect. The result is a custom color item which does exactly as described above (switching from a textual display to a colored image one)! By not 'hard coding' the MenuColorPicker class into Nexus we are of course free to use just about any type of dialog going and to switch items between all the various types.
I may look like a mule, but I'm not a complete ass.
PtInRect_() error on nxTreeField.pbi
Hi Srod,
I'm working now on new project with PB 4.30 that use Nexus with NxTreeField
if Im Include the nxGadgets.pbi, then appair a error on the NxtreeField.pbi
Line 916:PtInRect_(): Incorrect number of Parameters.
any idea?
Thanks
jpd
I'm working now on new project with PB 4.30 that use Nexus with NxTreeField
if Im Include the nxGadgets.pbi, then appair a error on the NxtreeField.pbi
Line 916:PtInRect_(): Incorrect number of Parameters.
any idea?
Thanks
jpd
PB 5.10 Windows 7 x64 SP1
-
gnozal
- PureBasic Expert

- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PtInRect_() error on nxTreeField.pbi
I believe you have to use a quad with PB4.30jpd wrote:Line 916:PtInRect_(): Incorrect number of Parameters.
any idea?
http://www.purebasic.fr/english/viewtopic.php?t=34860
http://www.purebasic.fr/english/viewtopic.php?t=35443
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
