VisualFBEditor - IDE for FreeBasic

User projects written in or related to FreeBASIC.
Post Reply
fan2006
Posts: 32
Joined: Jun 07, 2020 3:05

Re: VisualFBEditor - IDE for FreeBasic

Post by fan2006 »

is there any plan to add a trayicon control to visualfbeditor? and this can also be used by the ide.
Xusinboy Bekchanov
Posts: 844
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

fan2006 wrote: Jan 11, 2025 3:39 is there any plan to add a trayicon control to visualfbeditor? and this can also be used by the ide.
Added: NotifyIcon component, Added: NotifyIcon example:
https://github.com/XusinboyBekchanov/My ... 7d4ae93ada
fan2006
Posts: 32
Joined: Jun 07, 2020 3:05

Re: VisualFBEditor - IDE for FreeBasic

Post by fan2006 »

Wow,awesome ! And thx for your effort at an impressive rate.
PeterHu
Posts: 218
Joined: Jul 24, 2022 4:57

Re: VisualFBEditor - IDE for FreeBasic

Post by PeterHu »

Xusinboy Bekchanov wrote: Jan 12, 2025 13:24
fan2006 wrote: Jan 11, 2025 3:39 is there any plan to add a trayicon control to visualfbeditor? and this can also be used by the ide.
Added: NotifyIcon component, Added: NotifyIcon example:
https://github.com/XusinboyBekchanov/My ... 7d4ae93ada
Thanks.
[Win10 64 bit,fbc 64 1.20.0 (2024-06-17)]
With the most recent git packages(both MyFbFramework & Visual FBEditor,as of today),MyFramework 32bit dll built successfully. but when I tried to build MyFbFramework 64bit dll ,it failed with below message:

Code: Select all

Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Too many errors, Exit
Xusinboy Bekchanov
Posts: 844
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

PeterHu wrote: Jan 13, 2025 2:24
Xusinboy Bekchanov wrote: Jan 12, 2025 13:24
fan2006 wrote: Jan 11, 2025 3:39 is there any plan to add a trayicon control to visualfbeditor? and this can also be used by the ide.
Added: NotifyIcon component, Added: NotifyIcon example:
https://github.com/XusinboyBekchanov/My ... 7d4ae93ada
Thanks.
[Win10 64 bit,fbc 64 1.20.0 (2024-06-17)]
With the most recent git packages(both MyFbFramework & Visual FBEditor,as of today),MyFramework 32bit dll built successfully. but when I tried to build MyFbFramework 64bit dll ,it failed with below message:

Code: Select all

Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Type mismatch, at parameter 1 (Style) of CHANGESTYLE()
Error: Too many errors, Exit
Fixed: NotifyIcon on 64-bit:
https://github.com/XusinboyBekchanov/My ... 8ff05d25a2

Thanks.
PeterHu
Posts: 218
Joined: Jul 24, 2022 4:57

Re: VisualFBEditor - IDE for FreeBasic

Post by PeterHu »

Thanks , the library built successfully,32 bit example built and run successfuly except the missing Chinese(Simplified).lng file.

but for 64 bit example,when trying to run,all msgbox() did not works,and the application quitted automatically.And also got below message from the console :

Code: Select all

E:\Learning\FreeBasic\VisualFBEditor-Nightly\Controls\MyFbFramework\examples\NotifyIcon>"notifyicon example"
Open file failure! in function Application.CurLanguage. File Name: E:\Learning\FreeBasic\VisualFBEditor-Nightly\Controls
\MyFbFramework\examples\NotifyIcon/Languages/Chinese (Simplified).lng

Aborting due to runtime error 12 ("segmentation violation" signal) in E:\Learning\FreeBasic\VisualFBEditor-Nightly\Contr
ols\MyFbFramework\mff\Control.bas::PROCESSMESSAGE()


Xusinboy Bekchanov
Posts: 844
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

PeterHu wrote: Jan 13, 2025 5:40 Thanks , the library built successfully,32 bit example built and run successfuly except the missing Chinese(Simplified).lng file.

but for 64 bit example,when trying to run,all msgbox() did not works,and the application quitted automatically.And also got below message from the console :

Code: Select all

