Re: [nbos] [AS]Radio Group
Charles Sykora
Tue Nov 7th, 2006

On Nov 7, 2006, at 12:05 AM, NBOS Support wrote:

> >How does the AddRadioGroup method of DialogWindow work? I cannot see
> >any way to associate radio button widgets to a particular group, and
> >there is nothing that tells how a script can check which button is
> >pressed.
>
> You can read the radio group's 'text' property to see which one is
> selected. Each radio button belongs to the radio group it as added
> to when you used 'additem'.
>
> >dialog. However, if that is the case, it appears that other 'New
> >Star Sector' properties are missing, such as 'System
> >Distribution' (Clustered or Even), System Data Generation (stars only
>
> I dont think those are tracked at all by the program after generation.
>
OK, got it, but I don't understand why Frequency is there then either.
> >Also, for a spherical sector, where is the radius of the sector
> stored?
>
> It stores it in the SizeX property of the sector.
>
> >I'd like your
> >Widget object for AlienAPI to have an 'Enabled' property by which you
> >could enable and disable dialog box options. Obviously, to make this
>
> That'd be the main problem - right now there's no facility for
> assigning additional scripts to an event. Its something I may play
> around with in FM8 (FM8 shares the Astro plugin system).
>
Now that we're on the subject of the user interface API, I cannot get
the DialogWindow 'Caption' property to do anything. The dialog box
title is always 'Celestia Import (Plug-in)' no matter what I change
the caption to (from the Plug-in name defined in the #Plug-in, I
believe).
> >Also, I have a question. The Name property of the Sector object-how
> >is it used. It always seems blank and there is no user interface to
> >set it, or am I missing something?
>
> The name will get output in the sector report, I believe. But
> otherwise the filename is used by the program more often than name is.
>
> Ed
>
> _______________________________________________
> Nbossoftware mailing list
>
>

_______________________________________________
Nbossoftware mailing list


Copyright © 2003-2007, NBOS Software. All rights reserved. 'Fractal Mapper', 'ScreenMonkey', 'Character Sketcher', 'Inspiration Pad', 'Fractal World Explorer', 'Goblin API', 'AstroSynthesis' are trademarks of NBOS Software. 'Dwarven Beserker' art by V. Shane.
Member contributed resources