Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Active X Buttons

Status
Not open for further replies.

prustie

Programmer
Aug 6, 2001
34
GB
Hi

I am trying to use an Active X button in my system that is written in Visual Foxpro 6.0.

The one that I have had a little success with is 3D Magic.

It works fine in my first screen but then initially caused subsequent called screens to act in a very odd manner. They in fact seemed to pass control back to the original screen and close it.

I seem to have overcome this by setting focus in the INIT statement of the called screens.

So I now have nice looking buttons which I can set to my choice of colour in the INIT event but which unfortunately do not seem to recognise any of the CLICK event commands.

Does anyone know why this should be happening or know of another Active X button that works with Visual Foxpro 6.0.

I know I could update to 8.0 to get a coloured background but that will still not give me the round corners that my user wants.

Regards

Malcolm P.
 

Malcom,

Have your tried contacting the vendors of this control? They are probably in a better position to help than anyone else.

If you don't manage to get it working, you could consider using a native image control instead of a command button. That way, you can use any image, colours and text you like, as well as making it respond to clicks.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top