Another pascal convert
You will find the lazarus forum helpful, but not as helpful/friendly as the LM forum.
Another pascal convert
Oh, personally I got no problems with Russian people, but seeing the context in that part of the world some people have built a certain adversity towards them generally for no reason. Mine was a friendly heads up in case you did have a problem, so as not to send you unknowingly in "unfriendly territory" so to speak.
Different tools fit best to different people. Glad you found Lazarus to your liking. Haven't heard of GAMBAS before, might have a quick look out of curiosity.As far as Lazarus is concerned, I tried it upon the recommendations over here and found that it is a very good (if not best) open source RAD platform [...] Best part is being able to compile programs for both Linux and Windows (not talking about other platforms).
Also tried GAMBAS, looks so neat and minimal but the user-base is very small. Main drawback being not able to compile the applications for Windows.
As a former Windows user I have been quite fond of AutoHotkey for many years and used a version of SmartGUI XP improved by myself, for GUI design. It produced actual code, much like wxFormsBuilder does according to BwingBob here. But as it happened Glade Builder had crossed my path earlier so I took it for a spin, and now got used to it. Anyway, it's just an alternative to take into account when you have time to play around. Whatever suits you best.Yeah, I read a lot about Glade and Python but never used it. Will give it a try too [...]
FUN := 'Linux Mint 21 Vanessa Cinnamon' + 'Php, Apache, MySQL Server' + 'Lazarus' + 'Gambas';
const Lazarus : Pascal;
const Gambas As BASIC
Well, it's easier to devote time to learn new stuff in young age but not so easy when you're like 40 or 50yo. There's some family, kids, business etc etc at that age, a bit harder to devote time and efforts to something... and just because the stuff you learned is like... IDK the word.. maybe gone? taken by someone?
FUN := 'Linux Mint 21 Vanessa Cinnamon' + 'Php, Apache, MySQL Server' + 'Lazarus' + 'Gambas';
const Lazarus : Pascal;
const Gambas As BASIC
No, I'm not talking about giving up Pascal, I said it's just different. I am trying to learn and make it compatible with my preferences using custom functions... For example, adding columns to ListView like this:BwingBob wrote: ⤴Thu Feb 08, 2024 3:15 pm Don't give up on Object Pascal too quickly, it is a great language. Anders Hejlsberg is a genius https://en.wikipedia.org/wiki/Anders_Hejlsberg and like Linus he has proven that Delphi was not just a one off since he went on to develop C# and TypeScript. I saw a lot of Delphi (Object Pascal) in C# when I used it.
Code: Select all
ListView1.ViewStyle:=vsReport;
ResetListView(ListView1); // Or maybe: lvReset(ListView1);
// Add column with Caption, Width and Alignment in one statement:
AddListViewColumn(ListView1,'First Name',120,0);
AddListViewColumn(ListView1,'Last Name',120);
// Or even some Shorter Alternative like: lvAddCol
lvAddCol(ListView1,'Age',50,2);
lvAddCol(ListView1,'DoB',120,1);
Code: Select all
ListView1.ViewStyle:=vsReport;
ResetListView(ListView1); // Or maybe: lvReset(ListView1);
// Add column with Caption, Width and Alignment in one statement:
AddListViewColumn(ListView1,'First Name',120,0);
AddListViewColumn(ListView1,'Last Name',120);
// Or even some Shorter Alternative like: lvAddCol
lvAddCol(ListView1,'Age',50,2);
lvAddCol(ListView1,'DoB',120,1);
FUN := 'Linux Mint 21 Vanessa Cinnamon' + 'Php, Apache, MySQL Server' + 'Lazarus' + 'Gambas';
const Lazarus : Pascal;
const Gambas As BASIC
Not sure I understand the question, but in my case I try to separate my application logic from the gui code as much as possible. Especially when the gui code is generated by a tool. In the Python code below I have a source file named gui.py that is the output of a tool, the code below is in a file name main.py. Using the gui tool I created the MainFrame object. In my main.py file I create the MainWindow class and inherit from the MainFrame class.No, I'm not talking about giving up Pascal, I said it's just different. I am trying to learn and make it compatible with my preferences using custom functions... For example, adding columns to ListView like this:[/code]Code: Select all
ListView1.ViewStyle:=vsReport; ResetListView(ListView1); // Or maybe: lvReset(ListView1); // Add column with Caption, Width and Alignment in one statement: AddListViewColumn(ListView1,'First Name',120,0); AddListViewColumn(ListView1,'Last Name',120); // Or even some Shorter Alternative like: lvAddCol lvAddCol(ListView1,'Age',50,2); lvAddCol(ListView1,'DoB',120,1);
Code: Select all
import gui
class MainWindow(gui.MainFrame):
"""Main Program window"""
#constructor
def __init__(self,parent):
#initialize parent class
gui.MainFrame.__init__(self,parent)
self.build_grid()
Code: Select all
Uses
Code: Select all
import
FUN := 'Linux Mint 21 Vanessa Cinnamon' + 'Php, Apache, MySQL Server' + 'Lazarus' + 'Gambas';
const Lazarus : Pascal;
const Gambas As BASIC