Page 1 of 1

FANCY option with DCPUSHBUTTOM

Posted: Thu Dec 10, 2020 1:19 am
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?

Re: FANCY option with DCPUSHBUTTOM

Posted: Thu Dec 10, 2020 7:22 am
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.

Re: FANCY option with DCPUSHBUTTOM

Posted: Fri Jun 18, 2021 11:06 pm
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.