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?
FANCY option with DCPUSHBUTTOM
-
- Posts: 176
- Joined: Thu Nov 05, 2020 10:51 am
- Location: DOMINICAN REPUBLIC
Re: FANCY option with DCPUSHBUTTOM
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.
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.
-
- Posts: 176
- Joined: Thu Nov 05, 2020 10:51 am
- Location: DOMINICAN REPUBLIC
Re: FANCY option with DCPUSHBUTTOM
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.
Thanks.