Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Changes In Grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01062680
Message ID:
01062699
Views:
15
Ok, I have a hyperlink class based on a container, but I'm having a bit of
trouble getting it to work.

I set DynamicCurrentControl to 'cntHyperlink' in the prop sheet and it
errors out with 'Expression is invalid'





>I am not sure you would be able to achieve desired result using FontUnderline and ForeColor. May be it's better to try with DynamicCurrentControl instead.
>
>>Ok, this now works fine. Thanks Sergey & Naomi
>>
>>
>>
>>WITH This.Columns[4]
>>	
>>.DynamicForeColor = "IIF(WorkTable.Scanned OR WorkTable.Status = 'R', RGB(0,0,255), RGB(0,0,0))"
>>.DynamicFontUnderLine = "WorkTable.Scanned OR WorkTable.Status = 'R'"
>>
>>ENDWITH
>>
>>RETURN
>>
>>
>>
>>Now, the text now sorta looks like a hyperlink, except that the underline goes
>>wider than the text:
>>
>>
>> "MyCaption_____"
>>
>>
>>
>>Also, how do I change the mouse pointer this way also?
>>
>>
>>
>>
>>>You have to store expression that will be evaluated during refresh. See correction in code below.
>>>
>>>>I tried this code in the Grid's Init. No effect
>>>>
>>>>
>>>This.Columns[4].DynamicForeColor = ;
>>>  [IIF(WorkTable.Scanned OR WorkTable.Status = "R", RGB(0,0,255), RGB(0,0,0))]
>>>>
>>>>
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform