Hi all,
I have a modal form with several text labels. I want the text labels to underline like a URL once the mouse moves over the Label. I have checked the MouseMove Event but I'm not sure how to gain access to the underline property of the text.
Can anyone help with this?
Thank you.
Hi, have a try with
(dcl_Control_SetFontUnderline Unbenannt_Dialog1_Bezeichnung1 isNewValue [als Boolean])
Regards, Fred
Thank you Fred. :)
That works great. But, how would I go about removing the underline on MouseLeave?
Thank you.
BTW- I tried:
(while (= Flags 0)
(DCL_CONTROL_SETFONTUNDERLINE CNTRL-PNL_SoftscapeForm_GraniteLinkLabel "true")
(DCL_CONTROL_SETFONTUNDERLINE CNTRL-PNL_SoftscapeForm_GraniteLinkLabel "false")
)
The underline flashes for a while then AutoCAD Crashes. What is the correct way to do this?
Hi, put a picture box behind the labels with color -16 in background. Activate OnMouseEntered event and whenever you leave the caption you enter the picturebox, then you can remove alle the underlines from the labels.
Fred
:D
Very Clever Fred. Thank you.
(Kinda a hack, but it'll do)