Options dialog
-
Hello, I want to create an option dialog like Microsoft visual C# .Net option dialog which consists of a tree in left panel and a by clicking on its node left panel changes. Is there any template or sample code that I can use it. Thanks & Regards Saeideh
-
Hello, I want to create an option dialog like Microsoft visual C# .Net option dialog which consists of a tree in left panel and a by clicking on its node left panel changes. Is there any template or sample code that I can use it. Thanks & Regards Saeideh
I would create a form, then put a
TreeView
on it. Set it'sDock
property toLeft
. Then create multiplePanel
objects with different names (or create them in your form code in an array). Then, when a specificTreeNode
is selected (check in theClick
event), you show a specific Panel, and hide the others. You may want to set thePanel
'sDock
property toFull
. - Daniël Pelsmaeker -
Hello, I want to create an option dialog like Microsoft visual C# .Net option dialog which consists of a tree in left panel and a by clicking on its node left panel changes. Is there any template or sample code that I can use it. Thanks & Regards Saeideh
You should also try searching CP for option dialogs. There are several examples that work the way you want.
-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----