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:10:34
 
 
To
26/06/2006 06:07:47
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01131636
Message ID:
01131637
Views:
10
Add visible=.T.
Every object added via code, is NOT visible by default.

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform