DC_GuiAlert

This forum is for eXpress++ general support.
Post Reply
Message
Author
Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

DC_GuiAlert

#1 Post by Wolfgang Ciriack »

Hi Roger,
I like to change the Buttons in DC_GuiAlert to my special configured dcpushbuttonxp - buttons.
Can you please show me, how to change this in your function at line 2445 (_dcmenu2.prg):

Code: Select all

   FOR i:=1 TO imax
      aPushBtn[i] := XbpPushButtonEx():new( oDlg:drawingArea,, aPos, aPbSize )
I thougt of something like

Code: Select all

      aPushBtn[i] := DC_XbpPushButtonXP():new( oDlg:drawingArea,, aPos, aPbSize,,,, oBtnConf2 )
but this does not work.
_______________________
Best Regards
Wolfgang

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

Re: DC_GuiAlert

#2 Post by rdonnay »

Wolfgang -

I haven't looked at that code in 20 years.

That's one of the first functions I wrote when first moving from Clipper.
I wrote it before I even wrote eXpress++.

I would not attempt to touch that old code.

I think it would be better to write one from scratch using DC* commands.

How do you use DC_GuiAlert() ?
The eXpress train is coming - and it has more cars.

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: DC_GuiAlert

#3 Post by Wolfgang Ciriack »

Hello Roger,
thanks for your offer, i think i will rewrite my function, that uses a copy from your dc_guialert.
If i have problems with that, i come back here.
_______________________
Best Regards
Wolfgang

Post Reply