VisualFBEditor - IDE for FreeBasic

User projects written in or related to FreeBASIC.
Post Reply
hungnguyengia
Posts: 65
Joined: Jul 01, 2021 7:53

Re: VisualFBEditor - IDE for FreeBasic

Post by hungnguyengia »

Now I know the key to this problem is. I set my DPI to be 120 instead of 96. Other applications happily follow my setting but your application being self-hosted (you have your own gui library and draw your own widgets) has trouble to adapt to it. Maybe you have never thought about this before so you don't have the code handle it in your gui library yet. It's the difficulty for someone doing everything from scratch. I understand.

IUP may have already accounted this scenario so it worked fine.

Image
Xusinboy Bekchanov
Posts: 789
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

hungnguyengia wrote:Now I know the key to this problem is. I set my DPI to be 120 instead of 96. Other applications happily follow my setting but your application being self-hosted (you have your own gui library and draw your own widgets) has trouble to adapt to it. Maybe you have never thought about this before so you don't have the code handle it in your gui library yet. It's the difficulty for someone doing everything from scratch. I understand.
This fixed:
https://github.com/XusinboyBekchanov/My ... e909ec3b12
hungnguyengia
Posts: 65
Joined: Jul 01, 2021 7:53

Re: VisualFBEditor - IDE for FreeBasic

Post by hungnguyengia »

Xusinboy Bekchanov wrote:
hungnguyengia wrote:Now I know the key to this problem is. I set my DPI to be 120 instead of 96. Other applications happily follow my setting but your application being self-hosted (you have your own gui library and draw your own widgets) has trouble to adapt to it. Maybe you have never thought about this before so you don't have the code handle it in your gui library yet. It's the difficulty for someone doing everything from scratch. I understand.
This fixed:
https://github.com/XusinboyBekchanov/My ... e909ec3b12
Seems I will have to build from source? No thanks. I will wait for the next release. On Linux it's seamless to deal with the cli but I don't want to deal with the cli on Windows at all.
Xusinboy Bekchanov
Posts: 789
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

Added new version:
Version 1.2.9 (July 14, 2021)
- Fixed: Show windows on DPI sets
- Added: Polish language
- Fixed: Showing lines in Code Editor
- Fixed: IDE on exists command line not shows New Project dialog
- Fixed: COMWrapperBuilder
- Fixed: mff dll path on Load Toolbox
- Fixed: Open Command Prompt, if main file is empty
hungnguyengia wrote: Seems I will have to build from source? No thanks. I will wait for the next release. On Linux it's seamless to deal with the cli but I don't want to deal with the cli on Windows at all.
I made a release.
hungnguyengia
Posts: 65
Joined: Jul 01, 2021 7:53

Re: VisualFBEditor - IDE for FreeBasic

Post by hungnguyengia »

Confirm fixed.
Xusinboy Bekchanov
Posts: 789
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

hungnguyengia wrote:Confirm fixed.
Thanks for confirm.
LaurieA
Posts: 1
Joined: Jul 09, 2020 8:07

Re: VisualFBEditor - IDE for FreeBasic

Post by LaurieA »

I have it running on WIN 10 PRO but no idea how to use it, any docs?
Xusinboy Bekchanov
Posts: 789
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

LaurieA wrote:I have it running on WIN 10 PRO but no idea how to use it, any docs?
Unfortunately, there is no documentation yet.
But it should be clear, because the IDE works like all other IDEs.
hungnguyengia
Posts: 65
Joined: Jul 01, 2021 7:53

Re: VisualFBEditor - IDE for FreeBasic

Post by hungnguyengia »

build.sh

#!/bin/sh

# comment out _USE_GTK3_ on VisualFBEditor.bas and mff.bi

cd src

fbc "VisualFBEditor.bas" -x "../VisualFBEditor64_gtk2" -i ../MyFbFramework

cd ../MyFbFramework/mff

fbc -b "mff.bi" -dll -x "../libmff64_gtk2.so"
Xusinboy Bekchanov
Posts: 789
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

I can't run it to the end

Shows an error:
get.sh: 5: cd: can't cd to VisualFBEditor
But the VisualFBEditor folder is created.
hungnguyengia
Posts: 65
Joined: Jul 01, 2021 7:53

Re: VisualFBEditor - IDE for FreeBasic

Post by hungnguyengia »

Xusinboy Bekchanov wrote:I can't run it to the end

Shows an error:
get.sh: 5: cd: can't cd to VisualFBEditor
But the VisualFBEditor folder is created.
Don't know. This script worked for me. BTW, the build.sh script must be put into the VisualFBEditor directory.
hungnguyengia
Posts: 65
Joined: Jul 01, 2021 7:53

Re: VisualFBEditor - IDE for FreeBasic

Post by hungnguyengia »

You could try changing cd VisualFBEditor to cd ./VisualFBEditor and let me know if it works.
Xusinboy Bekchanov
Posts: 789
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

hungnguyengia wrote:You could try changing cd VisualFBEditor to cd ./VisualFBEditor and let me know if it works.
No, it does not work
hungnguyengia
Posts: 65
Joined: Jul 01, 2021 7:53

Re: VisualFBEditor - IDE for FreeBasic

Post by hungnguyengia »

Xusinboy Bekchanov wrote:
hungnguyengia wrote:You could try changing cd VisualFBEditor to cd ./VisualFBEditor and let me know if it works.
No, it does not work
I have no idea. Sorry. I use these scripts myself and just wanted to share.
Post Reply