VBAndCs / sVB-Small-Visual-Basic

Small Visual Basic (sVB) is an educational programming language, created by Eng. Mohammad Hamdy as an evolved version of Microsoft Small Basic (SB). It is meant to be easier and more powerful at the same time, to introduce programming basics to kids and beginners of any age, provided that they can use the English keyboard on the Windows OS.
Other
233 stars 16 forks source link

Sometimes Can't set GraphicsWindow.BrushColor #73

Closed dynamicboy closed 4 months ago

dynamicboy commented 4 months ago

version: sVB 3.0.7.6 details: Sometimes Can't set GraphicsWindow.BrushColor

2024-07-09_180230

I use a label , it's background color to represent user's color choice, but sometimes i can't set it's backcolor to graphicswindow.brushcolor.

VBAndCs commented 4 months ago

You code works fine on my PC. Please provide detailed steps to produce this error. You may also attach the whole project as a zip file by dropping it on the replay box here.


From: dynamicboy @.> Sent: Tuesday, July 9, 2024 10:07 AM To: VBAndCs/sVB-Small-Visual-Basic @.> Cc: Subscribed @.***> Subject: [VBAndCs/sVB-Small-Visual-Basic] Sometimes Can't set GraphicsWindow.BrushColor (Issue #73)

version: sVB 3.0.7.6 details: Sometimes Can't set GraphicsWindow.BrushColor

2024-07-09_180230.png (view on web)https://github.com/VBAndCs/sVB-Small-Visual-Basic/assets/7421525/50e3b945-26c1-45de-b9c6-890be0388eb9

I use a label , it's background color to represent user's color choice, but sometimes i can't set it's backcolor to graphicswindow.brushcolor.

— Reply to this email directly, view it on GitHubhttps://github.com/VBAndCs/sVB-Small-Visual-Basic/issues/73, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQ5MVQ6R7O4TCRKZ7PKUW3ZLOY6PAVCNFSM6AAAAABKSQ35SCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TONZUGUYDGNI. You are receiving this because you are subscribed to this thread.Message ID: @.***>

VBAndCs commented 4 months ago

I am waiting for more details so I can fix this issue before publishing a new update.


From: dynamicboy @.> Sent: Tuesday, July 9, 2024 10:07 AM To: VBAndCs/sVB-Small-Visual-Basic @.> Cc: Subscribed @.***> Subject: [VBAndCs/sVB-Small-Visual-Basic] Sometimes Can't set GraphicsWindow.BrushColor (Issue #73)

version: sVB 3.0.7.6 details: Sometimes Can't set GraphicsWindow.BrushColor

2024-07-09_180230.png (view on web)https://github.com/VBAndCs/sVB-Small-Visual-Basic/assets/7421525/50e3b945-26c1-45de-b9c6-890be0388eb9

I use a label , it's background color to represent user's color choice, but sometimes i can't set it's backcolor to graphicswindow.brushcolor.

— Reply to this email directly, view it on GitHubhttps://github.com/VBAndCs/sVB-Small-Visual-Basic/issues/73, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQ5MVQ6R7O4TCRKZ7PKUW3ZLOY6PAVCNFSM6AAAAABKSQ35SCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TONZUGUYDGNI. You are receiving this because you are subscribed to this thread.Message ID: @.***>

dynamicboy commented 4 months ago

字幕截图生成器.zip

I apologize for the delay. My GitHub connection is unstable, and other work tasks have been occupying my time. This is a fake movie screenshot creater with customizable subtitles for entertainment purposes. In debug mode, the error I mentioned earlier may occur after selecting a color.

dynamicboy commented 4 months ago

2024-07-14_165120 screenshot with English explanation.

dynamicboy commented 4 months ago

GBLib.zip My small library for the project.

VBAndCs commented 4 months ago

This lib can't help me. I want the sample code that caused the error so I can know what is happening.


From: dynamicboy @.> Sent: Sunday, July 14, 2024 9:17 AM To: VBAndCs/sVB-Small-Visual-Basic @.> Cc: Mohammad Hamdy Ghanem @.>; Comment @.> Subject: Re: [VBAndCs/sVB-Small-Visual-Basic] Sometimes Can't set GraphicsWindow.BrushColor (Issue #73)

GBLib.ziphttps://github.com/user-attachments/files/16216261/GBLib.zip My small library for the project.

— Reply to this email directly, view it on GitHubhttps://github.com/VBAndCs/sVB-Small-Visual-Basic/issues/73#issuecomment-2227277367, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQ5MVWRYM6WGZFIIKGDI53ZMI6ZXAVCNFSM6AAAAABKSQ35SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGI3TOMZWG4. You are receiving this because you commented.Message ID: @.***>

dynamicboy commented 4 months ago

The whole project is in "字幕截图生成器.zip" file. The sample code that throw error is in file Form1.sb, line number is 119.

VBAndCs commented 4 months ago

There is no Form1.sb in the zip file. You sent only the bin folder that contains an exe file and some dlls


From: dynamicboy @.> Sent: Sunday, July 14, 2024 2:37 PM To: VBAndCs/sVB-Small-Visual-Basic @.> Cc: Mohammad Hamdy Ghanem @.>; Comment @.> Subject: Re: [VBAndCs/sVB-Small-Visual-Basic] Sometimes Can't set GraphicsWindow.BrushColor (Issue #73)

The whole project is in "字幕截图生成器.ziphttps://github.com/user-attachments/files/16216142/default.zip" file. The sample code that throw error is in file Form1.sb, line number is 119.

― Reply to this email directly, view it on GitHubhttps://github.com/VBAndCs/sVB-Small-Visual-Basic/issues/73#issuecomment-2227371641, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQ5MVXFMMEIUSQGHPFL7QDZMKEKFAVCNFSM6AAAAABKSQ35SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGM3TCNRUGE. You are receiving this because you commented.Message ID: @.***>

dynamicboy commented 4 months ago

The whole project is indeed in "字幕截图生成器.zip" file. The sample code that throw error is in file Form1.sb, line number is 119.

To run this project, you may need add my little libraries for sVB. They are GBImage.dll, GBLibrary.dll and sVB project GBLib which is in GBLib.zip file.

VBAndCs commented 4 months ago

Sorry! I didn't pay attention to the Chinese file. I've fixed the bug. You can try the fix in the sVB 3.0.7.8: https://marketplace.visualstudio.com/items?itemName=ModernVBNET.sVBInstaller If everything is OK, then [lease close this issue. Thanks


From: dynamicboy @.> Sent: Monday, July 15, 2024 3:19 PM To: VBAndCs/sVB-Small-Visual-Basic @.> Cc: Mohammad Hamdy Ghanem @.>; Comment @.> Subject: Re: [VBAndCs/sVB-Small-Visual-Basic] Sometimes Can't set GraphicsWindow.BrushColor (Issue #73)

The whole project is indeed in "字幕截图生成器.ziphttps://github.com/user-attachments/files/16216142/default.zip" file. The sample code that throw error is in file Form1.sb, line number is 119.

To run this project, you may need add my little libraries for sVB. They are GBImage.dll, GBLibrary.dll and sVB project GBLib which is in GBLib.ziphttps://github.com/user-attachments/files/16216261/GBLib.zip file.

― Reply to this email directly, view it on GitHubhttps://github.com/VBAndCs/sVB-Small-Visual-Basic/issues/73#issuecomment-2228759473, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQ5MVWKNYDQJZKGOKNHGCTZMPSB5AVCNFSM6AAAAABKSQ35SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYG42TSNBXGM. You are receiving this because you commented.Message ID: @.***>