Silverfrost Forums

Welcome to our forums

Curious about %lv options

22 May 2019 1:39 #23614

I am curious about this only. Not asking for a change!

I have a %lv that I would like to make un-accessible via a grey control. The documentation is clear that the tilde is not a permitted option for %lv. However, I tried it anyway. The tilde was ignored, and the error thrown that I had provided an additional winio@() parameter.

I was curious if a grey control is restricted from use since %lv is (also according to the documentation) a window. Shall I try adding a %lc and use the show/hide window functions?

Thanks, Bill

23 May 2019 12:07 #23623

Bill

%lv does not take a tilde. Also it does not fault if one is supplied but this can be fixed.

You could get the hwnd of the control via %lc and then use it in a call to EnableWindow(hwnd, v) where v is 32 bit integer with value 0 or 1.

23 May 2019 1:04 #23626

Paul, thanks. I suspected as much!

Please login to reply.