使用 Pascal 构建 GUI 表单

发布于 2024-08-12 08:50:31 字数 78 浏览 12 评论 0原文

我正在模拟旧的 Macintosh(IIci) 并使用 CodeWarrior 1 Gold 68k,但是如何仅使用代码在其上设计表单?谢谢。

I'm emulating a old Macintosh(IIci) and using CodeWarrior 1 Gold 68k, but how I can design a Form on it only by using code? Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

葬シ愛 2024-08-19 08:50:31

迟到总比不到好。您将需要 Inside Macintosh 手册、Macintosh Toolbox Essentials 以及可能的更多 Macintosh Toolbox。它们以数字形式发布;您可能会在网上找到 CD 映像。 (不过,它们早于 PDF,因此您需要模拟器来读取这些文件。)

使用窗口管理器打开窗口,然后使用控制管理器在其中填充表单并处理交互。

当然,您最好使用 ResEdit,它是所有表单编辑器的鼻祖。单击并拖动以创建一个对话框,GetNewDialog 将立即帮助您开始操作。

编辑:您也可以考虑 MPW,Apple 的命令行工具链,它的曲线可能比 CodeWarrior 1 更陡,但也是人们实际使用的成熟产品;v) 。上次发布 9 年后仍然免费提供:http://developer.apple.com/tools /mpw-tools/

Better late than never. You will need the Inside Macintosh manuals, Macintosh Toolbox Essentials and possibly More Macintosh Toolbox. They were released in digital form; you might find a CD image online. (They predated PDF, though, so you'll need your emulator to read the files.)

Use the Window Manager to open a window, and the Control Manager to populate it with your form and handle interaction.

Of course, you're better off using ResEdit, the granddaddy of all form editors. Click and drag to create a dialog box, and GetNewDialog will get you going in no time.

Edit: You might also consider MPW, Apple's command-line toolchain, which might have a steeper curve than CodeWarrior 1 but also was a mature product people actually used ;v) . Still available free 9 years after the last release: http://developer.apple.com/tools/mpw-tools/ .

花开雨落又逢春i 2024-08-19 08:50:31

噢。那是旧的。我做了同样的事情,但工具略有不同。

几年前,我成功地在安装了 NetBSD 的 IIci 上使用 FPC 1.0.10 启动了 lazarus。 FPC 1.0.x 支持 m68k。

(在思考的过程中,准确地说,我将 FPC 移植到带有 68030 50 MHz 加速器 + FPU 的 IIci 上,并仅在 840AV (68040/40) 上启动/构建了 lazarus)。

Ow. That's old. I did the same thing but slightly different tools.

In years of yore, I managed to startup lazarus using FPC 1.0.10 on a IIci with NetBSD installed. FPC 1.0.x supported m68k.

(while thinking about it, to be precise I ported FPC on the IIci with a 68030 50 MHz accelerator + FPU, and started/built lazarus only on a 840AV (68040/40)).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文