Recent

Author Topic: Change the title buttons policy  (Read 3955 times)

vice

  • New Member
  • *
  • Posts: 28
Change the title buttons policy
« on: September 26, 2008, 12:56:07 pm »
I read the wiki http://wiki.lazarus.freepascal.org/Windows_CE_Development_Notes#Modal_Dialogs_and_the_OK_and_X_buttons

Code: [Select]

{$ifdef WinCE}
uses
  WinCEInt;
{$endif}
 
...
 
begin
{$ifdef WinCE}
  WinCEWidgetset.WinCETitlePolicy := tpOKButtonOnlyOnDialogs;
{$endif}
end;


But when I want to change the title buttons policy I get the error: project1.lpr(17,18) Error: identifier idents no member "WinCETitlePolicy"

Why?

Best regards,

Vice.

 

TinyPortal © 2005-2018