Pushbutton in main window of xdemo
Posted: Fri May 12, 2017 2:25 am
Hi,
I want some pushbuttons in the main windows of my application. I did a test with the XDEMO.PRG source.
I added the following code in xdemo.prg on line 190.
This shows the button in the screen.
When I select an option in the menu, the button stays there as you can see below.
How can I prevent this?
I want some pushbuttons in the main windows of my application. I did a test with the XDEMO.PRG source.
I added the following code in xdemo.prg on line 190.
Code: Select all
@ 50,50 dcpushbutton ;
Size 150,150 ;
Parent oDialog ;
Caption "TESTING" ;
ACTION {|o| msgbox("I'm clicked") } pixel
When I select an option in the menu, the button stays there as you can see below.
How can I prevent this?