VisualFBEditor - IDE for FreeBasic

User projects written in or related to FreeBASIC.
Luxan
Posts: 75
Joined: Feb 18, 2009 12:47
Location: New Zealand

Re: VisualFBEditor - IDE for FreeBasic

Postby Luxan » Apr 11, 2019 2:17

Okay , found that .

Is there anyway to increase the size of the font used in the menu and dialogs , perhaps the widget select
icons too .
Xusinboy Bekchanov
Posts: 72
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Postby Xusinboy Bekchanov » Apr 11, 2019 3:50

Luxan wrote: Is there anyway to increase the size of the font used in the menu and dialogs , perhaps the widget select
icons too .

The menu cannot accept a font other than OS, but you can set a font for widgets.
For the Windows version of IDE, you can select the Font property on the right panel, there is the Font Property, you can choose any size.
For the Linux version of the IDE, the "Properties" panel is still unfinished. But you can install the Font directly in the code in Constructor Form1 like this:

Code: Select all

    Constructor Form1
        ' Form1
        This.Name = "Form1"
        This.Text = "Form1"
        This.SetBounds 0, 0, 350, 300
        ' CheckBox1
        CheckBox1.Name = "CheckBox1"
        CheckBox1.Text = "CheckBox1"
        CheckBox1.SetBounds 96, 90, 120, 60
        CheckBox1.Font.Size = 10 ' Can print like this
        CheckBox1.Parent = @This
    End Constructor

For icons:

Code: Select all

    Constructor Form1
        ' Form1
        This.Name = "Form1"
        This.Text = "Form1"
        This.SetBounds 0, 0, 350, 300
        ' ImageBox1
        ImageBox1.Name = "ImageBox1"
        ImageBox1.Text = "ImageBox1"
        ImageBox1.Graphic.Bitmap.LoadFromFile("MyFbFramework/resources/Chart.bmp") ' This is for set Bitmap
        ' or
        ImageBox1.Graphic.Icon.LoadFromFile("resources/VisualFBEditor.ico") ' This is for set Icon
        ' or
        ImageBox1.Graphic.Bitmap = "MyFbFramework/resources/Chart.bmp" ' This is for set Bitmap
        ' or
        ImageBox1.Graphic.Icon = "resources/VisualFBEditor.ico" ' This is for set Icon
        ' or
        ImageBox1.Graphic.Bitmap = "MyBitmap" ' To do this, In Windows: Bitmap must connect to the Resource file (.rc): MyBitmap BITMAP DISCARDABLE "../resources/SomeBitmap.bmp". In Linux: MyBitmap.png (or .xpm, .svg) must be in the "../resources" folder.
        ' or
        ImageBox1.Graphic.Icon = "MyIcon" ' To do this, Icon must connect to the Resource file (.rc):  MyIcon ICON "../resources/SomeIcon.ico"
        ImageBox1.SetBounds 60, 168, 144, 66
        ImageBox1.Parent = @This
    End Constructor
Luxan
Posts: 75
Joined: Feb 18, 2009 12:47
Location: New Zealand

Re: VisualFBEditor - IDE for FreeBasic

Postby Luxan » Apr 11, 2019 4:43

Shall try that soon .

Meanwhile , whilst attempting to compile the VisualFBeditor from the src directory within the Geany IDE , these errors are listed :

/root/Downloads/VisualFBEditor.1.0.2.1723.7z.extracted/src/mff/Application.bi(538) error 181: Invalid assignment/conversion, at parameter 1

If TranslationString = "" Then Return ""

/root/Downloads/VisualFBEditor.1.0.2.1723.7z.extracted/src/mff/Application.bi(540) error 181: Invalid assignment/conversion, at parameter 1



fbc -g -s gui -x "VisualFBEditor" -exx




These are similar to what I get when I attempt to compile a form within VisualFBeditor64_gtk3 or VisualFBeditor64_gtk2.

I've installed gtk3 plus gtk3-dev files .
Xusinboy Bekchanov
Posts: 72
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Postby Xusinboy Bekchanov » Apr 11, 2019 5:00

Luxan wrote:Shall try that soon .

Meanwhile , whilst attempting to compile the VisualFBeditor from the src directory within the Geany IDE , these errors are listed :

/root/Downloads/VisualFBEditor.1.0.2.1723.7z.extracted/src/mff/Application.bi(538) error 181: Invalid assignment/conversion, at parameter 1

If TranslationString = "" Then Return ""

/root/Downloads/VisualFBEditor.1.0.2.1723.7z.extracted/src/mff/Application.bi(540) error 181: Invalid assignment/conversion, at parameter 1

fbc -g -s gui -x "VisualFBEditor" -exx

These are similar to what I get when I attempt to compile a form within VisualFBeditor64_gtk3 or VisualFBeditor64_gtk2.

I've installed gtk3 plus gtk3-dev files .

There is no Linux at hand now, so try compiling with the old version of fbс: 1.05.0
Xusinboy Bekchanov
Posts: 72
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Postby Xusinboy Bekchanov » Apr 11, 2019 5:49

Xusinboy Bekchanov wrote:But you can install the Font directly in the code in Constructor Form1 like this:

In Linux, setting the font to the control has not yet been completely done.
Xusinboy Bekchanov
Posts: 72
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Postby Xusinboy Bekchanov » Apr 11, 2019 17:25

Luxan wrote:Shall try that soon .
Meanwhile , whilst attempting to compile the VisualFBeditor from the src directory within the Geany IDE , these errors are listed :

It turns out that I deleted the word "Сonst" for a new version of the compiler (1.06.0): https://github.com/XusinboyBekchanov/My ... fd367bb3f3
Luxan
Posts: 75
Joined: Feb 18, 2009 12:47
Location: New Zealand

Re: VisualFBEditor - IDE for FreeBasic

Postby Luxan » Apr 16, 2019 0:56

What does this mean ?

I've been using 1.06 , and that's where these error messages appeared.
Is there no way to prepend ' const ' in the appropriate places and have this work with 1.06 .

Will your latest code work with 1.05 ; I have yet to try , shall inform you when I have .
Xusinboy Bekchanov
Posts: 72
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Postby Xusinboy Bekchanov » Apr 16, 2019 3:25

Luxan wrote:What does this mean ?

I've been using 1.06 , and that's where these error messages appeared.
Is there no way to prepend ' const ' in the appropriate places and have this work with 1.06 .

Will your latest code work with 1.05 ; I have yet to try , shall inform you when I have .

VisualFBEditor.1.0.2.1723 can be compiled with 1.05.0, then there will be no errors.
If you want to compile this version with 1.06.0, then you need to remove "const", because 1.06.0 accepts as an error if it is specified as "const string".
Within a few days I improved MyFbFramework and VisualFBEditor, now in the Linux version you can change the Font, and you can change the properties in the right Properties panel, and it will be possible to compile with 1.06.0 (not yet updated in the github).
It turns out that the menu also changes the font in Linux.
Luxan
Posts: 75
Joined: Feb 18, 2009 12:47
Location: New Zealand

Re: VisualFBEditor - IDE for FreeBasic

Postby Luxan » Apr 22, 2019 6:27

FB 1.05 doesn't work with your code either .

Next FB 1,06 , the version you suggested , and compile from source.

Perhaps a deb and / or rpm from you , to ease installation .
Xusinboy Bekchanov
Posts: 72
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Postby Xusinboy Bekchanov » Apr 22, 2019 8:25

Luxan wrote:FB 1.05 doesn't work with your code either .

I'll check it when I'm at home, because Linux is only in the home. Windows version asks only bitmap files. I added the bitmap files already in the github.

Luxan wrote: Next FB 1,06 , the version you suggested , and compile from source.

Sorry, did not understand.

Luxan wrote: Perhaps a deb and / or rpm from you , to ease installation .

I have never done deb / rpm packages, I’ll have to learn.
Luxan
Posts: 75
Joined: Feb 18, 2009 12:47
Location: New Zealand

Re: VisualFBEditor - IDE for FreeBasic

Postby Luxan » Apr 22, 2019 13:03

Okay I'm using Ubuntu Bionic , FreeBASIC 1.05 your designer version 1.7xxx ; or something .

The designer and Geany , my FB compiler , couldn't find libgtk-X11 .
I had to eventually reinstall libgtk2 .

Successfully constructed first form and *.sh ? , runs from file browser when clicked .

I'm encountering some problems with the designer.
In particular the form properties selector , on the right , doesn't display the complete text ; also there's
no apparent way to change the properties , for instance panel color or import an image.

Time for me to sleep , have another go sometime .
Xusinboy Bekchanov
Posts: 72
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Postby Xusinboy Bekchanov » Apr 22, 2019 22:18

Luxan wrote:Okay I'm using Ubuntu Bionic , FreeBASIC 1.05 your designer version 1.7xxx ; or something .

The designer and Geany , my FB compiler , couldn't find libgtk-X11 .
I had to eventually reinstall libgtk2 .

After this compilation was successful?
Luxan wrote: Successfully constructed first form and *.sh ? , runs from file browser when clicked .

It's good. I just do not understand "and *.sh?"
Luxan wrote: I'm encountering some problems with the designer.
In particular the form properties selector , on the right , doesn't display the complete text ; also there's
no apparent way to change the properties , for instance panel color or import an image.

Time for me to sleep , have another go sometime .

I updated the IDE today, try please.
The following changes in version 1.1.0:
For VisualFBEditor:
- Added Support Designing TabControl And TabPage
- Added Immediate window
- Added Procedure numbering
- Added Designer options
- Added Changing keywords
- Fixed Changing Properties panel (in Linux)

For MyFbFramework:
- Added: TreeListView Control
- Fixed: Setting Font Property of Controls (in Linux)
- and others.

Now all OS versions compiled with compiler version 1.06.0
Luxan
Posts: 75
Joined: Feb 18, 2009 12:47
Location: New Zealand

Re: VisualFBEditor - IDE for FreeBasic

Postby Luxan » Apr 22, 2019 23:08

Not a *.sh file , no file extension for the compiled source.
I'm able to compile using Geany or your designer .

Shall try your update , with FB 1.06 , eventually .
Xusinboy Bekchanov
Posts: 72
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Postby Xusinboy Bekchanov » Apr 23, 2019 1:24

Luxan wrote:Not a *.sh file , no file extension for the compiled source.
I'm able to compile using Geany or your designer .

Yes, in Linux executable files without extensions, and ".sh" in Linux is like a ".bat" in Windows.
nastasa eodor
Posts: 65
Joined: Dec 18, 2018 16:37
Location: Germany, Hessdorf
Contact:

Re: VisualFBEditor - IDE for FreeBasic

Postby nastasa eodor » Apr 26, 2019 13:57

Hello. I tell you before i tell you now...GREAT JOB...you are the man....i stop develop my IDE because of you, look very nice one and i am glad can help you with my gui kit and designer also...keep going boy...you will be the next FreeBasic star.
try that:
https://drive.google.com/file/d/1JfaQRv ... sp=sharing

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest