View Full Version : Form Parent
sm0k3
04-23-2011, 07:13 PM
.. is there any way to set a forms parent as SMART..
Basicly i have a form .
when the form loads, up pops simba with the form over the top .
i need the form to start and simba to stay at the back and the form to open in front of SMART .
Any ideas .. ? :)
Blumblebee
04-23-2011, 08:44 PM
Freddy1990 has a tutorial about launching a form during runtime, You cannot use the SMART canvas as a parent afaik, but a runtime form is possible. (It's in tutorials for advanced if I recall correctly).
That is just a non modal form.
Richard
04-23-2011, 11:34 PM
SMART does actually have a paint function, which means you can print shapes and text directly onto the client. You can't have functions that allow clicking and such, though, as Simba (PS) doesn't support multithreading which is needed for listeners like mouse clicking.
Coh3n
04-24-2011, 05:17 AM
Freddy1990 has a tutorial about launching a form during runtime, You cannot use the SMART canvas as a parent afaik, but a runtime form is possible. (It's in tutorials for advanced if I recall correctly).
You can just call
TFrom.Visible := True;
anywhere in your script (assuming you've properly created the form, just kept it invisible).
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.