Re: [Lazarus] Terminal Component Available
On Tue, Apr 10, 2018 at 10:12 PM, Anthony Walter via Lazarus wrote: > I'm am starting a new thread because I've completed my task. > > Here is a terminal component for Lazarus that is easy to reuse. > > https://cache.getlazarus.org/archives/terminal.7z > > To install, make sure you're on Linux with a Gtk2 copy of Lazarus. Open > package terminaldsgn.lpk, install, and rebuild the IDE. You'll have a > TTerminal component on your pallet. Drop it on a form, press run, and you > have your own terminal program. > > Here is a longish video walk through of how it works: > > https://cache.getlazarus.org/videos/vte-finished.mp4 > > The source code is completely free, copy left, if anyone wants to reuse it. > > Notes, you need to be using Linux and have libvte for gtk2 installed to use > the component. You can be running other platforms, but you'll just see the > design time surface it you're not on Linux. > I appreciate your work. Did you ever try to make it cross platform? I only ask as I have not found a good way to embed either PowerShell or cmd.exe. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Drag (and show) images
Am 12.04.2018 um 00:02 schrieb Donald Ziesig via Lazarus: I am trying to write an app that allows me to drag images and show them while they are being dragged (like the cards in Solitaire). I have been able to drag images (showing only the drag cursor) and drop them appropriately, but I haven't been able to find any recent documentation showing the use of TDragImageList and TDragObject. The only articles that I have found are for Delphi from 2011 (which translates to Lazarus but doesn't work correctly) and some more recent that don't show the dragged image while the drag is taking place (I have that part working). I was able to show a dragged image by adding code to the DragOver event, but that seems to take more time than it should. Can anyone point me in the right direction for this? There is a sample in folder examples/dragimagelist of your Lazarus installation - maybe it gets close to what you need? -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Drag (and show) images
On 2018-04-11 23:02, Donald Ziesig via Lazarus wrote: > Can anyone point me in the right direction for this? I've never really compared LCL's drag-n-drop implementation with fpGUI's - but they might be similar in some way. Anyway, fpGUI' visual forms designer - the fpGUI's UI Designer (/uidesigner/ directory) does just that. You can drag components from the component palette to the designer form, and it shows you the drag cursor and a image of the rendered widget/component while you are dragging. Maybe that might give you some ideas - or not. The above is obviously different from dragging already placed widgets on a form - because that is simply moving the widget. Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] Drag (and show) images
Hi All! I am trying to write an app that allows me to drag images and show them while they are being dragged (like the cards in Solitaire). I have been able to drag images (showing only the drag cursor) and drop them appropriately, but I haven't been able to find any recent documentation showing the use of TDragImageList and TDragObject. The only articles that I have found are for Delphi from 2011 (which translates to Lazarus but doesn't work correctly) and some more recent that don't show the dragged image while the drag is taking place (I have that part working). I was able to show a dragged image by adding code to the DragOver event, but that seems to take more time than it should. Can anyone point me in the right direction for this? Thanks, Don Ziesig -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Lazarus translation
Am 10.04.2018 um 19:34 schrieb kapibara via Lazarus: > There is no swedish translation of Lazarus, how can I make one? > You should find a README.txt in the languages directory in your lazarus installation or just read it online at https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/languages/README.txt?view=markup&revision=48856&root=lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Encrypted connection between Lazarus and Firebird
The first question is a Firebird question. With Firebird 3, you can configure use of the Srp user authentication module and "over-the-wire" encryption. This should give you an encrypted connection between client and server. The settings for this are in the "firebird.conf" config file. This should work with all Lazarus database components that support the use of a Firebird database (e.g. IBX). As to the second question - I'll let someone else answer that one - but the answer is probably similar. Tony Whyman MWA On 11/04/18 11:25, Kamen Ketev via Lazarus wrote: Can I make an encrypted connection between Lazarus and Firebird? What components should I use? Can I make an encrypted connection between Lazarus and Microsoft SQL Server? What components should I use? Regards, Kamen -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Encrypted connection between Lazarus and Firebird
Use a socket to connect, and make it encrypted. Or ssl ... it can work on any port, not just 443. https://technet.microsoft.com/en-us/library/ms189067(v=sql.105).aspx Or you could use ssh. http://www.firebirdfaq.org/faq113/ -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Dark themed lazarus
Juha, no I mean this, reflecting this, the old way the OI handled changes: http://cache.getlazarus.org/videos/drag-inspector.mp4 The lag is visceral. Whenever an item index changes, the entire OI is invalidated. My change repaints 2 items, the previous row, and the new row. It's must faster. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Dark themed lazarus
On Thu, Apr 5, 2018 at 1:16 PM, Anthony Walter via Lazarus wrote: > So far with this change if you click, hold down the mouse, and drag up/down > quickly in the inspector the lag seems greatly reduced, as well as less CPU > usage. Do you mean to click on a property name in OI, then drag it on top of other property names? I don't see any serious lag here on my Atom CPU mini-laptop with Linux + LCL-GTK2. Besides, why would you drag the property names or values? OI does not support drag-n-drop between properties. Shortly put: I cannot reproduce. > Either way, shortly I'll submit it with a patch, a stand alone > example testing program, and let others try it for themselves. Yes please. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] Encrypted connection between Lazarus and Firebird
Can I make an encrypted connection between Lazarus and Firebird? What components should I use? Can I make an encrypted connection between Lazarus and Microsoft SQL Server? What components should I use? Regards, Kamen -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Terminal Component Available
On Wed, 11 Apr 2018, Maciej Izak via Lazarus wrote: 2018-04-11 9:18 GMT+02:00 Michael Van Canneyt via Lazarus < lazarus@lists.lazarus-ide.org>: Huh ? Slight historical misinformation here. Linux editors had this decennia before Visual Studio came up with it. Huh? What is wrong with you? Where you have historical misinformation? It is personal view. It looks similar like in VSC and probably like in many other editors in positive meaning. I cannot speak for others, but I read your statement as stating that the idea of an embedded terminal comes from VSC. If this is not what you meant, I apologize for my reaction. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Terminal Component Available
2018-04-11 9:18 GMT+02:00 Michael Van Canneyt via Lazarus < lazarus@lists.lazarus-ide.org>: > > Huh ? Slight historical misinformation here. > > Linux editors had this decennia before Visual Studio came up with it. > Huh? What is wrong with you? Where you have historical misinformation? It is personal view. It looks similar like in VSC and probably like in many other editors in positive meaning. Feel free to provide full historical context. Insane. -- Best regards, Maciej Izak -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Terminal Component Available
By the way, there is a small bug with the IDE I discovered while making this. If you dock a window, then right click and close it, or undock it, window cannot be docked again. You have to restart the IDE to be able to dock that window type. Here is a screen capture of the issue: https://cache.getlazarus.org/videos/dock-bug.mp4 -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Terminal Component Available
On Wed, 11 Apr 2018, Maciej Izak via Lazarus wrote: Very good initiative (Visual Studio Code inspired) . I wish to had this for Windows too :) Huh ? Slight historical misinformation here. Linux editors had this decennia before Visual Studio came up with it. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Terminal Component Available
Very good initiative (Visual Studio Code inspired) . I wish to had this for Windows too :) 2018-04-11 8:43 GMT+02:00 Anthony Walter via Lazarus < lazarus@lists.lazarus-ide.org>: > I updated my archive to include support for a dockable window inside the > Lazarus IDE. > > https://cache.getlazarus.org/videos/vte-embedded.mp4 > > > > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > > -- Best regards, Maciej Izak -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus