Notifications
Clear all
[Closed] [max8] rolloutCreator and group
Nov 14, 2006 10:05 am
hello,
I am creating a rollout with the rolloutCreator.
Is there a easy way to use groupbox or group with this tool?
I like to group my interface elements with groups :
(...)
group "my group" (
(...)
)
(...)
How to do this with the rolloutCreator?
thank you,
Georg
5 Replies
Nov 14, 2006 10:05 am
I see that scripts\startup\rolloutCreator.ms defines this functions.
Can some says something about the pros and cons when overloading this functions with custom code? Has someone done this before?
Georg
Nov 14, 2006 10:05 am
it works fine.
I added a openGroup and a closeGroup function to rolloutCreatorRDG.ms.
Georg
Nov 14, 2006 10:05 am
It looks like this:
It works like this:
(
rci = rolloutCreatorRDG "rdg_rcSample" "rdg::rollout"
rci.begin()
rci.openGroup "the Group"
rci.addControl #button #theButton "theButton" paramStr:"width:140"
rci.closeGroup()
createDialog (rci.end())
)
I added these lines to a copy of the rolloutCreator.ms:
fn openGroup name = (
append str (" group \"" + name + "\"(
")
),
fn closeGroup = (
append str (" )
")
),
Georg