Ecere SDK/eC Forums http://www.ecere.com/community/ Print view |
|
Window inside parent window http://www.ecere.com/community/viewtopic.php?f=5&t=340 |
Page 1 of 1 |
Author: | samsam598 [ Tue Nov 27, 2012 4:05 am ] |
Post subject: | Window inside parent window |
Hi , I made a form which mimics the file selector control,but I don't know how I can place it inside a parent form just like a Button or an EditBox? Code: Select all
|
Author: | jerome [ Tue Nov 27, 2012 1:19 pm ] |
Post subject: | Re: Window inside parent window |
Hi Sam, Why would you like to place it inside? Window containment is handled through the 'parent' property: FileDialog dlg { parent = this }; (Or just FileDialog dlg { this }, just like a control...) Whereas notifications and dialog ownership is set through the 'master' property. By default, setting parent sets master to the same value as well. You might also be interested in using a PathBox control which is for this purpose, or a DataBox with the FilePath type (Which can also be used for cells within a ListBox). Regards, Jerome |
Author: | samsam598 [ Thu Nov 29, 2012 1:00 am ] |
Post subject: | Re: Window inside parent window |
Hi Jerome, Acutally a DataBox with the FilePath type is exactly what I want.Thank you |
All times are UTC-05:00 | Page 1 of 1 |
Powered by phpBB® Forum Software © phpBB Limited |