Page 1 of 1

ADDBUTTONS AND BUTTONS WITH DCREAD GUI

Posted: Tue Nov 08, 2011 1:24 pm
by digitsoft
Hello Roger
As I can appends another button using
LOCAL local aButtons := { {'E~ditar' ,70,22,{||DC_ReadGuiEvent(DCGUI_EXIT_OK,GetList) }} }


DCREAD GUI ;
EXPRESS ;
FIT ;
ADDBUTTONS ;
BUTTONS aButtons ;

Re: ADDBUTTONS AND BUTTONS WITH DCREAD GUI

Posted: Wed Nov 09, 2011 2:55 am
by Tom

Code: Select all

LOCAL aButtons := {}, GetList := {}, GetOptions := {}
aadd(aButtons,{ 'MyButton',50,12,{||MyButtonAction()},nil })
...

DCGET OPTIONS BUTTONS aButtons
DCREAD GUI ... OPTIONS GetOptions BUTTONS DCGUI_BUTTON_CUSTOM

Re: ADDBUTTONS AND BUTTONS WITH DCREAD GUI

Posted: Wed Nov 09, 2011 8:57 am
by digitsoft
Thanks for your help

Re: ADDBUTTONS AND BUTTONS WITH DCREAD GUI

Posted: Sun Nov 13, 2011 3:52 pm
by rdonnay
Thanks Tom for that answer. I forgot it myself.