Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to replace vfp native button with customized button
Message
From
14/09/2005 06:36:03
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
14/09/2005 06:31:33
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01049341
Message ID:
01049342
Views:
15
>how to replace vfp native button with customized button ?

Place new one and delete old one (copying code first of course - and change tab orders,buttonname). If you mean how to do it hacking the scx (backup and do at your own risk):
use myForm.scx
replace class with 'myButtonClass', classloc with 'c:\myCLassLibPath\myClasslibName.vcx' ;
for lower(class) == 'commandbutton' and classloc==''
use
compile form myForm
PS:You could also change with aselobj() at designtime.
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
Reply
Map
View

Click here to load this message in the networking platform