Re: [Lazarus] Treeview Question

2020-06-30 Thread Martin Collins via lazarus
Thank you. I didn't particularly want to use QT in Lazarus but Pyside is QT only. I'll get my application up and working first I think and then maybe have a look at the treeview source for cosmetic tweaks. Writing my own wrapper for a QT widget set is beyond my capabilities but thank you anywa

[Lazarus] Dynamic Form Components - SynEdit Help Please...

2016-10-03 Thread Martin Collins via Lazarus
I apologise for emailing but need a little bit of help please. Creating form components dynamically is a new area of pascal programming for me and I have become stuck. My application is supposed to be an editor that can open multiple files for editing. I have a page control and when opening a

Re: [Lazarus] Dynamic Form Components - SynEdit Help Please...

2016-10-03 Thread Martin Collins via Lazarus
Thanks very much. I was googling about dynamically created components and that led me down the path of RTTI, to the point I became confused. Why I didn't see your answer makes me slap my face in stupidity. Thank you very much for your help. Much appreciated. Martin -- _

Re: [Lazarus] Dynamic Form Components - SynEdit Help Please...

2016-10-03 Thread Martin Collins via Lazarus
I understand now you've explained it and again slap my face in stupidity. Thank you very much indeed. Much appreciated. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Teaching Pascal at College

2016-10-13 Thread Martin Collins via Lazarus
Darn it, sounds like Graeme is describing me! I wandered into Lazarus/Free Pascal a few years ago after enjoying writing VBA code in Excel. Admittedly I always found my (VBA) code sloppy and wrote some odd code just to make things work! My coding is just a hobby that I enjoy, but I would like

[Lazarus] SQLite & DB Aware Components

2016-12-01 Thread Martin Collins via Lazarus
Hi, Using SQLite3, Lazarus 1.6.2 & FPC 3.0.0 on Peppermint Linux 7. I have a small problem when using the db aware components & sqlite. After countless googling I understand why the components do this but can not find a simple solution! (BTW I this is my first time working with DBs & SQLite seeme

Re: [Lazarus] SQLite & DB Aware Components

2016-12-01 Thread Martin Collins via Lazarus
On 01/12/16 16:15, Martin Collins via Lazarus wrote: > From what I understand, SQLite TEXT type has no set length so db aware > components treat it as a memo. Therefore when I assign a TEXT field to a > db aware component, all that appears in the component is "(MEMO)", even

Re: [Lazarus] SQLite & DB Aware Components

2016-12-02 Thread Martin Collins via Lazarus
On 02/12/16 06:13, LacaK via Lazarus wrote: >> >> Casting it as a different type in the SQL statement worked! > You are not required to that if you have declared table "mytable" as: > CREATE TABLE "mytable" ( > FileName varchar(100), > Date datetime > ) > > -Laco Thank you Laco. Just tried that

[Lazarus] Treeview question

2022-01-22 Thread Martin Collins via lazarus
Hi, I'm porting an application I started (but never finished) in Pyside to Lazarus. This question is only about cosmetics as Treeview works as I want it to. In Pyside I could set a space between nodes by setting the node text as "" and disabling that node so it never gets selection, e.g.