Re: [Lazarus] Nested Components in a Form at runtime
Ondrej Pokorny via Lazarus wrote: > I didn't know you can use the object inspector to inspect > controls/components in runtime. How to enable it? Is this documented > somewhere? > > Ondrej Yes, Lazarus/examples/objectinspetor/ is an example. My tests based on this and mine is here https://github.com/afriess/LazarusBug0032919 because i am searching for a problem of using components with published interfaces, see bug 0032919: Components with published properties of type "interface" does not work, Access violation in IDE My try is to isolate the problem completly, and i found only very basically tests for the ObjectInspetor itself. If there are tests pls correct me. So i want to write code to test this without recompiling and debugging Lazarus itself. Andreas -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Nested Components in a Form at runtime
On Thu, 15 Feb 2018 22:02:21 +0100 Ondrej Pokorny via Lazaruswrote: >[...] > I didn't know you can use the object inspector to inspect > controls/components in runtime. How to enable it? Is this documented > somewhere? examples/objectinspector/ Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] TMS Web core released - based on pas2js.
Hi, Yesterday, TMS Software has released a tech preview of their "TMS Web core" product for Delphi. Now that it's official, I don't need to be secretive about it anymore :) You can read about it on their Blog (2 articles): http://www.tmssoftware.com/site/blog.asp It uses pas2js as the compiler, together with its basic RTL, inside Delphi. This is a commercial product which allows you to design your web page as you would design a Delphi application, using the Delphi form designer. It comes with a full set of widgets (components), based on their FNC components. But they also provide a wrapper around a large set of jQuery components, jqWidgets. The plan is that later on they will release a Lazarus version of their product. Of course, it would be nice if the lazarus community would attempt to make a LCL widgetset using pas2js... I think TMS Software has shown in a convincing manner that pas2js is up to the task... Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Nested Components in a Form at runtime
On 15.02.2018 19:03, Andreas Frieß via Lazarus wrote: For testing purposes, i want to create a form at runtime with chained panels - to make it simple. I use this code // Create components ATestForm := TForm.Create(nil); ATestForm.Name:= 'Main'; // Create a Panel ATestPanel := TPanel.Create(ATestForm); ATestPanel.Parent:=ATestForm; ATestPanel.Name:='PanelA'; ATestPanel.Caption:= 'Panel'; // Create in the panel a panel (to see the chain) ATestPanelSub := TPanel.Create(ATestPanel); ATestPanelSub.Parent := ATestPanel; ATestPanelSub.Name:= 'SubPanelA'; ATestPanelSub.Caption:= 'Sub Panel'; but in the ObjectInspector (used at runtime) i see only the PanelA, not the nested ATestPanel. What do i wrong or have misunderstood ? What is the differnt to Lazarus at desdigntime ? When i place there a a Pnale in a Panel it works. I didn't know you can use the object inspector to inspect controls/components in runtime. How to enable it? Is this documented somewhere? Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Nested Components in a Form at runtime
On Thu, 15 Feb 2018 19:03:37 +0100 Andreas Frieß via Lazaruswrote: > For testing purposes, i want to create a form at runtime with chained > panels - to make it simple. > > I use this code > > > // Create components > ATestForm := TForm.Create(nil); > ATestForm.Name:= 'Main'; > // Create a Panel > ATestPanel := TPanel.Create(ATestForm); > ATestPanel.Parent:=ATestForm; > ATestPanel.Name:='PanelA'; > ATestPanel.Caption:= 'Panel'; > // Create in the panel a panel (to see the chain) > ATestPanelSub := TPanel.Create(ATestPanel); Owner must be the form: ATestPanelSub := TPanel.Create(ATestForm); > ATestPanelSub.Parent := ATestPanel; > ATestPanelSub.Name:= 'SubPanelA'; > ATestPanelSub.Caption:= 'Sub Panel'; > > but in the ObjectInspector (used at runtime) i see only the PanelA, not > the nested ATestPanel. What do i wrong or have misunderstood ? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] Nested Components in a Form at runtime
For testing purposes, i want to create a form at runtime with chained panels - to make it simple. I use this code // Create components ATestForm := TForm.Create(nil); ATestForm.Name:= 'Main'; // Create a Panel ATestPanel := TPanel.Create(ATestForm); ATestPanel.Parent:=ATestForm; ATestPanel.Name:='PanelA'; ATestPanel.Caption:= 'Panel'; // Create in the panel a panel (to see the chain) ATestPanelSub := TPanel.Create(ATestPanel); ATestPanelSub.Parent := ATestPanel; ATestPanelSub.Name:= 'SubPanelA'; ATestPanelSub.Caption:= 'Sub Panel'; but in the ObjectInspector (used at runtime) i see only the PanelA, not the nested ATestPanel. What do i wrong or have misunderstood ? What is the differnt to Lazarus at desdigntime ? When i place there a a Pnale in a Panel it works. Andreas -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Can not access www.lazarus-ide.org
Now it is working, thank you :) On Wed, Feb 14, 2018 at 3:37 PM, Marc Weustink via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > Hi all, > > Due to a typo, the netmask of the network adapter was /8 instead of /24 > > Since Lazarus has IP 37.97.187.115, all 37.x.x.x traffic got routed locally > > It should work now > > Marc > > > Marc Weustink via Lazarus wrote: > >> Nope Lazarus is not blocking ip blocks. >> >> Only a few ips in the 2xx.xxx.xxx.xxx range are temporary blocked by fail >> to ban. Through trans-ip (our hoster) i've received some complaints from >> Croatia and Italy. I've tried to trace what happened but no success. >> >> Can you confirm that it happens for both http and https? >> >> If you want to help tracking this issue, please contact me directy >> >> Marc >> >> On February 13, 2018 1:44:33 PM GMT+01:00, Luca Olivetti via Lazarus < >> lazarus@lists.lazarus-ide.org> wrote: >> >>> El 13/02/18 a les 13:05, Zaher Dirkey via Lazarus ha escrit: >>> I think Lazarus site using a service that block some countries, kind >>> of >>> protecting, for me it is acting like most of sites that block my >>> country >>> "Syria" (by not responds after long delay). >>> >>> Same problem here: I can access it from work but not from home (both in >>> >>> Spain but with different providers). >>> A traceroute from home shows that packets are blocked after >>> e1-a7.r1.ams0.transip.net (157.97.168.0), connections from work go >>> through the same host, so it must be lazarus-ide.org that's blocking my >>> >>> home ip. >>> >>> It also makes the online package manager unusable from home. >>> >>> Bye >>> -- >>> Luca Olivetti >>> Wetron Automation Technology http://www.wetron.es/ >>> Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 >>> -- >>> ___ >>> Lazarus mailing list >>> Lazarus@lists.lazarus-ide.org >>> https://lists.lazarus-ide.org/listinfo/lazarus >>> >> > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > -- I am using last revision of Lazarus, FPC 3.0 on Windows8.1 Best Regards Zaher Dirkey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus