Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-08

WOL-LCL

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Prof. Roberto A. Berrospe Machin
to Thomas Edwin Santosa: I think I missed something. I write codes like this: . . Form1.ShowModal; . . Form1 is a…

Whos the developer of the Lazarus WINAPI Version?
So, you can take the WOL Library as an example for the WINAPI Version of LCL ;) I Have tested the WOL and works good, is practicly the same thing of LCL, I mean, the mode of use; but i really like to have the LCL working fine under linux and LCL working fine in WINAPI, i dont like to use two separated libraries :)

Im not good analizing pascal source code, but i thing as i can see, the WOL is very close to lazarus LCL library in the source code.. you can download WOL in
http://wol.sourceforge.net/index.html

Grettings.. LCL is the max ;)

~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Prof. Roberto A. Berrospe Machin
Florida - Uruguay
E-Mail:
MSN:
Web: http://www.binaryuniverse.com
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~

Reply by email

Thomas Edwin Santosa

Hi everyone,

I think I missed something. I write codes like this:

	.
	.
	Form1.ShowModal;
	.
	.

Form1 is a form created by New Form menu.

When I get to that line, a "TCustomForm.ShowModal is impossible' (or something like that) msg box appear.

How do I get rid of this? I mean, if ShowModal is not yet implemented (cmiiw), how can I emulate this?

TIA
Thomas (Lazarus 0.9.0 beta, FPC 1.0.10)

Reply by email

Mattias Gaertner
to Thomas Edwin Santosa
Show quoted text 17 lines
Hi everyone, I think I missed something. I write codes like this: . . Form1.ShowModal; . . Form1 is a form created by New Form menu. When I get to that line, a "TCustomForm.ShowModal is impossible' (or something like that) msg box appear. How do I get rid of this? I mean, if ShowModal is not yet implemented (cmiiw), how can I emulate this?

When you use "new form", Visible of the new form is set to true. When you create the form in the program, the form is instantly shown and can therefore not be shown modal.
Simply set Visible to false in the object inspector.

I will change the default to false like Delphi.

Mattias

Reply by email