Re: [Lazarus] TForm BorderIcons

2012-09-07 Thread Vincent Snijders
2012/9/6 Martin laza...@mfriebe.de:


 Tested on Vista

 It seems exlusive to the min/max buttons. If both of them are off, then the
 ? will show

 biSystemMenu must be set, or nothing will show

Confirmed in the msdn:
http://msdn.microsoft.com/en-us/library/windows/desktop/ff700543%28v=vs.85%29.aspx
WS_EX_CONTEXTHELP cannot be used with the WS_MAXIMIZEBOX or
WS_MINIMIZEBOX styles.

Vincent

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


Re: [Lazarus] TForm BorderIcons

2012-09-07 Thread Roberto P.
2012/9/7 Vincent Snijders vincent.snijd...@gmail.com

 Confirmed in the msdn:

 http://msdn.microsoft.com/en-us/library/windows/desktop/ff700543%28v=vs.85%29.aspx
 WS_EX_CONTEXTHELP cannot be used with the WS_MAXIMIZEBOX or
 WS_MINIMIZEBOX styles.

 Vincent


...I should have save my email as a  draft, then updated the inbox, before
sending!

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


[Lazarus] TForm BorderIcons

2012-09-06 Thread Roberto P.
Hi,

I can see the option biHelp among the other TForm.BorderIcons properties.
What shall I do to have the form display the ? button? It seems that
setting the property to true is not enough.
Anyone has an example on how to handle it ?

Thanks,

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


Re: [Lazarus] TForm BorderIcons

2012-09-06 Thread Mattias Gaertner
On Thu, 6 Sep 2012 16:15:03 +0200
Roberto P. padovan...@gmail.com wrote:

 Hi,
 
 I can see the option biHelp among the other TForm.BorderIcons properties.
 What shall I do to have the form display the ? button? It seems that
 setting the property to true is not enough.
 Anyone has an example on how to handle it ?

AFAIK only MS Windows supports that.

Mattias

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


Re: [Lazarus] TForm BorderIcons

2012-09-06 Thread Roberto P.
2012/9/6 Mattias Gaertner nc-gaert...@netcologne.de

 On Thu, 6 Sep 2012 16:15:03 +0200
 Roberto P. padovan...@gmail.com wrote:

  Hi,
 
  I can see the option biHelp among the other TForm.BorderIcons properties.
  What shall I do to have the form display the ? button? It seems that
  setting the property to true is not enough.
  Anyone has an example on how to handle it ?

 AFAIK only MS Windows supports that.

 Mattias


Well, I am working on Win XP.
Fresh install of Lazarus 1.0 prepackaged installer + some extra components
from the CCR.

Before going to call for a bug, is there anyone who can try it on a blank
Form ?

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


Re: [Lazarus] TForm BorderIcons

2012-09-06 Thread Howard Page-Clark

On 06/9/12 8:21, Roberto P. wrote:


Before going to call for a bug, is there anyone who can try it on a
blank Form ?


Setting biHelp here (Win 7, 32-bit app) does not give an extra border 
icon. Presence/absence of a manifest makes no difference either.


Howard


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


Re: [Lazarus] TForm BorderIcons

2012-09-06 Thread Martin

On 06/09/2012 20:21, Roberto P. wrote:


2012/9/6 Mattias Gaertner nc-gaert...@netcologne.de 
mailto:nc-gaert...@netcologne.de


On Thu, 6 Sep 2012 16:15:03 +0200
Roberto P. padovan...@gmail.com mailto:padovan...@gmail.com
wrote:

 I can see the option biHelp among the other TForm.BorderIcons
properties.
 What shall I do to have the form display the ? button? It
seems that
 setting the property to true is not enough.

AFAIK only MS Windows supports that.


Well, I am working on Win XP.
Fresh install of Lazarus 1.0 prepackaged installer + some extra 
components from the CCR.




Tested on Vista

It seems exlusive to the min/max buttons. If both of them are off, then 
the ? will show


biSystemMenu must be set, or nothing will show
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus