[Gambas-devel] QT Textbox bug (2)

Laurent Carlier lordheavy at ...141...
Mon Jan 3 13:06:32 CET 2005


Le Lundi 3 Janvier 2005 12:09, Daniel Campos a écrit :
> Another bug:
>
> TextBox1.Selection --> works OK, selects all text
> TextBox1.Selection.All() --> Seems to do nothing !
>
>
> Regards,
>
> D. Campos
>

The TextBox1.Selection.All() use same method as TextBox1.Selection
but i cannot detect that args are missing !

small fix :
Uncomment this :
BEGIN_METHOD_VOID(CTEXTBOX_sel_all)

  GET_TEXT_BOX();

  textbox->selectAll();

END_METHOD

change this :
GB_METHOD("All", NULL, CTEXTBOX_sel_select, NULL),
to
GB_METHOD("All", NULL, CTEXTBOX_sel_all, NULL),


-- 

Laurent Carlier




More information about the Devel mailing list