Re: [Lazarus] Visual Form Inheritance support

2014-08-08 Thread vfclists .
Does this work for frames as well?

My experience suggest that when a frame is embedded in a form at design
time, changes to the original are not propagated to the embedded version.

Is this by design, or am I missing something?


On 4 August 2014 07:22, Mattias Gaertner nc-gaert...@netcologne.de wrote:

 On Sun, 3 Aug 2014 18:41:27 -0300
 luiz americo pereira camara luiz...@oi.com.br wrote:

  Does Lazarus implements Visual Form Inheritance feature present in
 Delphi?

 Yes.
 But not all changes to the ancestor are propagated to the
 descendants in real time.
 It's recommended to close the descendants before editing the
 ancestor.


  If yes, is there an example?

 Create an application. Then create an inherited item.


 Mattias

 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




-- 
Frank Church

===
http://devblog.brahmancreations.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Visual Form Inheritance support

2014-08-08 Thread Mattias Gaertner
On Fri, 8 Aug 2014 09:39:41 +0100
vfclists . vfcli...@gmail.com wrote:

 Does this work for frames as well?

Yes.

 
 My experience suggest that when a frame is embedded in a form at design
 time, changes to the original are not propagated to the embedded version.

Yes, as I wrote. Close the descendant designers before editing the
ancestor.
Hint: 
Disable Tools / Options / Form Editor / Open designer on open unit

 
 Is this by design, or am I missing something?

It is not implemented yet.

Mattias

 
 On 4 August 2014 07:22, Mattias Gaertner nc-gaert...@netcologne.de wrote:
 
  On Sun, 3 Aug 2014 18:41:27 -0300
  luiz americo pereira camara luiz...@oi.com.br wrote:
 
   Does Lazarus implements Visual Form Inheritance feature present in
  Delphi?
 
  Yes.
  But not all changes to the ancestor are propagated to the
  descendants in real time.
  It's recommended to close the descendants before editing the
  ancestor.
 
 
   If yes, is there an example?
 
  Create an application. Then create an inherited item.
 
 
  Mattias
 
  --
  ___
  Lazarus mailing list
  Lazarus@lists.lazarus.freepascal.org
  http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
 
 
 
 

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Obtaining uptime

2014-08-08 Thread Marco van de Voort
On Wed, Aug 06, 2014 at 11:52:48AM +0200, Sven Barth wrote:
 Am 06.08.2014 11:28 schrieb Richard Mace richard.m...@gmail.com:
 
  Ah, that's interesting.
  Even if you actually choose Shutdown from the menu?
 
 Especially then. AFAIK a reboot triggers a full shutdown (with restart of
 course) and there might also be another possibility for a clean shutdown,
 but I don't remember that...

Yes, go to power options - what buttons do and turn off fast startup.

This is also needed if you have older drivers, since not all support this
(usually the same as the ones that don't support hibernation).

At work we thus turn it off by default.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Obtaining uptime

2014-08-08 Thread Marco van de Voort
On Thu, Aug 07, 2014 at 10:22:22AM +0200, Michael Schnell wrote:
 On 08/06/2014 08:05 AM, Sven Barth wrote:
 
  Just in case: you know that Windows 8 does not really shutdown by 
  default, but merely suspends to provide a faster user experience?
 
 (Off Topic: )
 
 Are they crazy ?
 
 If you have an SSD, again and again rewriting the huge hibernation file 
 will kill the device.

That's the whole idea to not do that. Only when the system changes the image
is redone. Keep in mind it doesn't save the current state (since you are
shutting down), so only the last boot state is saved, usually the one from
last patch tuesday.

(that being said, I use hibernation on SSD devices without much problems.
Usually they are specified as writing the whole space several times a day)


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Obtaining uptime

2014-08-08 Thread Reinier Olislagers
On 08/08/2014 13:56, Marco van de Voort wrote:
 On Wed, Aug 06, 2014 at 11:52:48AM +0200, Sven Barth wrote:
 Am 06.08.2014 11:28 schrieb Richard Mace richard.m...@gmail.com:

 Ah, that's interesting.
 Even if you actually choose Shutdown from the menu?

 Especially then. AFAIK a reboot triggers a full shutdown (with restart of
 course) and there might also be another possibility for a clean shutdown,
 but I don't remember that...
 
 Yes, go to power options - what buttons do and turn off fast startup.
 
 This is also needed if you have older drivers, since not all support this
 (usually the same as the ones that don't support hibernation).
 
 At work we thus turn it off by default.
 

Wow.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Obtaining uptime

2014-08-08 Thread Marco van de Voort
On Fri, Aug 08, 2014 at 02:27:37PM +0200, Reinier Olislagers wrote:
  Yes, go to power options - what buttons do and turn off fast startup.
  
  This is also needed if you have older drivers, since not all support this
  (usually the same as the ones that don't support hibernation).
  
  At work we thus turn it off by default.
 
 Wow.

Don't get me wrong. It is generally a good feature, but not for everything,
and keep in mind that industrial equipment is often a positive sounding 
synonym
for old.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus