Wish Fast and Functional Interface

By-Cod3rs

Member
Licensed User
Dear Erel, we use B4a, it's much more convenient and fast. I will send a sample video of the size. Can we do the B4x in the same way? .
By the way, when I make B4A free, I am really satisfied and recommend it to my friends.

The B4a is not as user-friendly as the visual studio.
one click can switch to code and design screen.
It can be in one room on the whole page.
Double-clicking the button goes to the Section event.
You access all events from a single Window (you do not create a plug-in. (Click, long press)
I need to click Events automatically when I add a button. Why Private Button1 as Button
note: I want b4a to be popular. These are suggestions.

I added a sample video.






 
Last edited:

Sandman

Expert
Licensed User
Longtime User
Can we make B4x the same way?
I watched the video and have absolutely no idea what you mean. I think you might get better results if you made an actual effort to describe your wish in a concrete way rather than doing vague hand-waving in the direction of Microsoft Visual Studio.
 

Peter Simpson

Expert
Licensed User
Longtime User
Why HAHA?
Well this has been requested countless amount of times on the forum. I'm more than sure if there as a logical reason for Erel to add this to the designer he would have by now. But it is not exactly difficult to right click on the relevant view and then to click on generate to create the sub for you.
 

By-Cod3rs

Member
Licensed User
Why HAHA?
Well this has been requested countless amount of times on the forum. I'm more than sure if there as a logical reason for Erel to add this to the designer he would have by now. But it is not exactly difficult to right click on the relevant view and then to click on generate to create the sub for you.
why HAHA ?

If you are interested in 4-5 projects every week, at your pace.
In addition, every 1 click brings you 1 step closer to carpel tunnel disease.
programming and design is a different business.
Let Erel make the decision.
If it is desired to appeal to many people, it may be necessary to keep up with people's habits.
Most of the software makers use this IDE and they have habits.
mine is just a suggestion.
 

alwaysbusy

Expert
Licensed User
Longtime User
I can imagine there are things you like in the Visual Studio IDE (maybe because you are used to it), but I think Erel doesn't want to build a clone but instead an environment with its own identity. There is a lot in the B4X IDE I like that makes it a much better (and productive) IDE than most other cross platform IDEs.

It would indeed be a bit more helpful to list some of the advantages you show in the video, as we don't really know what to look for.

mine is just a suggestion.
You are right. Everyone can post his opinion here. And there may be some stuff Erel can use for inspiration (although I doubt he doesn't know the VS IDE by heart already ;)).
 

By-Cod3rs

Member
Licensed User
I watched the video and have absolutely no idea what you mean. I think you might get better results if you made an actual effort to describe your wish in a concrete way rather than doing vague hand-waving in the direction of Microsoft Visual Studio.

visual studio is simple, fast, simple. All control in one page.

Erel knows visual studio. she will understand what i mean. thanks for the answer.
 

By-Cod3rs

Member
Licensed User
I also do not really get what was demonstrated in the video.

Is it the anchors you applied to the button? - B4X have anchors
Is it the dropdown for button events? - B4X has Generate Members or you can type Sub space Tab to select those options

B4a is not as user-friendly as visual studio.
one click can switch to code and design screen.
Can be done on a single page on the whole page.
Double clicking the button goes to the click event.
You access all events from a single window (you don't create plug-ins. (Click, long press)

Why do I need to create the global Private Button1 As Button and click events automatically when I add a button.

B4X:
Sub Globals
Private Button1 As Button ' Wouldn't it be faster if it was added automatically when we added a button?
End Sub
 

Sandman

Expert
Licensed User
Longtime User
It's amazing how much clearer your wish is when you actually express what you wish for, thank you.

I would suggest that most of those things are relevant for a person used to Microsoft Visual Studio (and perhaps some other IDEs too, I don't know), and are used to that way of working. Not saying it's wrong, but I am saying that I have no experience with MVS and have never had the thought of this need cross my mind. I've been entirely focused on strapping myself to my chair with a seatbelt because I feel like I can produce apps using B4X in near lightspeed. That it took two seconds more adding an event never bothered me.

That said, I do acknowledge that most things in life can be improved, and I know for a fact that Erel is continously working on this also. One of the best examples is the ability to copy a layout in one B4-product and paste it in another B4-product. BOOM - that saved me hours of work, just like that. I'm happy that he focuses on improving things that make a huge impact.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
B4a is not as user-friendly as visual studio.
This is your opinion.
As someone who works with both IDEs daily I actually prefer B4X :)

Why do I need to create the global Private Button1 As Button
Not all views should or need to be declared with a global variable. This is a bad practice to add variables for all views.
There are also several ways to add variables. You can add them as B4XViews or with their native type.

Adding events and declarations is very simple and shouldn't take more than two seconds:
B4J_7YRrylAimH.png
 

LucaMs

Expert
Licensed User
Longtime User
1580295002255.png


I too had a vague suspicion that Erel knew VS; what I didn't know is that he was a woman (I wouldn't say exactly a beautiful woman).

"Clone VS", as someone wrote... Well, imitating some useful things doesn't mean cloning; moreover, not a few things have always been "cloned", imagine life without CTRL + C - CTRL + V, if they were not practically in every software.

Rather, I would reproach Erel for not keeping up with the times; today his IDEs should accept voice commands, especially in Italian / Roman dialect.

?
 

AnandGupta

Expert
Licensed User
Longtime User
Well I do not know what to say.

Here some are complaining that B4X IDE is not user friendly.
And look at me. All these years, I have been writing codes in text editor and compiling in command lines and then running the exe to check the visual is right or not.
But B4X IDE has ruined me to such a state that I have been looking for IDE to develop and compile my Clipper codes !!

I never thought I will become a fan of IDE, thank you Erel for your hard work.

Regards,

Anand
 

sorex

Expert
Licensed User
Longtime User
one click can switch to code and design screen.

Well, I don't need to click as I do it all in code :p

you can also put the code and designer next to each other then you don't need to click to see one/both of them just like in VS.

the double click to source click event is something I requested a few years ago.
It's not added yet. Do I mis it? not really as I don't use the designer exept for B4J tools that need an interface.
but it is now also a 2 click way to get there. (right click > hover generate > click mouseClicked)

The event dropdown is handy but as B4A relies a lot on non core libs and even B4X views it will be hard to cover all those special events.
Use sub[space]tab instead to reach the events.

The ide can have some improvements but it is still you who has to write the remaining code.
 

sorex

Expert
Licensed User
Longtime User
Do you mean for regular views?

I meant in general even for non views like for example asyncstream > newdata
 

Peter Simpson

Expert
Licensed User
Longtime User
Why do I need to create the global Private Button1 As Button and click events automatically when I add a button.

B4X:
Sub Globals
Private Button1 As Button ' Wouldn't it be faster if it was added automatically when we added a button?
End Sub

You don't need to declare views or customviews manually in the code module. Once you have placed the view or customview on your layout in the designer, you can create declarations and subs in your code modules directly from within the designer. Just right click on the view you want a declaration or sub for, then click on generate(...).

Wait a minute have you watched any of these videos???
>> B4X Video Tutorials by Erel <<
You should watch them all, I did and I found them to be extremely informative...

You should watch this video, it will help you with your issue

You should 100% definitely watch this video too

Enjoy...
 
Last edited:

aeric

Expert
Licensed User
Longtime User
Can we compare B4A with Android Studio? I can’t remember well when I needed to declare a view and then findviewbyid and not to mention how I can generate the events. I can’t remember how long since I trashed that IDE (and how hard for me to learn Java). I never tried to developed using Xamarin if it is not only using C#. Not sure if it is available for VB.NET or maybe F#? I just not interested as I found B4A is far more productive and faster to develop an Android app. I prefer to use designer script than editing the layout XML.
 

Dave G

Active Member
Licensed User
I have over 20 years experience with Visual Studio (VB, VB.Net) desktop and Windows Mobile and over 6 years experience with Xamarin C# Android/Forms. Commercial applications for major retailers.

Windows Mobile is dead so no use talking about it. I converted over 20,000 lines of VB.Net Windows Mobile code to C# Android/Xamarin. The layouts are fixed and locked to portrait, so the WYSIWYG editor was useful. Created another Android/Xamarin app that required separate layouts for portrait/landscape and phone/tablet (4 total). Had to hard code AXML layouts to accomplish this (WYSIWYG useless). Converted the app to B4X/XUI and have one Shared Class with Visual Designer script that handles portrait/landscape in each layout (copy/paste). In addition, the app now works with Android, iOS and Java with minimal conditional compilation!

Double clicking on a visual component to create code is pretty useless as it only creates a default event. I prefer B4X right click technique for definitions and events since I use several events for many visual components (FocusChanged, EnterPressed, TextChanged). With Xamarin Android I had to hand code the definitions and FindByViewId declarations. B4X makes that process so much easier (e.g. copy and paste layouts and right click) . To get cross platform with Xamarin you must use Forms and text edit XAML code. Far more difficult than B4X Common Classes and copy/paste layouts (anchors, autoscale, etc). To handle orientation change in Xamarin Forms was very difficult as the only example on the internet had a bug in it that no one discovered for several years (I posted the correction to GitHub).

My only issues with B4X are not being able to develop for Android Wear because library isn't AndroidX and not being able to replicate an inclinometer I did with Xamarin Android (still trying).

Absolutely love the Hosted Build Server for iOS. I have a MacBook, but a real pain to fire it up to test and keep XCODE and Xamarin in sync. The B4XComboBox is so much better than Xamarin Forms which uses the ugly iOS Picker (slot machine spinner).

I will be using B4X for all future development. Thanks B4X community.
 
Top