Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add a click procedure in a button
Message
From
07/10/2008 17:13:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/10/2008 10:24:21
Valter Molina
Molina & Nardi Ltda
Brazil
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Miscellaneous
Thread ID:
01353296
Message ID:
01353473
Views:
13
>Hello,
>I need help in applying click procedure to a button I just created usind addobject method from a container object. It happens everytime I click the right mouse button.
>I am triggering this by the mousedown event of the container. I add the button using the mouse position as left and top position.

Write the button class as a prg, compile and add from it. This works since VFP6 SP3. However it is likely that you already know what to write to 'click' at designtime, why not use a button class you created at develpment time?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform