VisualFBEditor - IDE for FreeBasic
Re: VisualFBEditor - IDE for FreeBasic
@Tolo68: I moved your posts here as it is more appropriate.
Re: VisualFBEditor - IDE for FreeBasic
Hi Xusinboy:
The file name change made here
https://github.com/XusinboyBekchanov/Vi ... 6152b162ae
broke the Linux access to Help.
The name of the file located here
https://github.com/XusinboyBekchanov/Vi ... 0the%20Day
must be "english.tip", all lower case.
The file name change made here
https://github.com/XusinboyBekchanov/Vi ... 6152b162ae
broke the Linux access to Help.
The name of the file located here
https://github.com/XusinboyBekchanov/Vi ... 0the%20Day
must be "english.tip", all lower case.
-
- Posts: 789
- Joined: Jul 26, 2018 18:28
Re: VisualFBEditor - IDE for FreeBasic
Re: VisualFBEditor - IDE for FreeBasic
Hello to all the forum.
Among all the Visual FreeBasic IDEs I've tried, I think I'll stick with VisualFBEditor.
On Visual Basic 6.0 y Express(Net), and I think that in other IDEs, when we double click inside the Form
https://imgbb.com/Lr2qMvC
the code window opens.
https://ibb.co/SXJVCNJ
But if we want to return to the visual editor again, we go to the project explorer, and by double clicking on the form, (red rectangle from the previous image) we return to the visual design window.
On VisualFBEditor, You have to go to the menu "View -> Form" or "View -> Code and Form"
I think it would be nice to be able to go to the visual editor of the Form, just by double-clicking on the project browser.
https://ibb.co/dBHqbBT
It's just a suggestion....
Then another thing, if I have a project with 2 Forms, for example Form1 (as main) and Form2, how do I open Form2, from Form1 with a button, such as in VB6.
Private Sub Command1_Click() ' ' Button in Form1
Form2.show
End Sub
Thank you very much and greetings to all !!!!!
Among all the Visual FreeBasic IDEs I've tried, I think I'll stick with VisualFBEditor.
On Visual Basic 6.0 y Express(Net), and I think that in other IDEs, when we double click inside the Form
https://imgbb.com/Lr2qMvC
the code window opens.
https://ibb.co/SXJVCNJ
But if we want to return to the visual editor again, we go to the project explorer, and by double clicking on the form, (red rectangle from the previous image) we return to the visual design window.
On VisualFBEditor, You have to go to the menu "View -> Form" or "View -> Code and Form"
I think it would be nice to be able to go to the visual editor of the Form, just by double-clicking on the project browser.
https://ibb.co/dBHqbBT
It's just a suggestion....
Then another thing, if I have a project with 2 Forms, for example Form1 (as main) and Form2, how do I open Form2, from Form1 with a button, such as in VB6.
Private Sub Command1_Click() ' ' Button in Form1
Form2.show
End Sub
Thank you very much and greetings to all !!!!!
Last edited by Tolo68 on Apr 03, 2022 15:45, edited 1 time in total.
Re: VisualFBEditor - IDE for FreeBasic
That's awesome. So post the suggestions/questions here where they belong, not wherever you feel like it. This is the second time I had to move one of your posts related to VisualFBEditor...
Re: VisualFBEditor - IDE for FreeBasic
Excuse me
is that when I search, VisualFBEditor in the forum enters me here.
could you tell me where I should put them, in which section???
Thank you very much, regards
-
- Posts: 789
- Joined: Jul 26, 2018 18:28
Re: VisualFBEditor - IDE for FreeBasic
It turns out that in Windows XP the combobox at the top of the codes is not displayed. It needs to be corrected. There you can switch between Form/Code view. I will also implement your suggestion.Tolo68 wrote: ↑Apr 03, 2022 14:06 Hello to all the forum.
Among all the Visual FreeBasic IDEs I've tried, I think I'll stick with VisualFBEditor.
On Visual Basic 6.0 y Express(Net), and I think that in other IDEs, when we double click inside the Form
<a href="https://ibb.co/dBHqbBT"><img src="https://i.ibb.co/cJsHbJB/Visual-FB-Editor.jpg" alt="Visual-FB-Editor" border="0"></a>
<a href="https://ibb.co/SXJVCNJ"><img src="https://i.ibb.co/GvFCS7F/VB-Code-Editor.jpg" alt="VB-Code-Editor" border="0"></a>
<a href="https://ibb.co/Lr2qMvC"><img src="https://i.ibb.co/5kfzd25/VB-Form-Editor.jpg" alt="VB-Form-Editor" border="0"></a>
the code window opens.
But if we want to return to the visual editor again, we go to the project explorer, and by double clicking on the form, we return to the visual design window.
On VisualFBEditor, You have to go to the menu "View -> Form" or "View -> Code and Form"
I think it would be nice to be able to go to the visual editor of the Form, just by double-clicking on the project browser.
So you can run the second form:Tolo68 wrote: ↑Apr 03, 2022 14:06 It's just a suggestion....
Then another thing, if I have a project with 2 Forms, for example Form1 (as main) and Form2, how do I open Form2, from Form1 with a button, such as in VB6.
Private Sub Command1_Click() ' ' Button in Form1
Form2.show
End Sub
Thank you very much and greetings to all !!!!!
Code: Select all
#ifdef __FB_WIN32__
#cmdline "Form1.rc"
#endif
'#Region "Form"
#include once "mff/Form.bi"
#include once "mff/CommandButton.bi"
Using My.Sys.Forms
Type Form1Type Extends Form
Declare Static Sub CommandButton1_Click_(ByRef Sender As Control)
Declare Sub CommandButton1_Click(ByRef Sender As Control)
Declare Constructor
Dim As CommandButton CommandButton1
End Type
Constructor Form1Type
' Form1
With This
.Name = "Form1"
.Text = "Form1"
.SetBounds 0, 0, 350, 300
End With
' CommandButton1
With CommandButton1
.Name = "CommandButton1"
.Text = "CommandButton1"
.TabIndex = 0
.SetBounds 82, 186, 161, 33
.Designer = @This
.OnClick = @CommandButton1_Click_
.Parent = @This
End With
End Constructor
Private Sub Form1Type.CommandButton1_Click_(ByRef Sender As Control)
*Cast(Form1Type Ptr, Sender.Designer).CommandButton1_Click(Sender)
End Sub
Dim Shared Form1 As Form1Type
#ifndef _NOT_AUTORUN_FORMS_
#define _NOT_AUTORUN_FORMS_
Form1.Show
App.Run
#endif
'#End Region
#include once "Form2.frm"
Private Sub Form1Type.CommandButton1_Click(ByRef Sender As Control)
Form2.Show
End Sub
Re: VisualFBEditor - IDE for FreeBasic
Thank you very much Xusinboy !!!!
The only line I was missing was...
#include once "Form2.frm"
....Since I had put the rest, but I was already going crazy, because it gave me an error and I didn't know where it came from.
Every day I like this IDE more, but I have to learn these tricks.
I see that you use the MyFBFramework library, which if I'm not mistaken is from Nastasa Eodor, he has also helped me a lot with codes.
You are cracks !!!!
I can also run it on linux with Wine, and it works perfectly for me.
And you don't need modern Windows to run it, which is a big plus.
I see that in the SRC folder, there is a .poseidon file, I guess it is, because you must have developed it with the PoseidonFB IDE, which I have also used many times.
Greetings, have a good day!!!!
The only line I was missing was...
#include once "Form2.frm"
....Since I had put the rest, but I was already going crazy, because it gave me an error and I didn't know where it came from.
Every day I like this IDE more, but I have to learn these tricks.
I see that you use the MyFBFramework library, which if I'm not mistaken is from Nastasa Eodor, he has also helped me a lot with codes.
You are cracks !!!!
I can also run it on linux with Wine, and it works perfectly for me.
And you don't need modern Windows to run it, which is a big plus.
I see that in the SRC folder, there is a .poseidon file, I guess it is, because you must have developed it with the PoseidonFB IDE, which I have also used many times.
Greetings, have a good day!!!!
-
- Posts: 789
- Joined: Jul 26, 2018 18:28
Re: VisualFBEditor - IDE for FreeBasic
On Linux, you can also compile without Wine.
It's recently added, one user asked for help compiling this IDE with PoseidonFB. I myself always compile my programs with the VisualFBEditor IDE.
-
- Posts: 789
- Joined: Jul 26, 2018 18:28
Re: VisualFBEditor - IDE for FreeBasic
Improved: Double-clicking a form in Explorer opens the Visual Designer:Tolo68 wrote: ↑Apr 03, 2022 14:06 On Visual Basic 6.0 y Express(Net), and I think that in other IDEs, when we double click inside the Form
https://imgbb.com/Lr2qMvC
the code window opens.
https://ibb.co/SXJVCNJ
But if we want to return to the visual editor again, we go to the project explorer, and by double clicking on the form, (red rectangle from the previous image) we return to the visual design window.
On VisualFBEditor, You have to go to the menu "View -> Form" or "View -> Code and Form"
I think it would be nice to be able to go to the visual editor of the Form, just by double-clicking on the project browser.
https://ibb.co/dBHqbBT
It's just a suggestion....
https://github.com/XusinboyBekchanov/Vi ... 2d7786dd23
Re: VisualFBEditor - IDE for FreeBasic
[/quote]
Improved: Double-clicking a form in Explorer opens the Visual Designer:
https://github.com/XusinboyBekchanov/Vi ... 2d7786dd23
[/quote]
Hello Xusinboy.
Sorry to bother you.
I followed the steps indicated in the link above, save the .bas file, but the double click does not work.
Do I need to compile the IDE or some module??? , or is it enough to make the modification in the .bas and save it ???
Thank you very much!!!!!
Improved: Double-clicking a form in Explorer opens the Visual Designer:
https://github.com/XusinboyBekchanov/Vi ... 2d7786dd23
[/quote]
Hello Xusinboy.
Sorry to bother you.
I followed the steps indicated in the link above, save the .bas file, but the double click does not work.
Do I need to compile the IDE or some module??? , or is it enough to make the modification in the .bas and save it ???
Thank you very much!!!!!
-
- Posts: 789
- Joined: Jul 26, 2018 18:28
Re: VisualFBEditor - IDE for FreeBasic
You can download the latest version from github (not yet released version). And compile according to the manual as indicated here: https://github.com/XusinboyBekchanov/Vi ... /CompilingTolo68 wrote: ↑Apr 04, 2022 9:48I followed the steps indicated in the link above, save the .bas file, but the double click does not work.Improved: Double-clicking a form in Explorer opens the Visual Designer:
https://github.com/XusinboyBekchanov/Vi ... 2d7786dd23
Do I need to compile the IDE or some module??? , or is it enough to make the modification in the .bas and save it ???
Re: VisualFBEditor - IDE for FreeBasic
You can download the latest version from github (not yet released version). And compile according to the manual as indicated here: https://github.com/XusinboyBekchanov/Vi ... /Compiling
[/quote]
Hello XusinBoy!!!
I have followed these steps, and for a moment I was able to compile the IDE, but because of the mff paths and others, it gave me errors.
But at least, I could see in the Project Explorer, that when I clicked on Form1, to toggle between the code window and the visual window, it already worked!!!!
You are a genious!!!
Anyway, I'll wait for you to upload this version to GitHub, since you have more control over it, and what takes me hours to do, surely you will do in minutes.
At the moment I'm programming with your IDE.
Someday when I have time, I'll look at the source code, since I'd like to learn how it works.
By the way, I studied Electronics too, so if you need anything you can ask me, and if I know the subject I'll be happy to help you
Well, I wish you a happy day with FreeBasic !!!!!
[/quote]
Hello XusinBoy!!!
I have followed these steps, and for a moment I was able to compile the IDE, but because of the mff paths and others, it gave me errors.
But at least, I could see in the Project Explorer, that when I clicked on Form1, to toggle between the code window and the visual window, it already worked!!!!
You are a genious!!!
Anyway, I'll wait for you to upload this version to GitHub, since you have more control over it, and what takes me hours to do, surely you will do in minutes.
At the moment I'm programming with your IDE.
Someday when I have time, I'll look at the source code, since I'd like to learn how it works.
By the way, I studied Electronics too, so if you need anything you can ask me, and if I know the subject I'll be happy to help you
Well, I wish you a happy day with FreeBasic !!!!!
-
- Posts: 789
- Joined: Jul 26, 2018 18:28
Re: VisualFBEditor - IDE for FreeBasic
Tomorrow I'll see maybe I make another release for you.
This is welcome.
Right now I have no interest yet, but thanks for the offer of help.