Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I don't see the CommandButton on the form what's wrong
Message
From
26/06/2006 06:07:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Title:
I don't see the CommandButton on the form what's wrong
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01131636
Message ID:
01131636
Views:
63
I have these classes in my project

DEFINE CLASS NavButton as CommandButton
Height = 25
Width = 25
TableAlias = ""

PROCEDURE click
if not EMPTY(this.TableAlias ) then
SELECT(this.TableAlias )
endif
ENDPROC

PROCEDURE RefreshForm
_screen.Activate.refresh
ENDPROC
ENDdefine
*-----------------------------------------------------
DEFINE CLASS NavTop as NavButton
caption = "|<"

PROCEDURE click
DODEFAULT()
GO top
this.refreshform
endproc
enddefine

and I have a form with this cod in the Init event


SET PROCEDURE TO "F:\VFP_pelemaakav\Programs\navclass.prg" additive
MyVCr = CREATEOBJECT("NavTop")


I don't see the CommandButton on the form what's wrong please let me know




thanks
Next
Reply
Map
View

Click here to load this message in the networking platform