FANCY option with DCPUSHBUTTOM

This forum is for eXpress++ general support.
Post Reply
Message
Author
Diego Euri Almanzar
Posts: 155
Joined: Thu Nov 05, 2020 10:51 am
Location: DOMINICAN REPUBLIC

FANCY option with DCPUSHBUTTOM

#1 Post by Diego Euri Almanzar »

Cheers,

When using the FANCY option with the PUSH BUTTON command, a blink, or flash, is started when the mouse is over the button, after the flashes, the program aborts windows without displaying any message. How do I prevent the FANCY statement from aborting the application?

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

Re: FANCY option with DCPUSHBUTTOM

#2 Post by rdonnay »

You are using a feature that has been deprecated.

I recommend that you use DCPUSHBUTTONXP.
It can do everything you want.
It was designed based on the ownerdrawing capability of XbpPushButton(), whereas the old FANCY option of DCPUSHBUTTON was based on an XbpDialog() object. 18 years ago, this was the only way to do it in Xbase++ code.

There are many samples in \exp20\samples\buttonxp.
The eXpress train is coming - and it has more cars.

Diego Euri Almanzar
Posts: 155
Joined: Thu Nov 05, 2020 10:51 am
Location: DOMINICAN REPUBLIC

Re: FANCY option with DCPUSHBUTTOM

#3 Post by Diego Euri Almanzar »

donnay, I am very grateful for your help. Due to the pandemic, I had moved away from programming. But I'm already updating. A week ago I bought Xbase ++ 2.0, and shortly I will buy eXpress ++ 2.0

Thanks.

Post Reply