[Gambas-devel] [Gambas-user] Expander on FPatch in the IDE

Tobias Boege tobias at ...692...
Tue Jan 29 22:21:01 CET 2013

On Sun, 27 Jan 2013, Beno?t Minisini wrote:
> Le 27/01/2013 21:38, Tobias Boege a ?crit :
> > On Sun, 27 Jan 2013, Beno?t Minisini wrote:
> >> As for selecting a project directory (second case), there is the code
> >> located in the FOpenProject dialog, but it must be factorized in some
> >> sort of "ProjectChooser" control. I will try to do it so that you can
> >> use it.
> >
> > I don't understand the FOpenProject sources anymore now :-) pchProject is a
> > DrawingArea that behaves like a ProjectChooser?
> No, pchProject is a ProjectChooser control.

Yes, very strange... My unpacked sources say it's a DrawingArea - the .form
file, too! The original archive still says it's a ProjectChooser...

Both projects work at run-time. However, I changed it back and everything is

> You can even create four steps in your wizard:
> - The first one will allow to just select between project or archive.
> - The second step will select a project and will be disabled 
> (MyWizard[1].Enabled = False) if the user want to select an archive.
> - The third step will select an archive and will be disabled if the user 
> want to select a project.
> - The fourth step is your old second step.
> The wizard automatically skips disabled steps.

It is done like this now. I wonder if there was a simpler way of centering
controls than surrounding them will all kinds of boxes. See step #1 in the
wizard... While we are at it: don't these Radiobuttons look very lonesome?


More information about the Devel mailing list