Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label doesn't refresh
Message
From
14/01/2003 05:06:32
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00741071
Message ID:
00741337
Views:
34
This message has been marked as a message which has helped to the initial question of the thread.
Hi!

BTW, in VFP8 label have Refresh method :-)

>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]
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform