Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label doesn't refresh
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00741071
Message ID:
00741274
Views:
25
I would not call this method Init, I would call it Refresh(). But it would require to create a label class... Also in the scan loop label caption doesn't always change correctly (though in my case thisform.lockscreen=.t. was the likely culrpit). Anyway, I'm not trying anything else out, have lots of other more pressing things to do, not to mention trying to sqeeze the time to work on some NET project...

Thanks for the suggestions, though, and for sticking with the problem...

Mondo regards (what is mondo, BTW)? :)

>ya - i remembered that now that the brick was smashed upside my skull again.
>
>in the meantime -
>i tried out something that worked..
>in the init of the label -
>
>lparameters lccaption
>this.caption = lccaption
>
>---
>then in your codeblock
>
>lcCaptionVal = m.lcOriginalCaption  + ;
>  iif(thisform.cAction = "Archive"," Archiving "," UnArchiving ") + ;
>	              alltrim(JobsFrom.JobDescrip)
>
>thisform.label.init(lcCaptionVal)
>
>seemed to work very well for me - try it again?
>mondo regards [Bill]
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform