I saw that there was a Github on the project and I tried to understand how it worked to try to improve it, but in fact I understand nothing...
Search found 64 matches
- Tue Mar 28, 2023 11:19 am
- Forum: Announcement
- Topic: PB language support for Visual Studio Code
- Replies: 45
- Views: 45691
Re: PB language support for Visual Studio Code
It's really a shame that the project is at a standstill.
I saw that there was a Github on the project and I tried to understand how it worked to try to improve it, but in fact I understand nothing...

I saw that there was a Github on the project and I tried to understand how it worked to try to improve it, but in fact I understand nothing...
- Tue Jun 05, 2018 11:34 am
- Forum: 3D Programming
- Topic: PB5.70 Vehicle contact
- Replies: 7
- Views: 4119
Re: PB5.70 Vehicle contact
Hello,
For me it crash at line 183 : "ElapsedTime = RenderWorld()" , invalid access memory. (crash also without debugger)
For me it crash at line 183 : "ElapsedTime = RenderWorld()" , invalid access memory. (crash also without debugger)
- Fri Mar 09, 2018 10:21 pm
- Forum: Feature Requests and Wishlists
- Topic: PB 6.0 - ideas
- Replies: 82
- Views: 42119
Re: PB 6.0 - ideas
- Grid gadget more flexible than ListIcon for data entry.
- Improved debugging tools (Watchlist / Variables Viewer / Callstack / BreakPoints). A little less windows 98 style and more friendly user
- May be less new things but refinement of existing elements (Who said anything about a printer ...
- Improved debugging tools (Watchlist / Variables Viewer / Callstack / BreakPoints). A little less windows 98 style and more friendly user
- May be less new things but refinement of existing elements (Who said anything about a printer ...
- Mon Jan 29, 2018 12:40 pm
- Forum: Feature Requests and Wishlists
- Topic: #PB_EventType_MiddleDoubleClick for Canvas
- Replies: 1
- Views: 1296
#PB_EventType_MiddleDoubleClick for Canvas
Hello,
Is it possible to add this EventType ?
Thanks
Is it possible to add this EventType ?
Thanks
- Tue Jan 23, 2018 12:56 pm
- Forum: Feature Requests and Wishlists
- Topic: Printer List Enhancements
- Replies: 6
- Views: 3914
Re: Printer List Enhancements
yes, a VERY GOOD request !... Who will be present in the next version (I dream
)
- Tue Mar 14, 2017 12:46 pm
- Forum: Coding Questions
- Topic: Zoom an vector drawn image
- Replies: 21
- Views: 9078
Re: Zoom an vector drawn image
As the Zoom is sensitive to the position of the mouse, at each iteration of the wheel, I retain the previous coordinates,
Mouse \ x_PrW = Mouse \ x_Wld
Mouse \ y_PrW = Mouse \ y_Wld
Then I store the new coordinates of the mouse on the canvas, which I convert into coordinates "of the world"
Mouse ...
Mouse \ x_PrW = Mouse \ x_Wld
Mouse \ y_PrW = Mouse \ y_Wld
Then I store the new coordinates of the mouse on the canvas, which I convert into coordinates "of the world"
Mouse ...
- Tue Mar 14, 2017 10:54 am
- Forum: Coding Questions
- Topic: Zoom an vector drawn image
- Replies: 21
- Views: 9078
Re: Zoom an vector drawn image
May be that this code could help you ?
EnableExplicit
Declare Ev_MouseMove()
Declare Ev_Repaint()
Declare Ev_MousePan()
Declare Ev_MouseWheel()
Global.i Event
Global.d x_PosOrigin, y_PosOrigin, Zoom, Zoom_Factor, y_WscreenSize, x_WscreenSize
Zoom_Factor = 1.10 : Zoom = 1.0
;{ Evènements ...
EnableExplicit
Declare Ev_MouseMove()
Declare Ev_Repaint()
Declare Ev_MousePan()
Declare Ev_MouseWheel()
Global.i Event
Global.d x_PosOrigin, y_PosOrigin, Zoom, Zoom_Factor, y_WscreenSize, x_WscreenSize
Zoom_Factor = 1.10 : Zoom = 1.0
;{ Evènements ...
- Fri Mar 10, 2017 6:02 pm
- Forum: Tricks 'n' Tips
- Topic: Yet another non-binary tree
- Replies: 11
- Views: 5130
Re: Yet another non-binary tree
Yes I had not seen your modifications. Much simpler than my solution !
- Fri Mar 10, 2017 10:09 am
- Forum: Tricks 'n' Tips
- Topic: Yet another non-binary tree
- Replies: 11
- Views: 5130
Re: Yet another non-binary tree
This is a bit "brute force", but this version seems to work correctly (I had trouble for your neurons :mrgreen:):
EnableExplicit
;{ Tree 1.1 }
; 2017 (c) Luna Sole
Structure TreeNode
*Data ; pointer for user data
Parent$ ; internal, don't touch it
Name$ ; internal, don't edit too
Map ...
EnableExplicit
;{ Tree 1.1 }
; 2017 (c) Luna Sole
Structure TreeNode
*Data ; pointer for user data
Parent$ ; internal, don't touch it
Name$ ; internal, don't edit too
Map ...
- Thu Mar 09, 2017 7:59 pm
- Forum: Tricks 'n' Tips
- Topic: Yet another non-binary tree
- Replies: 11
- Views: 5130
Re: Yet another non-binary tree
You're right, recursion makes your brain smoke too much 
Envoyé de mon SM-G901F en utilisant Tapatalk
Envoyé de mon SM-G901F en utilisant Tapatalk
- Thu Mar 09, 2017 2:00 pm
- Forum: Tricks 'n' Tips
- Topic: Yet another non-binary tree
- Replies: 11
- Views: 5130
Re: Yet another non-binary tree
hello,
There is a bug with TreeDelete().
if you put a breakpoint on the last lineand and you look at the contents of the Map Tree (), "TestA" is still there. :wink:
EDIT : I added a test in TreeDelete and the code works.
; remove Name$ from parent child list
If DeleteAllChilds = #False ...
There is a bug with TreeDelete().
if you put a breakpoint on the last lineand and you look at the contents of the Map Tree (), "TestA" is still there. :wink:
EDIT : I added a test in TreeDelete and the code works.
; remove Name$ from parent child list
If DeleteAllChilds = #False ...
- Wed Mar 08, 2017 6:50 pm
- Forum: Tricks 'n' Tips
- Topic: Yet another non-binary tree
- Replies: 11
- Views: 5130
Re: Yet another non-binary tree
Clear, Simple and Useful ! Thanks
- Wed Feb 01, 2017 12:58 pm
- Forum: Feature Requests and Wishlists
- Topic: SetGadgetState for StringGadget
- Replies: 4
- Views: 2139
SetGadgetState for StringGadget
Hello,
Changing the state, on the fly, of a StringGadget would be helpful:
SetGadgetState(#StrGadget, #PB_ReadOnly)
SetGadgetState(#StrGadget, #PB_Writeable)
Changing the state, on the fly, of a StringGadget would be helpful:
SetGadgetState(#StrGadget, #PB_ReadOnly)
SetGadgetState(#StrGadget, #PB_Writeable)
- Tue Jan 31, 2017 10:02 am
- Forum: Feature Requests and Wishlists
- Topic: Column alignment in ListIconGadget
- Replies: 25
- Views: 11168
Re: Column alignment in ListIconGadget
Fred, It's time to go ! 
- Fri Jan 27, 2017 8:10 pm
- Forum: Announcement
- Topic: PureBasic 5.60 final is available !
- Replies: 145
- Views: 87535
Re: PureBasic 5.60 beta 1 is available
Many many tanks for all !
Envoyé de mon SM-G901F en utilisant Tapatalk
Envoyé de mon SM-G901F en utilisant Tapatalk