ADDBUTTONS AND BUTTONS WITH DCREAD GUI

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
digitsoft
Posts: 461
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

ADDBUTTONS AND BUTTONS WITH DCREAD GUI

#1 Post 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 ;
Nolberto Paulino
Regards

User avatar
Tom
Posts: 1234
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: ADDBUTTONS AND BUTTONS WITH DCREAD GUI

#2 Post 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
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
digitsoft
Posts: 461
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: ADDBUTTONS AND BUTTONS WITH DCREAD GUI

#3 Post by digitsoft »

Thanks for your help
Nolberto Paulino
Regards

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: ADDBUTTONS AND BUTTONS WITH DCREAD GUI

#4 Post by rdonnay »

Thanks Tom for that answer. I forgot it myself.
The eXpress train is coming - and it has more cars.

Post Reply