E:\Learning\FreeBasic\VisualFBEditor-Nightly\Controls\MyFbFramework\examples\NotifyIcon>"notifyicon example"
Open file failure! in function Application.CurLanguage. File Name: E:\Learning\FreeBasic\VisualFBEditor-Nightly\Controls
\MyFbFramework\examples\NotifyIcon/Languages/Chinese (Simplified).lng

Aborting due to runtime error 12 ("segmentation violation" signal) in E:\Learning\FreeBasic\VisualFBEditor-Nightly\Contr
ols\MyFbFramework\mff\Control.bas::PROCESSMESSAGE()


Fixed: NotifyIcon when compiling with fbc 1.20 64-bit:
https://github.com/XusinboyBekchanov/My ... 3b48dc35f0

Thanks.
PeterHu
Posts: 218
Joined: Jul 24, 2022 4:57

Re: VisualFBEditor - IDE for FreeBasic

Post by PeterHu »

Thanks,it works.
UEZ
Posts: 1028
Joined: May 05, 2017 19:59
Location: Germany

Re: VisualFBEditor - IDE for FreeBasic

Post by UEZ »

It is possible to have only one instance running? E.g. when I select *.bas file "Open with -> Visual FB Editor" that the file is added in a new tab to current opened editor instead of opening a new instance.
Xusinboy Bekchanov
Posts: 844
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

UEZ wrote: Jan 16, 2025 9:23 It is possible to have only one instance running? E.g. when I select *.bas file "Open with -> Visual FB Editor" that the file is added in a new tab to current opened editor instead of opening a new instance.
Improved: When using 'Open with -> Visual FB Editor', the file is added as a new tab in the currently open editor instead of opening a new instance:
https://github.com/XusinboyBekchanov/Vi ... c803ce25f9
UEZ
Posts: 1028
Joined: May 05, 2017 19:59
Location: Germany

Re: VisualFBEditor - IDE for FreeBasic

Post by UEZ »

I compiled the IDE with your modifications but still same behavior - when I open in Windows Explorer with rmb Open With -> Visual FB Editor a new version will be opened in parallel instead of loading the *.bas file to current opened editor in a new tab.
Xusinboy Bekchanov
Posts: 844
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

UEZ wrote: Jan 16, 2025 19:10 I compiled the IDE with your modifications but still same behavior - when I open in Windows Explorer with rmb Open With -> Visual FB Editor a new version will be opened in parallel instead of loading the *.bas file to current opened editor in a new tab.
Fixed: Open With:
https://github.com/XusinboyBekchanov/Vi ... 3a5ee2bf20

But two instances should not be launched in parallel. First, the main window of the first instance should be created.
UEZ
Posts: 1028
Joined: May 05, 2017 19:59
Location: Germany

Re: VisualFBEditor - IDE for FreeBasic

Post by UEZ »

Thanks, looks good now. Does it make sense to bring to IDE window to front (top) after Open With action or if it is permanent assigned to Visual FB Editor by double click on a *.bas file?

I renamed the Frame.png file name because I don't want how see it. It would be good to have the option to display it or not, or even select any image...
Xusinboy Bekchanov
Posts: 844
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

UEZ wrote: Jan 17, 2025 7:49 Thanks, looks good now.
Thanks.
UEZ wrote: Jan 17, 2025 7:49 Does it make sense to bring to IDE window to front (top) after Open With action or if it is permanent assigned to Visual FB Editor by double click on a *.bas file?
Now the IDE window moves to the foreground when opening with and when double-clicking on a file (in my system, the option to always open with this application is checked).
UEZ wrote: Jan 17, 2025 7:49 I renamed the Frame.png file name because I don't want how see it. It would be good to have the option to display it or not, or even select any image...
In the settings there is an option Show Holiday Frame in the Code Editor item. You can use it or you can put another picture in the Frame.png file.
Xusinboy Bekchanov
Posts: 844
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

UEZ wrote: Jan 17, 2025 7:49 Does it make sense to bring to IDE window to front (top) after Open With action or if it is permanent assigned to Visual FB Editor by double click on a *.bas file?
Added: Set IDE window to foreground when opening file with "Open With":
https://github.com/XusinboyBekchanov/Vi ... 3950fd7286
Post Reply