| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 33 online users. » 1 Member(s) | 29 Guest(s) Google, Baidu, Bing, WarrenFeems
|
| Latest Threads |
ListView issues by use LD...
Forum: Extensions
Last Post: martmen
06-11-2026, 09:46 AM
» Replies: 6
» Views: 236
|
I think that no more Smal...
Forum: Discussion
Last Post: eddylo
04-24-2026, 12:54 AM
» Replies: 2
» Views: 397
|
D'ont read a file
Forum: Standard Small Basic
Last Post: WhTurner
04-12-2026, 03:39 PM
» Replies: 1
» Views: 132
|
close a file
Forum: Standard Small Basic
Last Post: francesco
04-12-2026, 08:59 AM
» Replies: 2
» Views: 211
|
random in a array
Forum: Standard Small Basic
Last Post: francesco
04-05-2026, 06:40 PM
» Replies: 4
» Views: 393
|
Sqlite Version
Forum: Extensions
Last Post: Lester
03-24-2026, 06:58 PM
» Replies: 3
» Views: 322
|
Small Basic Explorer with...
Forum: Challenges
Last Post: martmen
03-17-2026, 03:48 PM
» Replies: 0
» Views: 155
|
Example Program
Forum: Extensions
Last Post: martmen
03-13-2026, 04:15 PM
» Replies: 0
» Views: 161
|
BASIC Jam 7 is in progres...
Forum: Discussion
Last Post: eddylo
03-11-2026, 12:40 AM
» Replies: 3
» Views: 438
|
LitDev extension
Forum: Extensions
Last Post: martmen
02-24-2026, 07:20 AM
» Replies: 2
» Views: 373
|
|
|
| working with two windows |
|
Posted by: martmen - 06-07-2025, 08:42 AM - Forum: Extensions
- Replies (1)
|
 |
Hello LitDev,
when working with two windows, the current window must be activated. In the first window, I create controls, such as a text shape. In the second window, I create a ListView. The second window is the active window. Can I simply change the text of the text shape, or do I need to activate the first window first?
The question is: when does a window need to be activated?
I’m looking forward to the answer.
Best regards,
Martin
|
|
|
| Error by LDGraphicsWindow.FloodFill |
|
Posted by: martmen - 06-07-2025, 08:31 AM - Forum: Extensions
- Replies (1)
|
 |
Hello LitDev,
In the program MJPH297.000, the command
Code: LDGraphicsWindow.FloodFill(HGWW, HGWH, "Yellow")
is executed incorrectly. It does not fill the rectangle in the center of the window. Could you please correct this?
Thank you,
Martin
Translated by Capilot
|
|
|
| Small Basic super slow ?? |
|
Posted by: Elzaimer - 06-04-2025, 08:39 PM - Forum: Standard Small Basic
- Replies (27)
|
 |
Hello everybody,
I found this QBASIC program on Facebook :
DIM SHARED pi, r, t, u, v, x
DIM i AS INTEGER, j AS INTEGER
DIM px AS INTEGER, py AS INTEGER
DIM rr AS INTEGER, gg AS INTEGER, bb AS INTEGER
SCREEN 12
RANDOMIZE TIMER
pi = 4 * ATN(1)
r = 2 * pi / 235
t = 4 * RND
x = 0: u = 0: v = 0
CLS
FOR i = 0 TO 249
FOR j = 0 TO 249
u = SIN(i + v) + SIN(r * i + x)
v = COS(i + v) + COS(r * i + x)
x = u + t
px = INT(320 + 108 * u)
py = INT(240 + 108 * v)
IF px >= 0 AND px < 640 AND py >= 0 AND py < 480 THEN
rr = (i * 3) MOD 256
gg = (j * 3) MOD 256
bb = (255 - (i + j) \ 2) MOD 256
LINE (px, py)-(px + 1, py + 1), _RGB(rr, gg, bb), BF
END IF
NEXT j
NEXT i
SLEEP
I tried it on https://qbjs.org/ and as it was nice I converted it to Small Basic (PSGZ709.000) to compare the performances.
The difference is incredible : 6 seconds on SB and less than a second on QBJS.
Somebone has an explanation ? is my convertion bad ? is there a way to get better performances ? Would Svb be faster ?
|
|
|
| Request for command extension LitDev |
|
Posted by: martmen - 05-27-2025, 06:12 AM - Forum: Extensions
- Replies (2)
|
 |
Hello LitDev,
could you please create a command that generates the contents of the current window as a PDF?
It should also be possible to save it afterward.
Thank you very much for your great extension.
Best regards,
Martin
|
|
|
| ZS DIALOG ERROR |
|
Posted by: martmen - 05-19-2025, 10:03 PM - Forum: Extensions
- Replies (4)
|
 |
Hallo ZS,
Ich habe ZSDialog.ShowColorDialog() mit HWHS868.000 getestet. Warum wird das Dialogfeld hinter dem Fenster angezeigt? Können Sie den Dialog in den Vordergrund bringen? Tritt dieses Problem bei allen Dialogfeldern auf?
Alles Gute
Martin
P.S. Gebe ich den Text in englisch ein, wird er sofort ins deutsche übersetzt
|
|
|
| The OpenSB Project - reusable Small Basic code |
|
Posted by: sm4llprogrammer2008 - 05-17-2025, 12:58 AM - Forum: Discussion
- Replies (8)
|
 |
OpenSB.
Freedom. For. Beginners
I'm aiming for a project where any SB programmer, even beginners, can share snippets that each other can use.
But honestly, to address copyright problems, add this line before reusing a snippet (replace [username] w/ the username of the creator of the snippet):
Code: 'This code was shared and copied from [username]. Brought from OpenSB.
OpenSB project
|
|
|
|