Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label doesn't refresh
Message
From
14/01/2003 09:52:00
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00741071
Message ID:
00741416
Views:
23
NN -
I had tested it in a form inside of a scan..endscan construct.
and inside the construct I had the label init firing. Seems a hack, but it was working.
it was working so fast i even put a wait timeout .5 line in there...
i agree - it doesn't make much sense to hack around in an init method - seems a newbie kinda thing to do - but sometimes the BFAI [brute force and ignorance] approach does work.. stay warm!
mondo regards [Bill]
>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]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform