Thanks Jeff!

On Thu, Aug 6, 2015 at 4:59 PM, Jeffrey R. Carter <jrcar...@acm.org> wrote:

> On 08/06/2015 08:35 AM, tony gair wrote:
> >
> > When I click a button on a gnoga UI, I do not want to the user to keep
> > clicking and to wait till the action is executed. I also want to diable
> > another button until completion. Is this a enabled / disabled property I
> can
> > use on the two buttons until the action has completed?
>
> In Gnoga.Gui.Element.Common you will find type Button_Type and
>
>    procedure Disabled (Button : in out Button_Type;
>
>                        Value  : in     Boolean := True);
>
> which appears to do what you want. If you're not dealing with a common
> Button_Type but rather with a Form button type from Gnoga.Gui.Element.Form
> (Input_Button_Type, Submit_Button_Type, Reset_Button_Type), they are all
> derived
> from Form_Element_Type, which has the same procedure.
>
> --
> Jeff Carter
> "Facts do not cease to exist because they are ignored."
> Aldous Huxley
> 134
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gnoga-list mailing list
> Gnoga-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>
------------------------------------------------------------------------------
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to