Search found 5 matches

by alban
Tue May 20, 2008 9:50 pm
Forum: Coding Questions
Topic: Is there a way to increase the 10,000 gadget limit?
Replies: 17
Views: 2765

Thanks very much everyone for your help; that makes sense Freak, I assumed that the debugger warning was a fatal message when I encountered it in a real program that I was debugging, and I did some work to pair things down to fit into that limit.
I am using GadgetEvent() Sparkie its just that at the ...
by alban
Tue May 20, 2008 8:52 pm
Forum: Coding Questions
Topic: Is there a way to increase the 10,000 gadget limit?
Replies: 17
Views: 2765

No it is a purebasic compiler limit
The purebasic compiler displays an error message when you use a gadgetID greater than 10,000.
To see it do this:-

;
If OpenWindow(0, 0, 0, 230, 90, "Event handling example...", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)

If CreateGadgetList(WindowID(0 ...
by alban
Tue May 20, 2008 8:37 pm
Forum: Coding Questions
Topic: Fast way to 'plain text' rich text?
Replies: 7
Views: 2406

Plain text RTF

In case this helps:
I have some Base64 encoded RTF files that I display as plain text in Linux edit views.
With my particular files I am getting away on Linux with eating the markup based on the fact that it seems to start with a \ and end with a space.
Once you have eaten everything between \ and ...
by alban
Tue May 20, 2008 8:19 pm
Forum: Coding Questions
Topic: Is there a way to increase the 10,000 gadget limit?
Replies: 17
Views: 2765

Is there a way to increase the 10,000 gadget limit?

Is there a way to increase the 10,000 gadget limit?

To explain: Its not that I have 10,000 actual gadgets, but I do have an application where I would like to use the gadget numbers sparsely to find the gadget that someone has clicked on. In the application I display a number of tabs with a scroll ...
by alban
Tue May 20, 2008 7:54 pm
Forum: Feature Requests and Wishlists
Topic: Feature TreeGadget items
Replies: 2
Views: 1186

Feature TreeGadget items

Feature request for the value from AddGadgetItem to return the item value from a tree.

value = AddGadgetItem(#myTree, -1, Text$, 0, CurrentSublevel)

It would be nice if the value returned was the item number of the item just created.
Alternatively some other way of fetching the value of the last ...