首页 文章

在Mac上的Delphi XE7(up1)中的TOpendialog出了什么问题?

提问于
浏览
4

Delphi XE7中的TOpendialog或Mac(优胜美地)上的Delphi XE7 UP1有些不对劲 . 在 Opendialog1.execute 之后,整个表单会有一些奇怪的问题,有时候应用程序会崩溃 .

我在另一台运行Mavericks的Mac上尝试了相同的应用程序,它运行正常 .

这是一个源代码 .

unit Unit1;

interface

uses
  System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
  FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls;

type
  TForm1 = class(TForm)
    Button1: TButton;
    OpenDialog1: TOpenDialog;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.fmx}

procedure TForm1.Button1Click(Sender: TObject);
begin
  OpenDialog1.Execute;
end;

end.

以下是Paserver所展示的内容:

过程控制服务器启动pid 884 exe内置2014年7月18日sentinelFunc 886 2014-12-02 21:24:19.360 Project1 [888:27602] - ImageKit错误:updateGLTextureWithBitmapData:glPixelStorei返回错误:502(subSize = [64.000000,64.000000] ] offset [704.000000,0.000000] glID:1,上下文:0x1326c930)

像这样:

enter image description here

1 回答

  • 0

    我无法在我的系统上重现此问题 . 所以我怀疑这是你的代码的问题 .

    您是否尝试过重置Mac的PRAM?如果以某种方式搞砸了,你可能会遇到类似你所描述的问题 . http://support.apple.com/kb/PH14222

相关问题