Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   guicontrol.inherit(string) (https://forums.graalonline.com/forums/showthread.php?t=85993)

DustyPorViva 05-31-2009 04:46 AM

guicontrol.inherit(string)
 
control1.inherit(control2) would basically make control1 a clone of control2. It would inherit things like position, extents, and most importantly, profile.

cbk1994 05-31-2009 05:35 AM

I suppose this doesn't work?

PHP Code:

Test Test2.clone(); 

Great suggestion.

DustyPorViva 05-31-2009 05:42 AM

Nope.

Inverness 05-31-2009 07:12 AM

Quote:

Originally Posted by DustyPorViva (Post 1495572)
control1.inherit(control2) would basically make control1 a clone of control2. It would inherit things like position, extents, and most importantly, profile.

control1 = new control2("newname");


All times are GMT +2. The time now is 03:28 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.