how do i edit files in "purebasic" in "compare files"
Search found 7 matches
- Wed Apr 23, 2025 5:55 pm
- Forum: Bugs - IDE
- Topic: [Done] Compare Files/Folders - Only first digit of linenumber shown
- Replies: 6
- Views: 3206
Re: Compare Files/Folders - Only first digit of linenumber shown
- Wed Apr 02, 2025 6:36 pm
- Forum: Coding Questions
- Topic: delay not working as expected
- Replies: 26
- Views: 961
Re: delay not working as expected
Just for clarification, with gadgets and windows, the windowtimer is the logical solution.
Managing a windowed application might be confusing at first for someone new. It needs some experimenting and testing (with failures) to get some understanding before it starts to work. Small examles included ...
- Wed Apr 02, 2025 5:03 pm
- Forum: Coding Questions
- Topic: delay not working as expected
- Replies: 26
- Views: 961
Re: delay not working as expected
there is not a single 'WindowEvent()' in any of the code suggestions.
- Tue Apr 01, 2025 10:31 pm
- Forum: Coding Questions
- Topic: delay not working as expected
- Replies: 26
- Views: 961
Re: delay not working as expected
doesn't work, no circles get drawn:
s=0
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
End
Case #PB_Event_Timer
Select EventTimer()
Case 0
If StartDrawing(CanvasOutput(0))
Circle(Random(1000),Random(600),50,RGB(0,Random(255),Random(255)))
StopDrawing()
EndIf
EndSelect ...
s=0
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
End
Case #PB_Event_Timer
Select EventTimer()
Case 0
If StartDrawing(CanvasOutput(0))
Circle(Random(1000),Random(600),50,RGB(0,Random(255),Random(255)))
StopDrawing()
EndIf
EndSelect ...
- Tue Apr 01, 2025 6:51 pm
- Forum: Coding Questions
- Topic: delay not working as expected
- Replies: 26
- Views: 961
Re: delay not working as expected
so, delay is broken and PD doesn't have a timer command?
- Tue Apr 01, 2025 6:45 pm
- Forum: Coding Questions
- Topic: delay not working as expected
- Replies: 26
- Views: 961
Re: delay not working as expected
already tried that. same result.
- Tue Apr 01, 2025 6:36 pm
- Forum: Coding Questions
- Topic: delay not working as expected
- Replies: 26
- Views: 961
delay not working as expected
i expected the 2 sec delay to happen between drawing circles.
instead it pauses 2 sec before window opens and draws both circles. what did i do wrong?
OpenWindow(0, 200, 100, 1000, 600, " timer test")
CreateImage(0, DesktopScaledX(1000), DesktopScaledY(600))
ImageGadget(0, 0, 0, 0, 0, ImageID(0 ...
instead it pauses 2 sec before window opens and draws both circles. what did i do wrong?
OpenWindow(0, 200, 100, 1000, 600, " timer test")
CreateImage(0, DesktopScaledX(1000), DesktopScaledY(600))
ImageGadget(0, 0, 0, 0, 0, ImageID(0 ...